GuestfsDiskCreate: Libguestfs GObject Bindings Reference Manual

## GuestfsDiskCreate GuestfsDiskCreate — An object encapsulating optional arguments for guestfs_session_disk_create |

## Functions

GuestfsDiskCreate * | guestfs_disk_create_new ()

## Properties

gchar * | backingfile | Read / Write / Construct
gchar * | backingformat | Read / Write / Construct
gint | clustersize | Read / Write / Construct
gchar * | compat | Read / Write / Construct
gchar * | preallocation | Read / Write / Construct

## Types and Values

struct | GuestfsDiskCreate
struct | GuestfsDiskCreateClass

## Object Hierarchy

        GObject
        ╰── GuestfsDiskCreate

## Includes

    #include <guestfs-gobject.h>

## Description

An object encapsulating optional arguments for guestfs_session_disk_create

## Functions

### guestfs_disk_create_new ()

    GuestfsDiskCreate *
    guestfs_disk_create_new (void);

Create a new GuestfsDiskCreate object

#### Returns

a new GuestfsDiskCreate object.

[transfer full]

## Types and Values

### struct GuestfsDiskCreate

    struct GuestfsDiskCreate;

An object encapsulating optional arguments for guestfs_session_disk_create.

### struct GuestfsDiskCreateClass

    struct GuestfsDiskCreateClass {
      GObjectClass parent_class;
    };

A class metadata object for GuestfsDiskCreate.

#### Members

## Property Details

### The `“backingfile”` property

      “backingfile”              gchar *

A string.

Flags: Read / Write / Construct

Default value: NULL

### The `“backingformat”` property

      “backingformat”            gchar *

A string.

Flags: Read / Write / Construct

Default value: NULL

### The `“clustersize”` property

      “clustersize”              gint

A 32-bit integer.

Flags: Read / Write / Construct

Default value: -1

### The `“compat”` property

      “compat”                   gchar *

A string.

Flags: Read / Write / Construct

Default value: NULL

### The `“preallocation”` property

      “preallocation”            gchar *

A string.

Flags: Read / Write / Construct

Default value: NULL