/
KustoScriptsCreateOrUpdate.json
80 lines (80 loc) · 3.36 KB
/
KustoScriptsCreateOrUpdate.json
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoclusterrptest4",
"databaseName": "KustoDatabase8",
"scriptName": "kustoScript1",
"api-version": "2021-08-27",
"parameters": {
"properties": {
"scriptUrl": "https://mysa.blob.core.windows.net/container/script.txt",
"scriptUrlSasToken": "?sv=2019-02-02&st=2019-04-29T22%3A18%3A26Z&se=2019-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=********************************",
"forceUpdateTag": "2bcf3c21-ffd1-4444-b9dd-e52e00ee53fe",
"continueOnErrors": true
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/Scripts/kustoScript1",
"name": "KustoClusterRPTest4/KustoDatabase8/kustoScript1",
"type": "Microsoft.Kusto/Clusters/Databases/Scripts",
"properties": {
"scriptUrl": "https://mysa.blob.core.windows.net/container/script.txt",
"forceUpdateTag": "2bcf3c21-ffd1-4444-b9dd-e52e00ee53fe",
"continueOnErrors": true
},
"systemData": {
"createdBy": "user@microsoft.com",
"createdByType": "User",
"createdAt": "2021-06-29T15:06:54.2757906Z",
"lastModifiedBy": "user2@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-07-01T17:16:24.3644126Z"
}
}
},
"201": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/Scripts/kustoScript1",
"name": "KustoClusterRPTest4/KustoDatabase8/kustoScript1",
"type": "Microsoft.Kusto/Clusters/Databases/Scripts",
"properties": {
"scriptUrl": "https://mysa.blob.core.windows.net/container/script.txt",
"forceUpdateTag": "2bcf3c21-ffd1-4444-b9dd-e52e00ee53fe",
"continueOnErrors": true
},
"systemData": {
"createdBy": "user@microsoft.com",
"createdByType": "User",
"createdAt": "2021-06-29T15:06:54.2757906Z",
"lastModifiedBy": "user@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-06-29T15:06:54.2757906Z"
}
}
},
"202": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/Scripts/kustoScript1",
"name": "KustoClusterRPTest4/KustoDatabase8/kustoScript1",
"type": "Microsoft.Kusto/Clusters/Databases/Scripts",
"properties": {
"scriptUrl": "https://mysa.blob.core.windows.net/container/script.txt",
"forceUpdateTag": "2bcf3c21-ffd1-4444-b9dd-e52e00ee53fe",
"continueOnErrors": true
},
"systemData": {
"createdBy": "user@microsoft.com",
"createdByType": "User",
"createdAt": "2021-06-29T15:06:54.2757906Z",
"lastModifiedBy": "user2@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-07-01T17:16:24.3644126Z"
}
}
}
}
}