-
Notifications
You must be signed in to change notification settings - Fork 70
/
h_s_m_thales_net_hsm.go
32 lines (24 loc) · 1.68 KB
/
h_s_m_thales_net_hsm.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// HSMThalesNetHsm h s m thales net hsm
// swagger:model HSMThalesNetHsm
type HSMThalesNetHsm struct {
// Electronic serial number of the netHSM device. Use Thales anonkneti utility to find the netHSM ESN. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
Esn *string `json:"esn"`
// Hash of the key that netHSM device uses to authenticate itself. Use Thales anonkneti utility to find the netHSM keyhash. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
Keyhash *string `json:"keyhash"`
// Local module id of the netHSM device. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ModuleID *uint32 `json:"module_id,omitempty"`
// Priority class of the nethsm in an high availability setup. 1 is the highest priority and 100 is the lowest priority. Allowed values are 1-100. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
Priority *uint32 `json:"priority"`
// IP address of the netHSM device. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
RemoteIP *IPAddr `json:"remote_ip"`
// Port at which the netHSM device accepts the connection. Allowed values are 1-65535. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
RemotePort *uint32 `json:"remote_port,omitempty"`
}