# iscsi.targetextent.create

Create an Associated Target.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: iscsi_target_to_extent_create

#### iscsi_target_to_extent_create

Type: object

Target-to-extent association configuration data for creation.

No Additional Properties

##

#### Target

Type: integer

ID of the iSCSI target to associate with the extent.

##

#### Lunid

Default: null

LUN ID to assign or `null` to auto-assign the next available LUN.

## Any of

Type: integer
Type: null

##

#### Extent

Type: integer

ID of the iSCSI extent to associate with the target.

##

#### iSCSITargetToExtentEntry

Type: object

The created target-to-extent association.

No Additional Properties

##

#### Id

Type: integer

Unique identifier for the target-to-extent association.

##

#### Target

Type: integer

ID of the iSCSI target to associate with the extent.

##

#### Lunid

Type: integer

Logical Unit Number (LUN) ID for presenting the extent to the target.

##

#### Extent

Type: integer

ID of the iSCSI extent to associate with the target.

Required roles: SHARING_ISCSI_TARGETEXTENT_WRITE