Add Patch Support (#23591)

* add patch support

* docs and cleanup

* one more doc
This commit is contained in:
Christopher Suh
2023-07-03 12:44:19 -07:00
committed by GitHub
parent 03af3c82d1
commit 831b9eecc2
3 changed files with 31 additions and 8 deletions

View File

@@ -274,7 +274,8 @@ declare module 'azurecore' {
GET,
PUT,
POST,
DELETE
DELETE,
PATCH
}
/**
@@ -314,8 +315,8 @@ declare module 'azurecore' {
* @param account The azure account used to acquire access token
* @param subscription The subscription under azure account where the service will perform operations.
* @param path The path for the service starting from '/subscription/..'. See https://docs.microsoft.com/rest/api/azure/.
* @param requestType Http request method. Currently GET, PUT, POST and DELETE methods are supported.
* @param requestBody Optional request body to be used in PUT and POST requests.
* @param requestType Http request method. Currently GET, PUT, POST, DELETE, and PATCH methods are supported.
* @param requestBody Optional request body to be used in PUT, POST, and PATCH requests.
* @param ignoreErrors When this flag is set the method will not throw any runtime or service errors and will return the errors in errors array.
* @param host Use this to override the host. The default host is https://management.azure.com
* @param requestHeaders Provide additional request headers