Skip to content

Commit

Permalink
Fix property of mountTarget (#9078)
Browse files Browse the repository at this point in the history
* Fix property of mountTarget

* Added missing properties to mountTargetProperties for 2019-11-01

Co-authored-by: Audunn Baldvinsson <[email protected]>
  • Loading branch information
audunn and audunn authored Apr 17, 2020
1 parent fa820f6 commit adf5808
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1696,7 +1696,7 @@
"type": "array",
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetList"
"$ref": "#/definitions/mountTargetProperties"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,7 @@
"type": "array",
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetList"
"$ref": "#/definitions/mountTargetProperties"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1915,7 +1915,7 @@
"type": "array",
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetList"
"$ref": "#/definitions/mountTargetProperties"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,7 @@
"type": "array",
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetList"
"$ref": "#/definitions/mountTargetProperties"
}
},
"volumeType": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2151,7 +2151,7 @@
"type": "array",
"description": "List of mount targets",
"items": {
"$ref": "#/definitions/mountTargetList"
"$ref": "#/definitions/mountTargetProperties"
}
},
"volumeType": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2429,19 +2429,6 @@
}
}
},
"mountTargetList": {
"description": "List of Mount Targets",
"type": "object",
"properties": {
"value": {
"description": "A list of Mount targets",
"type": "array",
"items": {
"$ref": "#/definitions/mountTarget"
}
}
}
},
"mountTarget": {
"description": "Mount Target",
"type": "object",
Expand Down Expand Up @@ -2514,6 +2501,36 @@
"readOnly": true,
"example": "1.2.3.4"
},
"subnet": {
"title": "subnet",
"type": "string",
"description": "The subnet",
"example": "1.2.3.4"
},
"startIp": {
"title": "startIp",
"description": "The start of IPv4 address range to use when creating a new mount target",
"type": "string",
"example": "1.2.3.4"
},
"endIp": {
"title": "endIp",
"description": "The end of IPv4 address range to use when creating a new mount target",
"type": "string",
"example": "1.2.3.4"
},
"gateway": {
"title": "gateway",
"description": "The gateway of the IPv4 address range to use when creating a new mount target",
"type": "string",
"example": "1.2.3.4"
},
"netmask": {
"title": "netmask",
"description": "The netmask of the IPv4 address range to use when creating a new mount target",
"type": "string",
"example": "255.255.255.0"
},
"smbServerFqdn": {
"title": "smbServerFQDN",
"description": "The SMB server's Fully Qualified Domain Name, FQDN",
Expand Down

0 comments on commit adf5808

Please sign in to comment.