public final class KqlScriptAsyncClient extends Object
Modifier and Type | Method and Description |
---|---|
Mono<KqlScriptResource> |
createOrUpdate(String kqlScriptName,
KqlScriptResource kqlScript)
Creates or updates a KQL Script.
|
Mono<com.azure.core.http.rest.Response<KqlScriptResource>> |
createOrUpdateWithResponse(String kqlScriptName,
KqlScriptResource kqlScript)
Creates or updates a KQL Script.
|
Mono<Void> |
deleteByName(String kqlScriptName)
Delete KQL script by name.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteByNameWithResponse(String kqlScriptName)
Delete KQL script by name.
|
Mono<KqlScriptResource> |
getByName(String kqlScriptName)
Get KQL script by name.
|
Mono<com.azure.core.http.rest.Response<KqlScriptResource>> |
getByNameWithResponse(String kqlScriptName)
Get KQL script by name.
|
Mono<Void> |
rename(String kqlScriptName,
ArtifactRenameRequest renameRequest)
Rename KQL script.
|
Mono<com.azure.core.http.rest.Response<Void>> |
renameWithResponse(String kqlScriptName,
ArtifactRenameRequest renameRequest)
Rename KQL script.
|
public Mono<com.azure.core.http.rest.Response<KqlScriptResource>> createOrUpdateWithResponse(String kqlScriptName, KqlScriptResource kqlScript)
kqlScriptName
- KQL script name.kqlScript
- KQL script.IllegalArgumentException
- thrown if parameters fail the validation.ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<KqlScriptResource> createOrUpdate(String kqlScriptName, KqlScriptResource kqlScript)
kqlScriptName
- KQL script name.kqlScript
- KQL script.IllegalArgumentException
- thrown if parameters fail the validation.ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<KqlScriptResource>> getByNameWithResponse(String kqlScriptName)
kqlScriptName
- KQL script name.IllegalArgumentException
- thrown if parameters fail the validation.ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<KqlScriptResource> getByName(String kqlScriptName)
kqlScriptName
- KQL script name.IllegalArgumentException
- thrown if parameters fail the validation.ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> deleteByNameWithResponse(String kqlScriptName)
kqlScriptName
- KQL script name.IllegalArgumentException
- thrown if parameters fail the validation.ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> deleteByName(String kqlScriptName)
kqlScriptName
- KQL script name.IllegalArgumentException
- thrown if parameters fail the validation.ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> renameWithResponse(String kqlScriptName, ArtifactRenameRequest renameRequest)
kqlScriptName
- KQL script name.renameRequest
- Rename request.IllegalArgumentException
- thrown if parameters fail the validation.ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> rename(String kqlScriptName, ArtifactRenameRequest renameRequest)
kqlScriptName
- KQL script name.renameRequest
- Rename request.IllegalArgumentException
- thrown if parameters fail the validation.ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.