Skip to content

Commit

Permalink
[Azure Stack Hub] Add new parameters to disk and disk migration admin…
Browse files Browse the repository at this point in the history
… api (#8747)
  • Loading branch information
zyxyoshine authored Mar 26, 2020
1 parent 51e3913 commit 821359f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@
{
"$ref": "DiskMigrationJobs.json#/parameters/TargetShareParameter"
},
{
"$ref": "DiskMigrationJobs.json#/parameters/TargetScaleUnitParameter"
},
{
"$ref": "DiskMigrationJobs.json#/parameters/TargetVolumeLabelParameter"
},
{
"$ref": "DiskMigrationJobs.json#/parameters/DiskListParameter"
},
Expand Down Expand Up @@ -378,7 +384,23 @@
"description": "The target share name.",
"name": "targetShare",
"in": "query",
"required": true,
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
"TargetScaleUnitParameter": {
"description": "The target scale unit name.",
"name": "targetScaleUnit",
"in": "query",
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
"TargetVolumeLabelParameter": {
"description": "The target volume label.",
"name": "targetVolumeLabel",
"in": "query",
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
{
"$ref": "Disks.json#/parameters/SourceSharePathParameter"
},
{
"$ref": "Disks.json#/parameters/SourceScaleUnitParameter"
},
{
"$ref": "Disks.json#/parameters/SourceVolumeLabelParameter"
},
{
"$ref": "Disks.json#/parameters/DiskCountParameter"
},
Expand Down Expand Up @@ -267,13 +273,29 @@
"x-ms-parameter-location": "method"
},
"SourceSharePathParameter": {
"description": "The source share which the resource belongs to.",
"description": "The share which the resource belongs to.",
"name": "sharePath",
"in": "query",
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
"SourceScaleUnitParameter": {
"description": "The scale unit which the resource belongs to.",
"name": "scaleUnit",
"in": "query",
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
"SourceVolumeLabelParameter": {
"description": "The volume label of the volume which the resource belongs to.",
"name": "volumeLabel",
"in": "query",
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
"DiskCountParameter": {
"description": "The maximum number of disks to return.",
"name": "count",
Expand Down

0 comments on commit 821359f

Please sign in to comment.