Skip to content

Commit

Permalink
network servers tenants and credential
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdickson6 committed Jun 21, 2024
1 parent 373eaee commit f108a51
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 4 deletions.
8 changes: 7 additions & 1 deletion components/examples/networkServerSuccess.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
"dateCreated": "2023-10-10T19:55:20Z",
"lastUpdated": "2023-10-10T19:56:16Z",
"enabled": true,
"visible": true
"visible": true,
"credential": {
"type": "local"
},
"tenants": [

]
}
}
8 changes: 7 additions & 1 deletion components/examples/networkServers.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@
"dateCreated": "2023-10-10T20:04:34Z",
"lastUpdated": "2023-10-10T20:07:54Z",
"enabled": true,
"visible": true
"visible": true,
"credential": {
"type": "local"
},
"tenants": [

]
}
]
}
12 changes: 12 additions & 0 deletions components/schemas/networkServer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,15 @@ properties:
type: boolean
visible:
type: boolean
credential:
$ref: creds.yaml
tenants:
type: array
items:
type: object
properties:
id:
type: integer
format: int64
name:
type: string
20 changes: 18 additions & 2 deletions components/schemas/networkServerCreateNSX.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ required:
- type
- name
- serviceUrl
- serviceUsername
- servicePassword
- zoneId
properties:
type:
Expand Down Expand Up @@ -52,3 +50,21 @@ properties:
type: integer
format: int64
description: ID of the Cloud that the NSX network server integration should be attached to.
credential:
type: object
description: 'Map containing Credential ID or the default `{"type": "local"}` which means use the values set in the local serviceUsername and servicePassword instead of associating a credential.'
properties:
type:
type: string
id:
type: integer
format: int64
tenants:
type: array
description: Array of tenant account ids that are allowed access
items:
type: object
properties:
id:
type: integer
format: int64
9 changes: 9 additions & 0 deletions components/schemas/networkServerUpdateNSX.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,12 @@ properties:
enum:
- public
- private
tenants:
type: array
description: Array of tenant account ids that are allowed access
items:
type: object
properties:
id:
type: integer
format: int64

0 comments on commit f108a51

Please sign in to comment.