diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_CreateOrUpdate.json index fdb4fb8ecb7a..3859118ea072 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_CreateOrUpdate.json @@ -7,11 +7,19 @@ "body": {} }, "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, "201": { "body": { "location": "eastus", "properties": { - "provisioningState": "Created" + "provisioningState": "Succeeded" } } }, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Update.json index fef82b77979e..ed2a522b4df6 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Update.json @@ -11,7 +11,7 @@ "body": { "location": "eastus", "properties": { - "provisioningState": "Created" + "provisioningState": "Succeeded" } } } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json index cc92d9f50787..56849cb2517e 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json @@ -169,6 +169,12 @@ } ], "responses": { + "200": { + "description": "OK - account updated", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, "201": { "description": "Account created", "schema": { @@ -1161,12 +1167,14 @@ "activeDirectories": { "description": "Active Directories", "type": "array", - "$ref": "#/definitions/activeDirectories" + "items": { + "$ref": "#/definitions/activeDirectory" + } } } }, - "activeDirectories": { - "description": "Active Directories", + "activeDirectory": { + "description": "Active Directory", "type": "object", "properties": { "activeDirectoryId": { @@ -1527,8 +1535,14 @@ }, "exportPolicy": { "description": "Export policy rule", - "type": "array", - "$ref": "#/definitions/exportPolicyRule" + "properties": { + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/exportPolicyRule" + } + } + } }, "provisioningState": { "type": "string", @@ -1656,8 +1670,14 @@ }, "exportPolicy": { "description": "Export policy rule", - "type": "array", - "$ref": "#/definitions/exportPolicyRule" + "properties": { + "rules": { + "type": "array", + "items": { + "$ref": "#/definitions/exportPolicyRule" + } + } + } } } },