Skip to content

Commit

Permalink
Add default responses and system data field
Browse files Browse the repository at this point in the history
  • Loading branch information
zfchen95 committed Nov 12, 2021
1 parent 7aa606a commit 0c36322
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"monitor": "true"
},
"responses": {
"200": {}
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,12 @@
"schema": {
"$ref": "#/definitions/LocalUsers"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
},
Expand Down Expand Up @@ -1754,6 +1760,12 @@
"schema": {
"$ref": "#/definitions/LocalUser"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
},
Expand Down Expand Up @@ -1803,6 +1815,12 @@
"schema": {
"$ref": "#/definitions/LocalUser"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
},
Expand Down Expand Up @@ -1837,6 +1855,15 @@
"responses": {
"200": {
"description": "OK -- Delete the local user successfully."
},
"204": {
"description": "No content -- Delete the local user successfully."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand All @@ -1847,7 +1874,7 @@
"LocalUsers"
],
"operationId": "LocalUsers_ListKeys",
"description": "List the local user keys.",
"description": "List SSH authorized keys and shared key of the local user.",
"x-ms-examples": {
"ListLocalUserKeys": {
"$ref": "./examples/LocalUserListKeys.json"
Expand Down Expand Up @@ -1876,6 +1903,12 @@
"schema": {
"$ref": "#/definitions/LocalUserKeys"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -1915,6 +1948,12 @@
"schema": {
"$ref": "#/definitions/LocalUserProperties"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -4794,6 +4833,9 @@
"$ref": "#/definitions/LocalUser"
},
"description": "The local users associated with the storage account."
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
},
"description": "List storage account local users."
Expand All @@ -4805,6 +4847,9 @@
"$ref": "#/definitions/LocalUserProperties",
"x-ms-client-flatten": true,
"description": "Storage account local user properties."
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
},
"allOf": [
Expand Down

0 comments on commit 0c36322

Please sign in to comment.