-
Notifications
You must be signed in to change notification settings - Fork 4
/
KustoInput.java
43 lines (32 loc) · 1.42 KB
/
KustoInput.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.functions.kusto.annotation;
import com.microsoft.azure.functions.annotation.CustomBinding;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
@CustomBinding(direction = "in", name = "", type = "Kusto")
public @interface KustoInput {
// The database that contains the table to ingest
String database();
// The connection string name that is used for resolving connection to Kusto
String connection();
// the name used in the function.json
String name();
// The KQL Command that is to be used for the query
String kqlCommand();
// The KQL Query parameters
String kqlParameters();
// An option to set the ManagedServiceIdentity option. If set to "system" will use SystemManagedIdentity
// else use UserManagedIdentity
String managedServiceIdentity() default "";
// An option to set the ClientRequestProperties.
// Refer https://learn.microsoft.com/en-us/azure/data-explorer/kusto/api/netfx/request-properties#clientrequestproperties for details on properties
String clientRequestProperties() default "";
}