Documentation
¶
Index ¶
- type GetSnapshotV2Args
- type GetSnapshotV2Result
- type GetSnapshotV3Args
- type GetSnapshotV3Result
- type Volume
- func (r *Volume) Attachments() *pulumi.ArrayOutput
- func (r *Volume) AvailabilityZone() *pulumi.StringOutput
- func (r *Volume) ConsistencyGroupId() *pulumi.StringOutput
- func (r *Volume) Description() *pulumi.StringOutput
- func (r *Volume) EnableOnlineResize() *pulumi.BoolOutput
- func (r *Volume) ID() *pulumi.IDOutput
- func (r *Volume) ImageId() *pulumi.StringOutput
- func (r *Volume) Metadata() *pulumi.MapOutput
- func (r *Volume) Multiattach() *pulumi.BoolOutput
- func (r *Volume) Name() *pulumi.StringOutput
- func (r *Volume) Region() *pulumi.StringOutput
- func (r *Volume) Size() *pulumi.IntOutput
- func (r *Volume) SnapshotId() *pulumi.StringOutput
- func (r *Volume) SourceReplica() *pulumi.StringOutput
- func (r *Volume) SourceVolId() *pulumi.StringOutput
- func (r *Volume) URN() *pulumi.URNOutput
- func (r *Volume) VolumeType() *pulumi.StringOutput
- type VolumeArgs
- type VolumeAttach
- func (r *VolumeAttach) AttachMode() *pulumi.StringOutput
- func (r *VolumeAttach) Data() *pulumi.MapOutput
- func (r *VolumeAttach) Device() *pulumi.StringOutput
- func (r *VolumeAttach) DriverVolumeType() *pulumi.StringOutput
- func (r *VolumeAttach) HostName() *pulumi.StringOutput
- func (r *VolumeAttach) ID() *pulumi.IDOutput
- func (r *VolumeAttach) Initiator() *pulumi.StringOutput
- func (r *VolumeAttach) IpAddress() *pulumi.StringOutput
- func (r *VolumeAttach) MountPointBase() *pulumi.StringOutput
- func (r *VolumeAttach) Multipath() *pulumi.BoolOutput
- func (r *VolumeAttach) OsType() *pulumi.StringOutput
- func (r *VolumeAttach) Platform() *pulumi.StringOutput
- func (r *VolumeAttach) Region() *pulumi.StringOutput
- func (r *VolumeAttach) URN() *pulumi.URNOutput
- func (r *VolumeAttach) VolumeId() *pulumi.StringOutput
- func (r *VolumeAttach) Wwnn() *pulumi.StringOutput
- func (r *VolumeAttach) Wwpns() *pulumi.ArrayOutput
- type VolumeAttachArgs
- type VolumeAttachState
- type VolumeAttachV2
- func (r *VolumeAttachV2) AttachMode() *pulumi.StringOutput
- func (r *VolumeAttachV2) Data() *pulumi.MapOutput
- func (r *VolumeAttachV2) Device() *pulumi.StringOutput
- func (r *VolumeAttachV2) DriverVolumeType() *pulumi.StringOutput
- func (r *VolumeAttachV2) HostName() *pulumi.StringOutput
- func (r *VolumeAttachV2) ID() *pulumi.IDOutput
- func (r *VolumeAttachV2) Initiator() *pulumi.StringOutput
- func (r *VolumeAttachV2) IpAddress() *pulumi.StringOutput
- func (r *VolumeAttachV2) MountPointBase() *pulumi.StringOutput
- func (r *VolumeAttachV2) Multipath() *pulumi.BoolOutput
- func (r *VolumeAttachV2) OsType() *pulumi.StringOutput
- func (r *VolumeAttachV2) Platform() *pulumi.StringOutput
- func (r *VolumeAttachV2) Region() *pulumi.StringOutput
- func (r *VolumeAttachV2) URN() *pulumi.URNOutput
- func (r *VolumeAttachV2) VolumeId() *pulumi.StringOutput
- func (r *VolumeAttachV2) Wwnn() *pulumi.StringOutput
- func (r *VolumeAttachV2) Wwpns() *pulumi.ArrayOutput
- type VolumeAttachV2Args
- type VolumeAttachV2State
- type VolumeState
- type VolumeV1
- func (r *VolumeV1) Attachments() *pulumi.ArrayOutput
- func (r *VolumeV1) AvailabilityZone() *pulumi.StringOutput
- func (r *VolumeV1) Description() *pulumi.StringOutput
- func (r *VolumeV1) ID() *pulumi.IDOutput
- func (r *VolumeV1) ImageId() *pulumi.StringOutput
- func (r *VolumeV1) Metadata() *pulumi.MapOutput
- func (r *VolumeV1) Name() *pulumi.StringOutput
- func (r *VolumeV1) Region() *pulumi.StringOutput
- func (r *VolumeV1) Size() *pulumi.IntOutput
- func (r *VolumeV1) SnapshotId() *pulumi.StringOutput
- func (r *VolumeV1) SourceVolId() *pulumi.StringOutput
- func (r *VolumeV1) URN() *pulumi.URNOutput
- func (r *VolumeV1) VolumeType() *pulumi.StringOutput
- type VolumeV1Args
- type VolumeV1State
- type VolumeV2
- func (r *VolumeV2) Attachments() *pulumi.ArrayOutput
- func (r *VolumeV2) AvailabilityZone() *pulumi.StringOutput
- func (r *VolumeV2) ConsistencyGroupId() *pulumi.StringOutput
- func (r *VolumeV2) Description() *pulumi.StringOutput
- func (r *VolumeV2) ID() *pulumi.IDOutput
- func (r *VolumeV2) ImageId() *pulumi.StringOutput
- func (r *VolumeV2) Metadata() *pulumi.MapOutput
- func (r *VolumeV2) Name() *pulumi.StringOutput
- func (r *VolumeV2) Region() *pulumi.StringOutput
- func (r *VolumeV2) Size() *pulumi.IntOutput
- func (r *VolumeV2) SnapshotId() *pulumi.StringOutput
- func (r *VolumeV2) SourceReplica() *pulumi.StringOutput
- func (r *VolumeV2) SourceVolId() *pulumi.StringOutput
- func (r *VolumeV2) URN() *pulumi.URNOutput
- func (r *VolumeV2) VolumeType() *pulumi.StringOutput
- type VolumeV2Args
- type VolumeV2State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetSnapshotV2Args ¶ added in v0.16.4
type GetSnapshotV2Args struct { // Pick the most recently created snapshot if there // are multiple results. MostRecent interface{} // The name of the snapshot. Name interface{} // The region in which to obtain the V2 Block Storage // client. If omitted, the `region` argument of the provider is used. Region interface{} // The status of the snapshot. Status interface{} // The ID of the snapshot's volume. VolumeId interface{} }
A collection of arguments for invoking getSnapshotV2.
type GetSnapshotV2Result ¶ added in v0.16.4
type GetSnapshotV2Result struct { // The snapshot's description. Description interface{} // The snapshot's metadata. Metadata interface{} // See Argument Reference above. Name interface{} // See Argument Reference above. Region interface{} // The size of the snapshot. Size interface{} // See Argument Reference above. Status interface{} // See Argument Reference above. VolumeId interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getSnapshotV2.
func LookupSnapshotV2 ¶ added in v0.16.4
func LookupSnapshotV2(ctx *pulumi.Context, args *GetSnapshotV2Args) (*GetSnapshotV2Result, error)
Use this data source to get information about an existing snapshot.
type GetSnapshotV3Args ¶ added in v0.16.4
type GetSnapshotV3Args struct { // Pick the most recently created snapshot if there // are multiple results. MostRecent interface{} // The name of the snapshot. Name interface{} // The region in which to obtain the V3 Block Storage // client. If omitted, the `region` argument of the provider is used. Region interface{} // The status of the snapshot. Status interface{} // The ID of the snapshot's volume. VolumeId interface{} }
A collection of arguments for invoking getSnapshotV3.
type GetSnapshotV3Result ¶ added in v0.16.4
type GetSnapshotV3Result struct { // The snapshot's description. Description interface{} // The snapshot's metadata. Metadata interface{} // See Argument Reference above. Name interface{} // See Argument Reference above. Region interface{} // The size of the snapshot. Size interface{} // See Argument Reference above. Status interface{} // See Argument Reference above. VolumeId interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getSnapshotV3.
func LookupSnapshotV3 ¶ added in v0.16.4
func LookupSnapshotV3(ctx *pulumi.Context, args *GetSnapshotV3Args) (*GetSnapshotV3Result, error)
Use this data source to get information about an existing snapshot.
type Volume ¶
type Volume struct {
// contains filtered or unexported fields
}
Manages a V3 volume resource within OpenStack.
func GetVolume ¶
func GetVolume(ctx *pulumi.Context, name string, id pulumi.ID, state *VolumeState, opts ...pulumi.ResourceOpt) (*Volume, error)
GetVolume gets an existing Volume resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVolume ¶
func NewVolume(ctx *pulumi.Context, name string, args *VolumeArgs, opts ...pulumi.ResourceOpt) (*Volume, error)
NewVolume registers a new resource with the given unique name, arguments, and options.
func (*Volume) Attachments ¶
func (r *Volume) Attachments() *pulumi.ArrayOutput
If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
func (*Volume) AvailabilityZone ¶
func (r *Volume) AvailabilityZone() *pulumi.StringOutput
The availability zone for the volume. Changing this creates a new volume.
func (*Volume) ConsistencyGroupId ¶
func (r *Volume) ConsistencyGroupId() *pulumi.StringOutput
The consistency group to place the volume in.
func (*Volume) Description ¶
func (r *Volume) Description() *pulumi.StringOutput
A description of the volume. Changing this updates the volume's description.
func (*Volume) EnableOnlineResize ¶
func (r *Volume) EnableOnlineResize() *pulumi.BoolOutput
When this option is set it allows extending attached volumes. Note: updating size of an attached volume requires Cinder support for version 3.42 and a compatible storage driver.
func (*Volume) ImageId ¶
func (r *Volume) ImageId() *pulumi.StringOutput
The image ID from which to create the volume. Changing this creates a new volume.
func (*Volume) Metadata ¶
Metadata key/value pairs to associate with the volume. Changing this updates the existing volume metadata.
func (*Volume) Multiattach ¶ added in v0.16.3
func (r *Volume) Multiattach() *pulumi.BoolOutput
Allow the volume to be attached to more than one Compute instance.
func (*Volume) Name ¶
func (r *Volume) Name() *pulumi.StringOutput
A unique name for the volume. Changing this updates the volume's name.
func (*Volume) Region ¶
func (r *Volume) Region() *pulumi.StringOutput
The region in which to create the volume. If omitted, the `region` argument of the provider is used. Changing this creates a new volume.
func (*Volume) SnapshotId ¶
func (r *Volume) SnapshotId() *pulumi.StringOutput
The snapshot ID from which to create the volume. Changing this creates a new volume.
func (*Volume) SourceReplica ¶
func (r *Volume) SourceReplica() *pulumi.StringOutput
The volume ID to replicate with.
func (*Volume) SourceVolId ¶
func (r *Volume) SourceVolId() *pulumi.StringOutput
The volume ID from which to create the volume. Changing this creates a new volume.
func (*Volume) VolumeType ¶
func (r *Volume) VolumeType() *pulumi.StringOutput
The type of volume to create. Changing this creates a new volume.
type VolumeArgs ¶
type VolumeArgs struct { // The availability zone for the volume. // Changing this creates a new volume. AvailabilityZone interface{} // The consistency group to place the volume // in. ConsistencyGroupId interface{} // A description of the volume. Changing this updates // the volume's description. Description interface{} // When this option is set it allows extending // attached volumes. Note: updating size of an attached volume requires Cinder // support for version 3.42 and a compatible storage driver. EnableOnlineResize interface{} // The image ID from which to create the volume. // Changing this creates a new volume. ImageId interface{} // Metadata key/value pairs to associate with the volume. // Changing this updates the existing volume metadata. Metadata interface{} // Allow the volume to be attached to more than one Compute instance. Multiattach interface{} // A unique name for the volume. Changing this updates the // volume's name. Name interface{} // The region in which to create the volume. If // omitted, the `region` argument of the provider is used. Changing this // creates a new volume. Region interface{} // The size of the volume to create (in gigabytes). Size interface{} // The snapshot ID from which to create the volume. // Changing this creates a new volume. SnapshotId interface{} // The volume ID to replicate with. SourceReplica interface{} // The volume ID from which to create the volume. // Changing this creates a new volume. SourceVolId interface{} // The type of volume to create. // Changing this creates a new volume. VolumeType interface{} }
The set of arguments for constructing a Volume resource.
type VolumeAttach ¶
type VolumeAttach struct {
// contains filtered or unexported fields
}
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_volume_attach_v3` resource for that.
func GetVolumeAttach ¶
func GetVolumeAttach(ctx *pulumi.Context, name string, id pulumi.ID, state *VolumeAttachState, opts ...pulumi.ResourceOpt) (*VolumeAttach, error)
GetVolumeAttach gets an existing VolumeAttach resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVolumeAttach ¶
func NewVolumeAttach(ctx *pulumi.Context, name string, args *VolumeAttachArgs, opts ...pulumi.ResourceOpt) (*VolumeAttach, error)
NewVolumeAttach registers a new resource with the given unique name, arguments, and options.
func (*VolumeAttach) AttachMode ¶
func (r *VolumeAttach) AttachMode() *pulumi.StringOutput
Specify whether to attach the volume as Read-Only (`ro`) or Read-Write (`rw`). Only values of `ro` and `rw` are accepted. If left unspecified, the Block Storage API will apply a default of `rw`.
func (*VolumeAttach) Data ¶
func (r *VolumeAttach) Data() *pulumi.MapOutput
This is a map of key/value pairs that contain the connection information. You will want to pass this information to a provisioner script to finalize the connection. See below for more information.
func (*VolumeAttach) Device ¶
func (r *VolumeAttach) Device() *pulumi.StringOutput
The device to tell the Block Storage service this volume will be attached as. This is purely for informational purposes. You can specify `auto` or a device such as `/dev/vdc`.
func (*VolumeAttach) DriverVolumeType ¶
func (r *VolumeAttach) DriverVolumeType() *pulumi.StringOutput
The storage driver that the volume is based on.
func (*VolumeAttach) HostName ¶
func (r *VolumeAttach) HostName() *pulumi.StringOutput
The host to attach the volume to.
func (*VolumeAttach) ID ¶
func (r *VolumeAttach) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*VolumeAttach) Initiator ¶
func (r *VolumeAttach) Initiator() *pulumi.StringOutput
The iSCSI initiator string to make the connection.
func (*VolumeAttach) IpAddress ¶
func (r *VolumeAttach) IpAddress() *pulumi.StringOutput
The IP address of the `host_name` above.
func (*VolumeAttach) MountPointBase ¶
func (r *VolumeAttach) MountPointBase() *pulumi.StringOutput
A mount point base name for shared storage.
func (*VolumeAttach) Multipath ¶
func (r *VolumeAttach) Multipath() *pulumi.BoolOutput
Whether to connect to this volume via multipath.
func (*VolumeAttach) OsType ¶
func (r *VolumeAttach) OsType() *pulumi.StringOutput
The iSCSI initiator OS type.
func (*VolumeAttach) Platform ¶
func (r *VolumeAttach) Platform() *pulumi.StringOutput
The iSCSI initiator platform.
func (*VolumeAttach) Region ¶
func (r *VolumeAttach) Region() *pulumi.StringOutput
The region in which to obtain the V3 Block Storage client. A Block Storage client is needed to create a volume attachment. If omitted, the `region` argument of the provider is used. Changing this creates a new volume attachment.
func (*VolumeAttach) URN ¶
func (r *VolumeAttach) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*VolumeAttach) VolumeId ¶
func (r *VolumeAttach) VolumeId() *pulumi.StringOutput
The ID of the Volume to attach to an Instance.
func (*VolumeAttach) Wwnn ¶
func (r *VolumeAttach) Wwnn() *pulumi.StringOutput
A wwnn name. Used for Fibre Channel connections.
func (*VolumeAttach) Wwpns ¶
func (r *VolumeAttach) Wwpns() *pulumi.ArrayOutput
An array of wwpn strings. Used for Fibre Channel connections.
type VolumeAttachArgs ¶
type VolumeAttachArgs struct { // Specify whether to attach the volume as Read-Only // (`ro`) or Read-Write (`rw`). Only values of `ro` and `rw` are accepted. // If left unspecified, the Block Storage API will apply a default of `rw`. AttachMode interface{} // The device to tell the Block Storage service this // volume will be attached as. This is purely for informational purposes. // You can specify `auto` or a device such as `/dev/vdc`. Device interface{} // The host to attach the volume to. HostName interface{} // The iSCSI initiator string to make the connection. Initiator interface{} // The IP address of the `host_name` above. IpAddress interface{} // Whether to connect to this volume via multipath. Multipath interface{} // The iSCSI initiator OS type. OsType interface{} // The iSCSI initiator platform. Platform interface{} // The region in which to obtain the V3 Block Storage // client. A Block Storage client is needed to create a volume attachment. // If omitted, the `region` argument of the provider is used. Changing this // creates a new volume attachment. Region interface{} // The ID of the Volume to attach to an Instance. VolumeId interface{} // A wwnn name. Used for Fibre Channel connections. Wwnn interface{} // An array of wwpn strings. Used for Fibre Channel // connections. Wwpns interface{} }
The set of arguments for constructing a VolumeAttach resource.
type VolumeAttachState ¶
type VolumeAttachState struct { // Specify whether to attach the volume as Read-Only // (`ro`) or Read-Write (`rw`). Only values of `ro` and `rw` are accepted. // If left unspecified, the Block Storage API will apply a default of `rw`. AttachMode interface{} // This is a map of key/value pairs that contain the connection // information. You will want to pass this information to a provisioner // script to finalize the connection. See below for more information. Data interface{} // The device to tell the Block Storage service this // volume will be attached as. This is purely for informational purposes. // You can specify `auto` or a device such as `/dev/vdc`. Device interface{} // The storage driver that the volume is based on. DriverVolumeType interface{} // The host to attach the volume to. HostName interface{} // The iSCSI initiator string to make the connection. Initiator interface{} // The IP address of the `host_name` above. IpAddress interface{} // A mount point base name for shared storage. MountPointBase interface{} // Whether to connect to this volume via multipath. Multipath interface{} // The iSCSI initiator OS type. OsType interface{} // The iSCSI initiator platform. Platform interface{} // The region in which to obtain the V3 Block Storage // client. A Block Storage client is needed to create a volume attachment. // If omitted, the `region` argument of the provider is used. Changing this // creates a new volume attachment. Region interface{} // The ID of the Volume to attach to an Instance. VolumeId interface{} // A wwnn name. Used for Fibre Channel connections. Wwnn interface{} // An array of wwpn strings. Used for Fibre Channel // connections. Wwpns interface{} }
Input properties used for looking up and filtering VolumeAttach resources.
type VolumeAttachV2 ¶
type VolumeAttachV2 struct {
// contains filtered or unexported fields
}
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_volume_attach_v2` resource for that.
func GetVolumeAttachV2 ¶
func GetVolumeAttachV2(ctx *pulumi.Context, name string, id pulumi.ID, state *VolumeAttachV2State, opts ...pulumi.ResourceOpt) (*VolumeAttachV2, error)
GetVolumeAttachV2 gets an existing VolumeAttachV2 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVolumeAttachV2 ¶
func NewVolumeAttachV2(ctx *pulumi.Context, name string, args *VolumeAttachV2Args, opts ...pulumi.ResourceOpt) (*VolumeAttachV2, error)
NewVolumeAttachV2 registers a new resource with the given unique name, arguments, and options.
func (*VolumeAttachV2) AttachMode ¶
func (r *VolumeAttachV2) AttachMode() *pulumi.StringOutput
Specify whether to attach the volume as Read-Only (`ro`) or Read-Write (`rw`). Only values of `ro` and `rw` are accepted. If left unspecified, the Block Storage API will apply a default of `rw`.
func (*VolumeAttachV2) Data ¶
func (r *VolumeAttachV2) Data() *pulumi.MapOutput
This is a map of key/value pairs that contain the connection information. You will want to pass this information to a provisioner script to finalize the connection. See below for more information.
func (*VolumeAttachV2) Device ¶
func (r *VolumeAttachV2) Device() *pulumi.StringOutput
The device to tell the Block Storage service this volume will be attached as. This is purely for informational purposes. You can specify `auto` or a device such as `/dev/vdc`.
func (*VolumeAttachV2) DriverVolumeType ¶
func (r *VolumeAttachV2) DriverVolumeType() *pulumi.StringOutput
The storage driver that the volume is based on.
func (*VolumeAttachV2) HostName ¶
func (r *VolumeAttachV2) HostName() *pulumi.StringOutput
The host to attach the volume to.
func (*VolumeAttachV2) ID ¶
func (r *VolumeAttachV2) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*VolumeAttachV2) Initiator ¶
func (r *VolumeAttachV2) Initiator() *pulumi.StringOutput
The iSCSI initiator string to make the connection.
func (*VolumeAttachV2) IpAddress ¶
func (r *VolumeAttachV2) IpAddress() *pulumi.StringOutput
The IP address of the `host_name` above.
func (*VolumeAttachV2) MountPointBase ¶
func (r *VolumeAttachV2) MountPointBase() *pulumi.StringOutput
A mount point base name for shared storage.
func (*VolumeAttachV2) Multipath ¶
func (r *VolumeAttachV2) Multipath() *pulumi.BoolOutput
Whether to connect to this volume via multipath.
func (*VolumeAttachV2) OsType ¶
func (r *VolumeAttachV2) OsType() *pulumi.StringOutput
The iSCSI initiator OS type.
func (*VolumeAttachV2) Platform ¶
func (r *VolumeAttachV2) Platform() *pulumi.StringOutput
The iSCSI initiator platform.
func (*VolumeAttachV2) Region ¶
func (r *VolumeAttachV2) Region() *pulumi.StringOutput
The region in which to obtain the V2 Block Storage client. A Block Storage client is needed to create a volume attachment. If omitted, the `region` argument of the provider is used. Changing this creates a new volume attachment.
func (*VolumeAttachV2) URN ¶
func (r *VolumeAttachV2) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*VolumeAttachV2) VolumeId ¶
func (r *VolumeAttachV2) VolumeId() *pulumi.StringOutput
The ID of the Volume to attach to an Instance.
func (*VolumeAttachV2) Wwnn ¶
func (r *VolumeAttachV2) Wwnn() *pulumi.StringOutput
A wwnn name. Used for Fibre Channel connections.
func (*VolumeAttachV2) Wwpns ¶
func (r *VolumeAttachV2) Wwpns() *pulumi.ArrayOutput
An array of wwpn strings. Used for Fibre Channel connections.
type VolumeAttachV2Args ¶
type VolumeAttachV2Args struct { // Specify whether to attach the volume as Read-Only // (`ro`) or Read-Write (`rw`). Only values of `ro` and `rw` are accepted. // If left unspecified, the Block Storage API will apply a default of `rw`. AttachMode interface{} // The device to tell the Block Storage service this // volume will be attached as. This is purely for informational purposes. // You can specify `auto` or a device such as `/dev/vdc`. Device interface{} // The host to attach the volume to. HostName interface{} // The iSCSI initiator string to make the connection. Initiator interface{} // The IP address of the `host_name` above. IpAddress interface{} // Whether to connect to this volume via multipath. Multipath interface{} // The iSCSI initiator OS type. OsType interface{} // The iSCSI initiator platform. Platform interface{} // The region in which to obtain the V2 Block Storage // client. A Block Storage client is needed to create a volume attachment. // If omitted, the `region` argument of the provider is used. Changing this // creates a new volume attachment. Region interface{} // The ID of the Volume to attach to an Instance. VolumeId interface{} // A wwnn name. Used for Fibre Channel connections. Wwnn interface{} // An array of wwpn strings. Used for Fibre Channel // connections. Wwpns interface{} }
The set of arguments for constructing a VolumeAttachV2 resource.
type VolumeAttachV2State ¶
type VolumeAttachV2State struct { // Specify whether to attach the volume as Read-Only // (`ro`) or Read-Write (`rw`). Only values of `ro` and `rw` are accepted. // If left unspecified, the Block Storage API will apply a default of `rw`. AttachMode interface{} // This is a map of key/value pairs that contain the connection // information. You will want to pass this information to a provisioner // script to finalize the connection. See below for more information. Data interface{} // The device to tell the Block Storage service this // volume will be attached as. This is purely for informational purposes. // You can specify `auto` or a device such as `/dev/vdc`. Device interface{} // The storage driver that the volume is based on. DriverVolumeType interface{} // The host to attach the volume to. HostName interface{} // The iSCSI initiator string to make the connection. Initiator interface{} // The IP address of the `host_name` above. IpAddress interface{} // A mount point base name for shared storage. MountPointBase interface{} // Whether to connect to this volume via multipath. Multipath interface{} // The iSCSI initiator OS type. OsType interface{} // The iSCSI initiator platform. Platform interface{} // The region in which to obtain the V2 Block Storage // client. A Block Storage client is needed to create a volume attachment. // If omitted, the `region` argument of the provider is used. Changing this // creates a new volume attachment. Region interface{} // The ID of the Volume to attach to an Instance. VolumeId interface{} // A wwnn name. Used for Fibre Channel connections. Wwnn interface{} // An array of wwpn strings. Used for Fibre Channel // connections. Wwpns interface{} }
Input properties used for looking up and filtering VolumeAttachV2 resources.
type VolumeState ¶
type VolumeState struct { // If a volume is attached to an instance, this attribute will // display the Attachment ID, Instance ID, and the Device as the Instance // sees it. Attachments interface{} // The availability zone for the volume. // Changing this creates a new volume. AvailabilityZone interface{} // The consistency group to place the volume // in. ConsistencyGroupId interface{} // A description of the volume. Changing this updates // the volume's description. Description interface{} // When this option is set it allows extending // attached volumes. Note: updating size of an attached volume requires Cinder // support for version 3.42 and a compatible storage driver. EnableOnlineResize interface{} // The image ID from which to create the volume. // Changing this creates a new volume. ImageId interface{} // Metadata key/value pairs to associate with the volume. // Changing this updates the existing volume metadata. Metadata interface{} // Allow the volume to be attached to more than one Compute instance. Multiattach interface{} // A unique name for the volume. Changing this updates the // volume's name. Name interface{} // The region in which to create the volume. If // omitted, the `region` argument of the provider is used. Changing this // creates a new volume. Region interface{} // The size of the volume to create (in gigabytes). Size interface{} // The snapshot ID from which to create the volume. // Changing this creates a new volume. SnapshotId interface{} // The volume ID to replicate with. SourceReplica interface{} // The volume ID from which to create the volume. // Changing this creates a new volume. SourceVolId interface{} // The type of volume to create. // Changing this creates a new volume. VolumeType interface{} }
Input properties used for looking up and filtering Volume resources.
type VolumeV1 ¶
type VolumeV1 struct {
// contains filtered or unexported fields
}
Manages a V1 volume resource within OpenStack.
func GetVolumeV1 ¶
func GetVolumeV1(ctx *pulumi.Context, name string, id pulumi.ID, state *VolumeV1State, opts ...pulumi.ResourceOpt) (*VolumeV1, error)
GetVolumeV1 gets an existing VolumeV1 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVolumeV1 ¶
func NewVolumeV1(ctx *pulumi.Context, name string, args *VolumeV1Args, opts ...pulumi.ResourceOpt) (*VolumeV1, error)
NewVolumeV1 registers a new resource with the given unique name, arguments, and options.
func (*VolumeV1) Attachments ¶
func (r *VolumeV1) Attachments() *pulumi.ArrayOutput
If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
func (*VolumeV1) AvailabilityZone ¶
func (r *VolumeV1) AvailabilityZone() *pulumi.StringOutput
The availability zone for the volume. Changing this creates a new volume.
func (*VolumeV1) Description ¶
func (r *VolumeV1) Description() *pulumi.StringOutput
A description of the volume. Changing this updates the volume's description.
func (*VolumeV1) ImageId ¶
func (r *VolumeV1) ImageId() *pulumi.StringOutput
The image ID from which to create the volume. Changing this creates a new volume.
func (*VolumeV1) Metadata ¶
Metadata key/value pairs to associate with the volume. Changing this updates the existing volume metadata.
func (*VolumeV1) Name ¶
func (r *VolumeV1) Name() *pulumi.StringOutput
A unique name for the volume. Changing this updates the volume's name.
func (*VolumeV1) Region ¶
func (r *VolumeV1) Region() *pulumi.StringOutput
The region in which to create the volume. If omitted, the `region` argument of the provider is used. Changing this creates a new volume.
func (*VolumeV1) Size ¶
The size of the volume to create (in gigabytes). Changing this creates a new volume.
func (*VolumeV1) SnapshotId ¶
func (r *VolumeV1) SnapshotId() *pulumi.StringOutput
The snapshot ID from which to create the volume. Changing this creates a new volume.
func (*VolumeV1) SourceVolId ¶
func (r *VolumeV1) SourceVolId() *pulumi.StringOutput
The volume ID from which to create the volume. Changing this creates a new volume.
func (*VolumeV1) VolumeType ¶
func (r *VolumeV1) VolumeType() *pulumi.StringOutput
The type of volume to create. Changing this creates a new volume.
type VolumeV1Args ¶
type VolumeV1Args struct { // The availability zone for the volume. // Changing this creates a new volume. AvailabilityZone interface{} // A description of the volume. Changing this updates // the volume's description. Description interface{} // The image ID from which to create the volume. // Changing this creates a new volume. ImageId interface{} // Metadata key/value pairs to associate with the volume. // Changing this updates the existing volume metadata. Metadata interface{} // A unique name for the volume. Changing this updates the // volume's name. Name interface{} // The region in which to create the volume. If // omitted, the `region` argument of the provider is used. Changing this // creates a new volume. Region interface{} // The size of the volume to create (in gigabytes). Changing // this creates a new volume. Size interface{} // The snapshot ID from which to create the volume. // Changing this creates a new volume. SnapshotId interface{} // The volume ID from which to create the volume. // Changing this creates a new volume. SourceVolId interface{} // The type of volume to create. // Changing this creates a new volume. VolumeType interface{} }
The set of arguments for constructing a VolumeV1 resource.
type VolumeV1State ¶
type VolumeV1State struct { // If a volume is attached to an instance, this attribute will // display the Attachment ID, Instance ID, and the Device as the Instance // sees it. Attachments interface{} // The availability zone for the volume. // Changing this creates a new volume. AvailabilityZone interface{} // A description of the volume. Changing this updates // the volume's description. Description interface{} // The image ID from which to create the volume. // Changing this creates a new volume. ImageId interface{} // Metadata key/value pairs to associate with the volume. // Changing this updates the existing volume metadata. Metadata interface{} // A unique name for the volume. Changing this updates the // volume's name. Name interface{} // The region in which to create the volume. If // omitted, the `region` argument of the provider is used. Changing this // creates a new volume. Region interface{} // The size of the volume to create (in gigabytes). Changing // this creates a new volume. Size interface{} // The snapshot ID from which to create the volume. // Changing this creates a new volume. SnapshotId interface{} // The volume ID from which to create the volume. // Changing this creates a new volume. SourceVolId interface{} // The type of volume to create. // Changing this creates a new volume. VolumeType interface{} }
Input properties used for looking up and filtering VolumeV1 resources.
type VolumeV2 ¶
type VolumeV2 struct {
// contains filtered or unexported fields
}
Manages a V2 volume resource within OpenStack.
func GetVolumeV2 ¶
func GetVolumeV2(ctx *pulumi.Context, name string, id pulumi.ID, state *VolumeV2State, opts ...pulumi.ResourceOpt) (*VolumeV2, error)
GetVolumeV2 gets an existing VolumeV2 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVolumeV2 ¶
func NewVolumeV2(ctx *pulumi.Context, name string, args *VolumeV2Args, opts ...pulumi.ResourceOpt) (*VolumeV2, error)
NewVolumeV2 registers a new resource with the given unique name, arguments, and options.
func (*VolumeV2) Attachments ¶
func (r *VolumeV2) Attachments() *pulumi.ArrayOutput
If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.
func (*VolumeV2) AvailabilityZone ¶
func (r *VolumeV2) AvailabilityZone() *pulumi.StringOutput
The availability zone for the volume. Changing this creates a new volume.
func (*VolumeV2) ConsistencyGroupId ¶
func (r *VolumeV2) ConsistencyGroupId() *pulumi.StringOutput
The consistency group to place the volume in.
func (*VolumeV2) Description ¶
func (r *VolumeV2) Description() *pulumi.StringOutput
A description of the volume. Changing this updates the volume's description.
func (*VolumeV2) ImageId ¶
func (r *VolumeV2) ImageId() *pulumi.StringOutput
The image ID from which to create the volume. Changing this creates a new volume.
func (*VolumeV2) Metadata ¶
Metadata key/value pairs to associate with the volume. Changing this updates the existing volume metadata.
func (*VolumeV2) Name ¶
func (r *VolumeV2) Name() *pulumi.StringOutput
A unique name for the volume. Changing this updates the volume's name.
func (*VolumeV2) Region ¶
func (r *VolumeV2) Region() *pulumi.StringOutput
The region in which to create the volume. If omitted, the `region` argument of the provider is used. Changing this creates a new volume.
func (*VolumeV2) Size ¶
The size of the volume to create (in gigabytes). Changing this creates a new volume.
func (*VolumeV2) SnapshotId ¶
func (r *VolumeV2) SnapshotId() *pulumi.StringOutput
The snapshot ID from which to create the volume. Changing this creates a new volume.
func (*VolumeV2) SourceReplica ¶
func (r *VolumeV2) SourceReplica() *pulumi.StringOutput
The volume ID to replicate with.
func (*VolumeV2) SourceVolId ¶
func (r *VolumeV2) SourceVolId() *pulumi.StringOutput
The volume ID from which to create the volume. Changing this creates a new volume.
func (*VolumeV2) VolumeType ¶
func (r *VolumeV2) VolumeType() *pulumi.StringOutput
The type of volume to create. Changing this creates a new volume.
type VolumeV2Args ¶
type VolumeV2Args struct { // The availability zone for the volume. // Changing this creates a new volume. AvailabilityZone interface{} // The consistency group to place the volume // in. ConsistencyGroupId interface{} // A description of the volume. Changing this updates // the volume's description. Description interface{} // The image ID from which to create the volume. // Changing this creates a new volume. ImageId interface{} // Metadata key/value pairs to associate with the volume. // Changing this updates the existing volume metadata. Metadata interface{} // A unique name for the volume. Changing this updates the // volume's name. Name interface{} // The region in which to create the volume. If // omitted, the `region` argument of the provider is used. Changing this // creates a new volume. Region interface{} // The size of the volume to create (in gigabytes). Changing // this creates a new volume. Size interface{} // The snapshot ID from which to create the volume. // Changing this creates a new volume. SnapshotId interface{} // The volume ID to replicate with. SourceReplica interface{} // The volume ID from which to create the volume. // Changing this creates a new volume. SourceVolId interface{} // The type of volume to create. // Changing this creates a new volume. VolumeType interface{} }
The set of arguments for constructing a VolumeV2 resource.
type VolumeV2State ¶
type VolumeV2State struct { // If a volume is attached to an instance, this attribute will // display the Attachment ID, Instance ID, and the Device as the Instance // sees it. Attachments interface{} // The availability zone for the volume. // Changing this creates a new volume. AvailabilityZone interface{} // The consistency group to place the volume // in. ConsistencyGroupId interface{} // A description of the volume. Changing this updates // the volume's description. Description interface{} // The image ID from which to create the volume. // Changing this creates a new volume. ImageId interface{} // Metadata key/value pairs to associate with the volume. // Changing this updates the existing volume metadata. Metadata interface{} // A unique name for the volume. Changing this updates the // volume's name. Name interface{} // The region in which to create the volume. If // omitted, the `region` argument of the provider is used. Changing this // creates a new volume. Region interface{} // The size of the volume to create (in gigabytes). Changing // this creates a new volume. Size interface{} // The snapshot ID from which to create the volume. // Changing this creates a new volume. SnapshotId interface{} // The volume ID to replicate with. SourceReplica interface{} // The volume ID from which to create the volume. // Changing this creates a new volume. SourceVolId interface{} // The type of volume to create. // Changing this creates a new volume. VolumeType interface{} }
Input properties used for looking up and filtering VolumeV2 resources.