Skip to content

Commit

Permalink
Merge pull request #8 from leonardbf/netapp-api-update-public
Browse files Browse the repository at this point in the history
NFSAAS-1644 remove mt get and add put status code
  • Loading branch information
leonardbf authored Dec 11, 2018
2 parents e64f32f + b820b48 commit 2acb8c0
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 82 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@
"body": {}
},
"responses": {
"200": {
"body": {
"location": "eastus",
"properties": {
"provisioningState": "Created",
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"serviceLevel": "Premium",
"size": 4398046511104
}
}
},
"201": {
"body": {
"location": "eastus",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@
"body": {}
},
"responses": {
"200": {
"body": {
"location": "eastus",
"properties": {
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"creationToken": "some-amazing-filepath",
"usageThreshold": 107374182400,
"serviceLevel": "Premium",
"provisioningState": "Created",
"subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
}
}
},
"201": {
"body": {
"location": "eastus",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,14 @@
}
],
"responses": {
"200": {
"description": "OK - pool updated",
"schema": {
"$ref": "#/definitions/capacityPool"
}
},
"201": {
"description": "Pool created or updated",
"description": "Pool created",
"schema": {
"$ref": "#/definitions/capacityPool"
}
Expand Down Expand Up @@ -565,8 +571,14 @@
}
],
"responses": {
"200": {
"description": "Ok - volume updated",
"schema": {
"$ref": "#/definitions/volume"
}
},
"201": {
"description": "Volume created or updated",
"description": "Volume created",
"schema": {
"$ref": "#/definitions/volume"
}
Expand Down Expand Up @@ -704,57 +716,6 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets/{mountTargetName}": {
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
},
{
"$ref": "#/parameters/ResourceGroup"
},
{
"$ref": "#/parameters/AccountName"
},
{
"$ref": "#/parameters/PoolName"
},
{
"$ref": "#/parameters/VolumeName"
},
{
"$ref": "#/parameters/MountTargetName"
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"get": {
"tags": [
"MountTargets"
],
"operationId": "MountTargets_Get",
"description": "Get a mount target",
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/mountTarget"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/error"
}
}
},
"x-ms-examples": {
"MountTargets_Get": {
"$ref": "examples/MountTargets_Get.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": {
"parameters": [
{
Expand Down

0 comments on commit 2acb8c0

Please sign in to comment.