func GetVolumeAttachV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeAttachV2State, opts ...pulumi.ResourceOption) (*VolumeAttachV2, error) {
	var resource VolumeAttachV2
	err := ctx.ReadResource("openstack:blockstorage/volumeAttachV2:VolumeAttachV2", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// 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).
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).
// 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 GetVolumeAttachV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeAttachV2State, opts ...pulumi.ResourceOption) (*VolumeAttachV2, error) {
	var resource VolumeAttachV2
	err := ctx.ReadResource("openstack:blockstorage/volumeAttachV2:VolumeAttachV2", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetVolumeAttachV2 ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * VolumeAttachV2State , opts ... pulumi . ResourceOption ) ( * VolumeAttachV2 , error ) { var resource VolumeAttachV2 err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
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).
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 ) .