# 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
No Additional Properties

##

#### Port

Type: string
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

##

#### FCPortEntry

Type: object
No Additional Properties

##

#### Id

Type: integer

##

#### Port

Type: string
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

## Any of

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

##

#### Wwpn B

## Any of

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

##

#### Target

## Any of

Type: object
Type: null

Required roles: SHARING_ISCSI_TARGET_WRITE