共用方式為


KeysController.Put 方法

定義

多載

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

適用於