你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
KeysController.Put 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Put(String, Key) | |
Put(String, String, Key) |
Put(String, Key)
[System.Web.Http.HttpPut]
[System.Web.Http.Route("admin/host/{keys:regex(^(keys|functionkeys|systemkeys)$)}/{keyName}")]
public System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult> Put (string keyName, Microsoft.Azure.WebJobs.Script.WebHost.Key key);
[<System.Web.Http.HttpPut>]
[<System.Web.Http.Route("admin/host/{keys:regex(^(keys|functionkeys|systemkeys)$)}/{keyName}")>]
member this.Put : string * Microsoft.Azure.WebJobs.Script.WebHost.Key -> System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult>
Public Function Put (keyName As String, key As Key) As Task(Of IHttpActionResult)
参数
- keyName
- String
- key
- Key
返回
Task<System.Web.Http.IHttpActionResult>
- 属性
-
System.Web.Http.HttpPutAttribute System.Web.Http.RouteAttribute
适用于
Put(String, String, Key)
[System.Web.Http.HttpPut]
[System.Web.Http.Route("admin/functions/{name}/keys/{keyName}")]
public System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult> Put (string name, string keyName, Microsoft.Azure.WebJobs.Script.WebHost.Key key);
[<System.Web.Http.HttpPut>]
[<System.Web.Http.Route("admin/functions/{name}/keys/{keyName}")>]
member this.Put : string * string * Microsoft.Azure.WebJobs.Script.WebHost.Key -> System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult>
Public Function Put (name As String, keyName As String, key As Key) As Task(Of IHttpActionResult)
参数
- name
- String
- keyName
- String
- key
- Key
返回
Task<System.Web.Http.IHttpActionResult>
- 属性
-
System.Web.Http.HttpPutAttribute System.Web.Http.RouteAttribute