Skip to content

Commit

Permalink
Resource and property changes (Azure#4766)
Browse files Browse the repository at this point in the history
* NFSAAS-1505 minor update and validation fixes

* NFSAAS-1505 bring in line with RP

Put (and patch) for snapshots.
Service level definition changes.

* NFSAAS-1505 correct resource reference and limits

* NFSAAS-1505 resource and property changes

Incorrect pool resource reference
Name elements of property not required
Correction to return status code

* NFSAAS-1505 status codes

* NFSAAS-1505 tidy up examples

* NFSAAS-1505 tidy up examples
  • Loading branch information
leonardbf authored and AnuTalluri committed Feb 6, 2019
1 parent 03605e4 commit 957fc46
Show file tree
Hide file tree
Showing 19 changed files with 217 additions and 128 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
"body": {}
},
"responses": {
"200": {
"201": {
"body": {
"location": "eastus",
"properties": {
"accountId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"provisioningState": "Created"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"body": {
"location": "eastus",
"properties": {
"accountId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"provisioningState": "Created"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
{
"location": "eastus",
"properties": {
"accountId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"provisioningState": "Created"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"body": {
"location": "eastus",
"properties": {
"accountId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"provisioningState": "Created"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"properties": {
"endIp": "1.2.3.4",
"mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"name": "mountTarget1",
"startIp": "1.2.3.4",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"vlanId": 1337,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"properties": {
"endIp": "1.2.3.4",
"mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"name": "mountTarget1",
"startIp": "1.2.3.4",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"vlanId": 1337,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@
"body": {}
},
"responses": {
"200": {
"201": {
"body": {
"location": "eastus",
"properties": {
"accountId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"provisioningState": "Created",
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"serviceLevel": "Premium",
"size": 12345
"size": 4398046511104
}
}
},
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
"body": {
"location": "eastus",
"properties": {
"accountId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"provisioningState": "Created",
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"serviceLevel": "Premium",
"size": 12345
"size": 4398046511104
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
{
"location": "eastus",
"properties": {
"accountId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"provisioningState": "Created",
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"serviceLevel": "Premium",
"size": 12345
"size": 4398046511104
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
"body": {
"location": "eastus",
"properties": {
"accountId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"provisioningState": "Created",
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"serviceLevel": "Premium",
"size": 12345
"size": 4398046511104
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroup": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
"api-version": "2017-08-15",
"body": {}
},
"responses": {
"201": {
"body": {
"location": "eastus",
"properties": {
"snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"creationDate": "2017-08-15T13:23:33Z",
"provisioningState": "Created"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"creationDate": "2017-08-15T13:23:33Z",
"name": "snapshot1",
"provisioningState": "Created"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"creationDate": "2017-08-15T13:23:33Z",
"name": "snapshot1",
"provisioningState": "Created"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroup": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
"api-version": "2017-08-15",
"body": {}
},
"responses": {
"200": {
"body": {
"location": "eastus",
"properties": {
"snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"creationDate": "2017-08-15T13:23:33Z",
"provisioningState": "Created"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@
"body": {}
},
"responses": {
"200": {
"201": {
"body": {
"location": "eastus",
"properties": {
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"name": "myvolume",
"creationToken": "some-amazing-filepath",
"usageThreshold": 101010,
"usageThreshold": 107374182400,
"serviceLevel": "Premium",
"provisioningState": "Created",
"subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroup/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
"subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
"location": "eastus",
"properties": {
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"name": "myvolume",
"creationToken": "some-amazing-filepath",
"usageThreshold": 101010,
"usageThreshold": 107374182400,
"serviceLevel": "Premium",
"provisioningState": "Created",
"subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroup/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
"subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
"location": "eastus",
"properties": {
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"name": "myvolume",
"creationToken": "some-amazing-filepath",
"usageThreshold": 101010,
"usageThreshold": 107374182400,
"serviceLevel": "Premium",
"provisioningState": "Created",
"subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroup/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
"subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
"location": "eastus",
"properties": {
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"name": "myvolume",
"creationToken": "some-amazing-filepath",
"usageThreshold": 101010,
"usageThreshold": 107374182400,
"serviceLevel": "Premium",
"provisioningState": "Created"
}
Expand Down
Loading

0 comments on commit 957fc46

Please sign in to comment.