# fc.fc_host.update

Update FC host id.

alias is a user-readable name for FC host port.

wwpn is the WWPN in naa format (Controller A if HA)

wwpn_b is the WWPN in naa format (Controller B, only applicable for HA)

npiv is the number of NPIV hosts to allow for this FC host.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: integer

ID of the Fibre Channel host to update.

##### Parameter 2: fc_host_update

#### fc_host_update

Type: object

Updated Fibre Channel host configuration data.

No Additional Properties

##

#### Alias

Type: string

Human-readable alias for the Fibre Channel host.

Must match regular expression: `^[a-zA-Z0-9,\-_:]+$`

Must be at least `1` characters long

Must be at most `32` 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

##

#### Npiv

Type: integer

Number of N_Port ID Virtualization (NPIV) virtual ports to create.

##

#### FCHostEntry

Type: object

The updated Fibre Channel host configuration.

No Additional Properties

##

#### Id

Type: integer

Unique identifier for the Fibre Channel host configuration.

##

#### Alias

Type: string

Human-readable alias for the Fibre Channel host.

Must match regular expression: `^[a-zA-Z0-9,\-_:]+$`

Must be at least `1` characters long

Must be at most `32` characters long

##

#### Wwpn

Default: null

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

Default: null

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

##

#### Npiv

Type: integer Default: 0

Number of N_Port ID Virtualization (NPIV) virtual ports to create.

Required roles: SHARING_ISCSI_TARGET_WRITE