# fcport.create

Creates mapping between a FC port and a target.

port is a FC host port alias, or alias/number for a NPIV port.

target_id is the id of the target to be associated with the FC port.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: fc_Port_create

#### fc_Port_create

Type: object

Fibre Channel port configuration data for the new port.

No Additional Properties

##

#### Port

Type: string

Alias name for the Fibre Channel port.

Must match regular expression: `^[a-zA-Z0-9,\-_:]+(/[1-9][0-9]*)?$`

Must be at least `1` characters long

Must be at most `40` characters long

##

#### Target Id

Type: integer

ID of the target to associate with this FC port.

##

#### FCPortEntry

Type: object

The created Fibre Channel port configuration.

No Additional Properties

##

#### Id

Type: integer

Unique identifier for the Fibre Channel port configuration.

##

#### Port

Type: string

Alias name for the Fibre Channel port.

Must match regular expression: `^[a-zA-Z0-9,\-_:]+(/[1-9][0-9]*)?$`

Must be at least `1` characters long

Must be at most `40` characters long

##

#### Wwpn

World Wide Port Name for port A or `null` if not configured.

## Any of

Type: string
Must match regular expression: `^naa.[0-9a-fA-F]{16}$`
Type: null

##

#### Wwpn B

World Wide Port Name for port B or `null` if not configured.

## Any of

Type: string
Must match regular expression: `^naa.[0-9a-fA-F]{16}$`
Type: null

##

#### Target

Target configuration object or `null` if not configured.

## Any of

Type: object
Type: null

Required roles: SHARING_ISCSI_TARGET_WRITE