Skip to content

Commit

Permalink
reooming for network servers, zoneId is required
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdickson6 committed Oct 11, 2023
1 parent 7948770 commit 4f05ef2
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
3 changes: 2 additions & 1 deletion components/examples/networkServerCreateNSX.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"name": "Labs NSX",
"serviceUrl": "https://nsxt-server",
"serviceUsername": "username",
"servicePassword": "password"
"servicePassword": "password",
"zoneId": 121
}
}
35 changes: 35 additions & 0 deletions components/schemas/networkServer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ properties:
format: int64
name:
type: string
type:
type: string
description: Integration Type Code
integrationType:
type: object
description: Integration Type
properties:
id:
type: integer
format: int64
code:
type: string
name:
type: string
nullable: true
nullable: true
account:
type: object
Expand Down Expand Up @@ -112,6 +127,21 @@ properties:
type: string
format: date-time
nullable: true
lastSync:
type: string
format: date-time
description: Last Sync Date
nullable: true
nextRunDate:
type: string
format: date-time
description: Next Run Date
nullable: true
lastSyncDuration:
type: integer
format: int64
description: Last Sync Duration in milliseconds
nullable: true
config:
type: object
description: Config object varies with network server type.
Expand All @@ -123,6 +153,11 @@ properties:
type: string
description: Tenant Match
nullable: true
zoneId:
type: integer
format: int64
description: Cloud ID
nullable: true
dateCreated:
type: string
format: date-time
Expand Down
7 changes: 6 additions & 1 deletion components/schemas/networkServerCreateNSX.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ required:
- serviceUrl
- serviceUsername
- servicePassword
- zoneId
properties:
type:
type: string
Expand Down Expand Up @@ -38,4 +39,8 @@ properties:
default: private
enum:
- public
- private
- private
zoneId:
type: integer
format: int64
description: ID of the Cloud that the NSX network server integration should be attached to.

0 comments on commit 4f05ef2

Please sign in to comment.