@azure/arm-operationalinsights 8.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/LICENSE +21 -0
- package/README.md +94 -0
- package/dist/index.js +5674 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1418 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +157 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +64 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +2023 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +40 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +351 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operationalInsightsManagementClient.d.ts +33 -0
- package/dist-esm/src/operationalInsightsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/operationalInsightsManagementClient.js +40 -0
- package/dist-esm/src/operationalInsightsManagementClient.js.map +1 -0
- package/dist-esm/src/operationalInsightsManagementClientContext.d.ts +15 -0
- package/dist-esm/src/operationalInsightsManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/operationalInsightsManagementClientContext.js +48 -0
- package/dist-esm/src/operationalInsightsManagementClientContext.js.map +1 -0
- package/dist-esm/src/operations/availableServiceTiers.d.ts +20 -0
- package/dist-esm/src/operations/availableServiceTiers.d.ts.map +1 -0
- package/dist-esm/src/operations/availableServiceTiers.js +57 -0
- package/dist-esm/src/operations/availableServiceTiers.js.map +1 -0
- package/dist-esm/src/operations/clusters.d.ts +99 -0
- package/dist-esm/src/operations/clusters.d.ts.map +1 -0
- package/dist-esm/src/operations/clusters.js +450 -0
- package/dist-esm/src/operations/clusters.js.map +1 -0
- package/dist-esm/src/operations/dataExports.d.ts +55 -0
- package/dist-esm/src/operations/dataExports.d.ts.map +1 -0
- package/dist-esm/src/operations/dataExports.js +200 -0
- package/dist-esm/src/operations/dataExports.js.map +1 -0
- package/dist-esm/src/operations/dataSources.d.ts +66 -0
- package/dist-esm/src/operations/dataSources.d.ts.map +1 -0
- package/dist-esm/src/operations/dataSources.js +230 -0
- package/dist-esm/src/operations/dataSources.js.map +1 -0
- package/dist-esm/src/operations/deletedWorkspaces.d.ts +40 -0
- package/dist-esm/src/operations/deletedWorkspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/deletedWorkspaces.js +161 -0
- package/dist-esm/src/operations/deletedWorkspaces.js.map +1 -0
- package/dist-esm/src/operations/gateways.d.ts +21 -0
- package/dist-esm/src/operations/gateways.d.ts.map +1 -0
- package/dist-esm/src/operations/gateways.js +47 -0
- package/dist-esm/src/operations/gateways.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +20 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +27 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/intelligencePacks.d.ts +37 -0
- package/dist-esm/src/operations/intelligencePacks.d.ts.map +1 -0
- package/dist-esm/src/operations/intelligencePacks.js +106 -0
- package/dist-esm/src/operations/intelligencePacks.js.map +1 -0
- package/dist-esm/src/operations/linkedServices.d.ts +73 -0
- package/dist-esm/src/operations/linkedServices.d.ts.map +1 -0
- package/dist-esm/src/operations/linkedServices.js +295 -0
- package/dist-esm/src/operations/linkedServices.js.map +1 -0
- package/dist-esm/src/operations/linkedStorageAccounts.d.ts +60 -0
- package/dist-esm/src/operations/linkedStorageAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/linkedStorageAccounts.js +186 -0
- package/dist-esm/src/operations/linkedStorageAccounts.js.map +1 -0
- package/dist-esm/src/operations/managementGroups.d.ts +30 -0
- package/dist-esm/src/operations/managementGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/managementGroups.js +96 -0
- package/dist-esm/src/operations/managementGroups.js.map +1 -0
- package/dist-esm/src/operations/operationStatuses.d.ts +20 -0
- package/dist-esm/src/operations/operationStatuses.d.ts.map +1 -0
- package/dist-esm/src/operations/operationStatuses.js +50 -0
- package/dist-esm/src/operations/operationStatuses.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/savedSearches.d.ts +45 -0
- package/dist-esm/src/operations/savedSearches.d.ts.map +1 -0
- package/dist-esm/src/operations/savedSearches.js +135 -0
- package/dist-esm/src/operations/savedSearches.js.map +1 -0
- package/dist-esm/src/operations/schema.d.ts +20 -0
- package/dist-esm/src/operations/schema.d.ts.map +1 -0
- package/dist-esm/src/operations/schema.js +50 -0
- package/dist-esm/src/operations/schema.js.map +1 -0
- package/dist-esm/src/operations/sharedKeysOperations.d.ts +28 -0
- package/dist-esm/src/operations/sharedKeysOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/sharedKeysOperations.js +78 -0
- package/dist-esm/src/operations/sharedKeysOperations.js.map +1 -0
- package/dist-esm/src/operations/storageInsightConfigs.d.ts +63 -0
- package/dist-esm/src/operations/storageInsightConfigs.d.ts.map +1 -0
- package/dist-esm/src/operations/storageInsightConfigs.js +225 -0
- package/dist-esm/src/operations/storageInsightConfigs.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +30 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +96 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operations/workspacePurge.d.ts +36 -0
- package/dist-esm/src/operations/workspacePurge.d.ts.map +1 -0
- package/dist-esm/src/operations/workspacePurge.js +90 -0
- package/dist-esm/src/operations/workspacePurge.js.map +1 -0
- package/dist-esm/src/operations/workspaces.d.ts +90 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +384 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/availableServiceTiers.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/availableServiceTiers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/availableServiceTiers.js +9 -0
- package/dist-esm/src/operationsInterfaces/availableServiceTiers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataExports.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/dataExports.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataExports.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataExports.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataSources.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/dataSources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataSources.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataSources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deletedWorkspaces.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/deletedWorkspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/deletedWorkspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/deletedWorkspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateways.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/gateways.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateways.js +9 -0
- package/dist-esm/src/operationsInterfaces/gateways.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +27 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/intelligencePacks.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/intelligencePacks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/intelligencePacks.js +9 -0
- package/dist-esm/src/operationsInterfaces/intelligencePacks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedServices.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/linkedServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/linkedServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedStorageAccounts.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/linkedStorageAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedStorageAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/linkedStorageAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationStatuses.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/operationStatuses.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationStatuses.js +9 -0
- package/dist-esm/src/operationsInterfaces/operationStatuses.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/savedSearches.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/savedSearches.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/savedSearches.js +9 -0
- package/dist-esm/src/operationsInterfaces/savedSearches.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/schema.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/schema.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/schema.js +9 -0
- package/dist-esm/src/operationsInterfaces/schema.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sharedKeysOperations.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/sharedKeysOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sharedKeysOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/sharedKeysOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageInsightConfigs.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/storageInsightConfigs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageInsightConfigs.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageInsightConfigs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspacePurge.d.ts +28 -0
- package/dist-esm/src/operationsInterfaces/workspacePurge.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspacePurge.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspacePurge.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +67 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +92 -0
- package/review/arm-operationalinsights.api.md +1349 -0
- package/rollup.config.js +188 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1622 -0
- package/src/models/mappers.ts +2183 -0
- package/src/models/parameters.ts +406 -0
- package/src/operationalInsightsManagementClient.ts +108 -0
- package/src/operationalInsightsManagementClientContext.ts +68 -0
- package/src/operations/availableServiceTiers.ts +76 -0
- package/src/operations/clusters.ts +591 -0
- package/src/operations/dataExports.ts +272 -0
- package/src/operations/dataSources.ts +328 -0
- package/src/operations/deletedWorkspaces.ts +180 -0
- package/src/operations/gateways.ts +64 -0
- package/src/operations/index.ts +27 -0
- package/src/operations/intelligencePacks.ts +147 -0
- package/src/operations/linkedServices.ts +430 -0
- package/src/operations/linkedStorageAccounts.ts +259 -0
- package/src/operations/managementGroups.ts +120 -0
- package/src/operations/operationStatuses.ts +69 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/savedSearches.ts +191 -0
- package/src/operations/schema.ts +66 -0
- package/src/operations/sharedKeysOperations.ts +108 -0
- package/src/operations/storageInsightConfigs.ts +313 -0
- package/src/operations/usages.ts +120 -0
- package/src/operations/workspacePurge.ts +123 -0
- package/src/operations/workspaces.ts +502 -0
- package/src/operationsInterfaces/availableServiceTiers.ts +27 -0
- package/src/operationsInterfaces/clusters.ts +121 -0
- package/src/operationsInterfaces/dataExports.ts +75 -0
- package/src/operationsInterfaces/dataSources.ts +77 -0
- package/src/operationsInterfaces/deletedWorkspaces.ts +35 -0
- package/src/operationsInterfaces/gateways.ts +26 -0
- package/src/operationsInterfaces/index.ts +27 -0
- package/src/operationsInterfaces/intelligencePacks.ts +56 -0
- package/src/operationsInterfaces/linkedServices.ts +115 -0
- package/src/operationsInterfaces/linkedStorageAccounts.ts +80 -0
- package/src/operationsInterfaces/managementGroups.ts +26 -0
- package/src/operationsInterfaces/operationStatuses.ts +27 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/savedSearches.ts +74 -0
- package/src/operationsInterfaces/schema.ts +24 -0
- package/src/operationsInterfaces/sharedKeysOperations.ts +41 -0
- package/src/operationsInterfaces/storageInsightConfigs.ts +75 -0
- package/src/operationsInterfaces/usages.ts +26 -0
- package/src/operationsInterfaces/workspacePurge.ts +52 -0
- package/src/operationsInterfaces/workspaces.ts +125 -0
- package/tsconfig.json +19 -0
- package/types/arm-operationalinsights.d.ts +2190 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,2190 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
import { PollerLike } from '@azure/core-lro';
|
|
5
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/** The list of Log Analytics workspaces associated with the cluster. */
|
|
8
|
+
export declare interface AssociatedWorkspace {
|
|
9
|
+
/**
|
|
10
|
+
* The id of the assigned workspace.
|
|
11
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
12
|
+
*/
|
|
13
|
+
readonly workspaceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The name id the assigned workspace.
|
|
16
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
17
|
+
*/
|
|
18
|
+
readonly workspaceName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The ResourceId id the assigned workspace.
|
|
21
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
22
|
+
*/
|
|
23
|
+
readonly resourceId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The time of workspace association.
|
|
26
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
27
|
+
*/
|
|
28
|
+
readonly associateDate?: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/** Service Tier details. */
|
|
32
|
+
export declare interface AvailableServiceTier {
|
|
33
|
+
/**
|
|
34
|
+
* The name of the Service Tier.
|
|
35
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
36
|
+
*/
|
|
37
|
+
readonly serviceTier?: SkuNameEnum;
|
|
38
|
+
/**
|
|
39
|
+
* True if the Service Tier is enabled for the workspace.
|
|
40
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
41
|
+
*/
|
|
42
|
+
readonly enabled?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The minimum retention for the Service Tier, in days.
|
|
45
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
46
|
+
*/
|
|
47
|
+
readonly minimumRetention?: number;
|
|
48
|
+
/**
|
|
49
|
+
* The maximum retention for the Service Tier, in days.
|
|
50
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
51
|
+
*/
|
|
52
|
+
readonly maximumRetention?: number;
|
|
53
|
+
/**
|
|
54
|
+
* The default retention for the Service Tier, in days.
|
|
55
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
56
|
+
*/
|
|
57
|
+
readonly defaultRetention?: number;
|
|
58
|
+
/**
|
|
59
|
+
* The capacity reservation level in GB per day. Returned for the Capacity Reservation Service Tier.
|
|
60
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
61
|
+
*/
|
|
62
|
+
readonly capacityReservationLevel?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Time when the sku was last updated for the workspace. Returned for the Capacity Reservation Service Tier.
|
|
65
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
66
|
+
*/
|
|
67
|
+
readonly lastSkuUpdate?: string;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/** Interface representing a AvailableServiceTiers. */
|
|
71
|
+
export declare interface AvailableServiceTiers {
|
|
72
|
+
/**
|
|
73
|
+
* Gets the available service tiers for the workspace.
|
|
74
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
|
+
* @param workspaceName The name of the workspace.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: AvailableServiceTiersListByWorkspaceOptionalParams): Promise<AvailableServiceTiersListByWorkspaceResponse>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/** Optional parameters. */
|
|
82
|
+
export declare interface AvailableServiceTiersListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
86
|
+
export declare type AvailableServiceTiersListByWorkspaceResponse = AvailableServiceTier[];
|
|
87
|
+
|
|
88
|
+
/** The resource model definition for an Azure Resource Manager resource with an etag. */
|
|
89
|
+
export declare type AzureEntityResource = Resource & {
|
|
90
|
+
/**
|
|
91
|
+
* Resource Etag.
|
|
92
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
93
|
+
*/
|
|
94
|
+
readonly etag?: string;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Defines values for BillingType. \
|
|
99
|
+
* {@link KnownBillingType} can be used interchangeably with BillingType,
|
|
100
|
+
* this enum contains the known values that the service supports.
|
|
101
|
+
* ### Known values supported by the service
|
|
102
|
+
* **Cluster** \
|
|
103
|
+
* **Workspaces**
|
|
104
|
+
*/
|
|
105
|
+
export declare type BillingType = string;
|
|
106
|
+
|
|
107
|
+
/** Defines values for Capacity. */
|
|
108
|
+
export declare type Capacity = 500 | 1000 | 2000 | 5000;
|
|
109
|
+
|
|
110
|
+
/** Defines values for CapacityReservationLevel. */
|
|
111
|
+
export declare type CapacityReservationLevel = 100 | 200 | 300 | 400 | 500 | 1000 | 2000 | 5000;
|
|
112
|
+
|
|
113
|
+
/** The Capacity Reservation properties. */
|
|
114
|
+
export declare interface CapacityReservationProperties {
|
|
115
|
+
/**
|
|
116
|
+
* The last time Sku was updated.
|
|
117
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
118
|
+
*/
|
|
119
|
+
readonly lastSkuUpdate?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Minimum CapacityReservation value in GB.
|
|
122
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
123
|
+
*/
|
|
124
|
+
readonly minCapacity?: number;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/** The top level Log Analytics cluster resource container. */
|
|
128
|
+
export declare type Cluster = TrackedResource & {
|
|
129
|
+
/** The identity of the resource. */
|
|
130
|
+
identity?: Identity;
|
|
131
|
+
/** The sku properties. */
|
|
132
|
+
sku?: ClusterSku;
|
|
133
|
+
/**
|
|
134
|
+
* The ID associated with the cluster.
|
|
135
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
136
|
+
*/
|
|
137
|
+
readonly clusterId?: string;
|
|
138
|
+
/**
|
|
139
|
+
* The provisioning state of the cluster.
|
|
140
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
141
|
+
*/
|
|
142
|
+
readonly provisioningState?: ClusterEntityStatus;
|
|
143
|
+
/** Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true' */
|
|
144
|
+
isDoubleEncryptionEnabled?: boolean;
|
|
145
|
+
/** Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones. */
|
|
146
|
+
isAvailabilityZonesEnabled?: boolean;
|
|
147
|
+
/** The cluster's billing type. */
|
|
148
|
+
billingType?: BillingType;
|
|
149
|
+
/** The associated key properties. */
|
|
150
|
+
keyVaultProperties?: KeyVaultProperties;
|
|
151
|
+
/**
|
|
152
|
+
* The last time the cluster was updated.
|
|
153
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
154
|
+
*/
|
|
155
|
+
readonly lastModifiedDate?: string;
|
|
156
|
+
/**
|
|
157
|
+
* The cluster creation time
|
|
158
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
159
|
+
*/
|
|
160
|
+
readonly createdDate?: string;
|
|
161
|
+
/** The list of Log Analytics workspaces associated with the cluster */
|
|
162
|
+
associatedWorkspaces?: AssociatedWorkspace[];
|
|
163
|
+
/** Additional properties for capacity reservation */
|
|
164
|
+
capacityReservationProperties?: CapacityReservationProperties;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Defines values for ClusterEntityStatus. \
|
|
169
|
+
* {@link KnownClusterEntityStatus} can be used interchangeably with ClusterEntityStatus,
|
|
170
|
+
* this enum contains the known values that the service supports.
|
|
171
|
+
* ### Known values supported by the service
|
|
172
|
+
* **Creating** \
|
|
173
|
+
* **Succeeded** \
|
|
174
|
+
* **Failed** \
|
|
175
|
+
* **Canceled** \
|
|
176
|
+
* **Deleting** \
|
|
177
|
+
* **ProvisioningAccount** \
|
|
178
|
+
* **Updating**
|
|
179
|
+
*/
|
|
180
|
+
export declare type ClusterEntityStatus = string;
|
|
181
|
+
|
|
182
|
+
/** The list clusters operation response. */
|
|
183
|
+
export declare interface ClusterListResult {
|
|
184
|
+
/** The link used to get the next page of recommendations. */
|
|
185
|
+
nextLink?: string;
|
|
186
|
+
/** A list of Log Analytics clusters. */
|
|
187
|
+
value?: Cluster[];
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/** The top level Log Analytics cluster resource container. */
|
|
191
|
+
export declare interface ClusterPatch {
|
|
192
|
+
/** The identity of the resource. */
|
|
193
|
+
identity?: Identity;
|
|
194
|
+
/** The sku properties. */
|
|
195
|
+
sku?: ClusterSku;
|
|
196
|
+
/** Resource tags. */
|
|
197
|
+
tags?: {
|
|
198
|
+
[propertyName: string]: string;
|
|
199
|
+
};
|
|
200
|
+
/** The associated key properties. */
|
|
201
|
+
keyVaultProperties?: KeyVaultProperties;
|
|
202
|
+
/** The cluster's billing type. */
|
|
203
|
+
billingType?: BillingType;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/** Interface representing a Clusters. */
|
|
207
|
+
export declare interface Clusters {
|
|
208
|
+
/**
|
|
209
|
+
* Gets Log Analytics clusters in a resource group.
|
|
210
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
211
|
+
* @param options The options parameters.
|
|
212
|
+
*/
|
|
213
|
+
listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
|
|
214
|
+
/**
|
|
215
|
+
* Gets the Log Analytics clusters in a subscription.
|
|
216
|
+
* @param options The options parameters.
|
|
217
|
+
*/
|
|
218
|
+
list(options?: ClustersListOptionalParams): PagedAsyncIterableIterator<Cluster>;
|
|
219
|
+
/**
|
|
220
|
+
* Create or update a Log Analytics cluster.
|
|
221
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
222
|
+
* @param clusterName The name of the Log Analytics cluster.
|
|
223
|
+
* @param parameters The parameters required to create or update a Log Analytics cluster.
|
|
224
|
+
* @param options The options parameters.
|
|
225
|
+
*/
|
|
226
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ClustersCreateOrUpdateResponse>, ClustersCreateOrUpdateResponse>>;
|
|
227
|
+
/**
|
|
228
|
+
* Create or update a Log Analytics cluster.
|
|
229
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
230
|
+
* @param clusterName The name of the Log Analytics cluster.
|
|
231
|
+
* @param parameters The parameters required to create or update a Log Analytics cluster.
|
|
232
|
+
* @param options The options parameters.
|
|
233
|
+
*/
|
|
234
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<ClustersCreateOrUpdateResponse>;
|
|
235
|
+
/**
|
|
236
|
+
* Deletes a cluster instance.
|
|
237
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
238
|
+
* @param clusterName Name of the Log Analytics Cluster.
|
|
239
|
+
* @param options The options parameters.
|
|
240
|
+
*/
|
|
241
|
+
beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
242
|
+
/**
|
|
243
|
+
* Deletes a cluster instance.
|
|
244
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
245
|
+
* @param clusterName Name of the Log Analytics Cluster.
|
|
246
|
+
* @param options The options parameters.
|
|
247
|
+
*/
|
|
248
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>;
|
|
249
|
+
/**
|
|
250
|
+
* Gets a Log Analytics cluster instance.
|
|
251
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
252
|
+
* @param clusterName Name of the Log Analytics Cluster.
|
|
253
|
+
* @param options The options parameters.
|
|
254
|
+
*/
|
|
255
|
+
get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<ClustersGetResponse>;
|
|
256
|
+
/**
|
|
257
|
+
* Updates a Log Analytics cluster.
|
|
258
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
259
|
+
* @param clusterName Name of the Log Analytics Cluster.
|
|
260
|
+
* @param parameters The parameters required to patch a Log Analytics cluster.
|
|
261
|
+
* @param options The options parameters.
|
|
262
|
+
*/
|
|
263
|
+
update(resourceGroupName: string, clusterName: string, parameters: ClusterPatch, options?: ClustersUpdateOptionalParams): Promise<ClustersUpdateResponse>;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/** Optional parameters. */
|
|
267
|
+
export declare interface ClustersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
268
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
269
|
+
updateIntervalInMs?: number;
|
|
270
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
271
|
+
resumeFrom?: string;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
275
|
+
export declare type ClustersCreateOrUpdateResponse = Cluster;
|
|
276
|
+
|
|
277
|
+
/** Optional parameters. */
|
|
278
|
+
export declare interface ClustersDeleteOptionalParams extends coreClient.OperationOptions {
|
|
279
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
280
|
+
updateIntervalInMs?: number;
|
|
281
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
282
|
+
resumeFrom?: string;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/** Optional parameters. */
|
|
286
|
+
export declare interface ClustersGetOptionalParams extends coreClient.OperationOptions {
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/** Contains response data for the get operation. */
|
|
290
|
+
export declare type ClustersGetResponse = Cluster;
|
|
291
|
+
|
|
292
|
+
/** The cluster sku definition. */
|
|
293
|
+
export declare interface ClusterSku {
|
|
294
|
+
/** The capacity value */
|
|
295
|
+
capacity?: Capacity;
|
|
296
|
+
/** The name of the SKU. */
|
|
297
|
+
name?: ClusterSkuNameEnum;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Defines values for ClusterSkuNameEnum. \
|
|
302
|
+
* {@link KnownClusterSkuNameEnum} can be used interchangeably with ClusterSkuNameEnum,
|
|
303
|
+
* this enum contains the known values that the service supports.
|
|
304
|
+
* ### Known values supported by the service
|
|
305
|
+
* **CapacityReservation**
|
|
306
|
+
*/
|
|
307
|
+
export declare type ClusterSkuNameEnum = string;
|
|
308
|
+
|
|
309
|
+
/** Optional parameters. */
|
|
310
|
+
export declare interface ClustersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
314
|
+
export declare type ClustersListByResourceGroupNextResponse = ClusterListResult;
|
|
315
|
+
|
|
316
|
+
/** Optional parameters. */
|
|
317
|
+
export declare interface ClustersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
321
|
+
export declare type ClustersListByResourceGroupResponse = ClusterListResult;
|
|
322
|
+
|
|
323
|
+
/** Optional parameters. */
|
|
324
|
+
export declare interface ClustersListNextOptionalParams extends coreClient.OperationOptions {
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/** Contains response data for the listNext operation. */
|
|
328
|
+
export declare type ClustersListNextResponse = ClusterListResult;
|
|
329
|
+
|
|
330
|
+
/** Optional parameters. */
|
|
331
|
+
export declare interface ClustersListOptionalParams extends coreClient.OperationOptions {
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/** Contains response data for the list operation. */
|
|
335
|
+
export declare type ClustersListResponse = ClusterListResult;
|
|
336
|
+
|
|
337
|
+
/** Optional parameters. */
|
|
338
|
+
export declare interface ClustersUpdateOptionalParams extends coreClient.OperationOptions {
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/** Contains response data for the update operation. */
|
|
342
|
+
export declare type ClustersUpdateResponse = Cluster;
|
|
343
|
+
|
|
344
|
+
/** The core summary of a search. */
|
|
345
|
+
export declare interface CoreSummary {
|
|
346
|
+
/** The status of a core summary. */
|
|
347
|
+
status?: string;
|
|
348
|
+
/** The number of documents of a core summary. */
|
|
349
|
+
numberOfDocuments: number;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/** The top level data export resource container. */
|
|
353
|
+
export declare type DataExport = ProxyResource & {
|
|
354
|
+
/** The data export rule ID. */
|
|
355
|
+
dataExportId?: string;
|
|
356
|
+
/** An array of tables to export, for example: [“Heartbeat, SecurityEvent”]. */
|
|
357
|
+
tableNames?: string[];
|
|
358
|
+
/** Active when enabled. */
|
|
359
|
+
enable?: boolean;
|
|
360
|
+
/** The latest data export rule modification time. */
|
|
361
|
+
createdDate?: string;
|
|
362
|
+
/** Date and time when the export was last modified. */
|
|
363
|
+
lastModifiedDate?: string;
|
|
364
|
+
/** The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure. */
|
|
365
|
+
resourceId?: string;
|
|
366
|
+
/**
|
|
367
|
+
* The type of the destination resource
|
|
368
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
369
|
+
*/
|
|
370
|
+
readonly typePropertiesDestinationType?: Type;
|
|
371
|
+
/** Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account. */
|
|
372
|
+
eventHubName?: string;
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
/** Result of the request to list data exports. */
|
|
376
|
+
export declare interface DataExportListResult {
|
|
377
|
+
/** List of data export instances within a workspace.. */
|
|
378
|
+
value?: DataExport[];
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/** Interface representing a DataExports. */
|
|
382
|
+
export declare interface DataExports {
|
|
383
|
+
/**
|
|
384
|
+
* Lists the data export instances within a workspace.
|
|
385
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
386
|
+
* @param workspaceName The name of the workspace.
|
|
387
|
+
* @param options The options parameters.
|
|
388
|
+
*/
|
|
389
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: DataExportsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<DataExport>;
|
|
390
|
+
/**
|
|
391
|
+
* Create or update a data export.
|
|
392
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
393
|
+
* @param workspaceName The name of the workspace.
|
|
394
|
+
* @param dataExportName The data export rule name.
|
|
395
|
+
* @param parameters The parameters required to create or update a data export.
|
|
396
|
+
* @param options The options parameters.
|
|
397
|
+
*/
|
|
398
|
+
createOrUpdate(resourceGroupName: string, workspaceName: string, dataExportName: string, parameters: DataExport, options?: DataExportsCreateOrUpdateOptionalParams): Promise<DataExportsCreateOrUpdateResponse>;
|
|
399
|
+
/**
|
|
400
|
+
* Gets a data export instance.
|
|
401
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
402
|
+
* @param workspaceName The name of the workspace.
|
|
403
|
+
* @param dataExportName The data export rule name.
|
|
404
|
+
* @param options The options parameters.
|
|
405
|
+
*/
|
|
406
|
+
get(resourceGroupName: string, workspaceName: string, dataExportName: string, options?: DataExportsGetOptionalParams): Promise<DataExportsGetResponse>;
|
|
407
|
+
/**
|
|
408
|
+
* Deletes the specified data export in a given workspace..
|
|
409
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
410
|
+
* @param workspaceName The name of the workspace.
|
|
411
|
+
* @param dataExportName The data export rule name.
|
|
412
|
+
* @param options The options parameters.
|
|
413
|
+
*/
|
|
414
|
+
delete(resourceGroupName: string, workspaceName: string, dataExportName: string, options?: DataExportsDeleteOptionalParams): Promise<void>;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/** Optional parameters. */
|
|
418
|
+
export declare interface DataExportsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
422
|
+
export declare type DataExportsCreateOrUpdateResponse = DataExport;
|
|
423
|
+
|
|
424
|
+
/** Optional parameters. */
|
|
425
|
+
export declare interface DataExportsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/** Optional parameters. */
|
|
429
|
+
export declare interface DataExportsGetOptionalParams extends coreClient.OperationOptions {
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/** Contains response data for the get operation. */
|
|
433
|
+
export declare type DataExportsGetResponse = DataExport;
|
|
434
|
+
|
|
435
|
+
/** Optional parameters. */
|
|
436
|
+
export declare interface DataExportsListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
440
|
+
export declare type DataExportsListByWorkspaceResponse = DataExportListResult;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Defines values for DataIngestionStatus. \
|
|
444
|
+
* {@link KnownDataIngestionStatus} can be used interchangeably with DataIngestionStatus,
|
|
445
|
+
* this enum contains the known values that the service supports.
|
|
446
|
+
* ### Known values supported by the service
|
|
447
|
+
* **RespectQuota**: Ingestion enabled following daily cap quota reset, or subscription enablement. \
|
|
448
|
+
* **ForceOn**: Ingestion started following service setting change. \
|
|
449
|
+
* **ForceOff**: Ingestion stopped following service setting change. \
|
|
450
|
+
* **OverQuota**: Reached daily cap quota, ingestion stopped. \
|
|
451
|
+
* **SubscriptionSuspended**: Ingestion stopped following suspended subscription. \
|
|
452
|
+
* **ApproachingQuota**: 80% of daily cap quota reached.
|
|
453
|
+
*/
|
|
454
|
+
export declare type DataIngestionStatus = string;
|
|
455
|
+
|
|
456
|
+
/** Datasources under OMS Workspace. */
|
|
457
|
+
export declare type DataSource = ProxyResource & {
|
|
458
|
+
/** The data source properties in raw json format, each kind of data source have it's own schema. */
|
|
459
|
+
properties: Record<string, unknown>;
|
|
460
|
+
/** The ETag of the data source. */
|
|
461
|
+
etag?: string;
|
|
462
|
+
/** The kind of the DataSource. */
|
|
463
|
+
kind: DataSourceKind;
|
|
464
|
+
/** Resource tags. */
|
|
465
|
+
tags?: {
|
|
466
|
+
[propertyName: string]: string;
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
/** DataSource filter. Right now, only filter by kind is supported. */
|
|
471
|
+
export declare interface DataSourceFilter {
|
|
472
|
+
/** The kind of the DataSource. */
|
|
473
|
+
kind?: DataSourceKind;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Defines values for DataSourceKind. \
|
|
478
|
+
* {@link KnownDataSourceKind} can be used interchangeably with DataSourceKind,
|
|
479
|
+
* this enum contains the known values that the service supports.
|
|
480
|
+
* ### Known values supported by the service
|
|
481
|
+
* **WindowsEvent** \
|
|
482
|
+
* **WindowsPerformanceCounter** \
|
|
483
|
+
* **IISLogs** \
|
|
484
|
+
* **LinuxSyslog** \
|
|
485
|
+
* **LinuxSyslogCollection** \
|
|
486
|
+
* **LinuxPerformanceObject** \
|
|
487
|
+
* **LinuxPerformanceCollection** \
|
|
488
|
+
* **CustomLog** \
|
|
489
|
+
* **CustomLogCollection** \
|
|
490
|
+
* **AzureAuditLog** \
|
|
491
|
+
* **AzureActivityLog** \
|
|
492
|
+
* **GenericDataSource** \
|
|
493
|
+
* **ChangeTrackingCustomPath** \
|
|
494
|
+
* **ChangeTrackingPath** \
|
|
495
|
+
* **ChangeTrackingServices** \
|
|
496
|
+
* **ChangeTrackingDataTypeConfiguration** \
|
|
497
|
+
* **ChangeTrackingDefaultRegistry** \
|
|
498
|
+
* **ChangeTrackingRegistry** \
|
|
499
|
+
* **ChangeTrackingLinuxPath** \
|
|
500
|
+
* **LinuxChangeTrackingPath** \
|
|
501
|
+
* **ChangeTrackingContentLocation** \
|
|
502
|
+
* **WindowsTelemetry** \
|
|
503
|
+
* **Office365** \
|
|
504
|
+
* **SecurityWindowsBaselineConfiguration** \
|
|
505
|
+
* **SecurityCenterSecurityWindowsBaselineConfiguration** \
|
|
506
|
+
* **SecurityEventCollectionConfiguration** \
|
|
507
|
+
* **SecurityInsightsSecurityEventCollectionConfiguration** \
|
|
508
|
+
* **ImportComputerGroup** \
|
|
509
|
+
* **NetworkMonitoring** \
|
|
510
|
+
* **Itsm** \
|
|
511
|
+
* **DnsAnalytics** \
|
|
512
|
+
* **ApplicationInsights** \
|
|
513
|
+
* **SqlDataClassification**
|
|
514
|
+
*/
|
|
515
|
+
export declare type DataSourceKind = string;
|
|
516
|
+
|
|
517
|
+
/** The list data source by workspace operation response. */
|
|
518
|
+
export declare interface DataSourceListResult {
|
|
519
|
+
/** A list of datasources. */
|
|
520
|
+
value?: DataSource[];
|
|
521
|
+
/** The link (url) to the next page of datasources. */
|
|
522
|
+
nextLink?: string;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/** Interface representing a DataSources. */
|
|
526
|
+
export declare interface DataSources {
|
|
527
|
+
/**
|
|
528
|
+
* Gets the first page of data source instances in a workspace with the link to the next page.
|
|
529
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
530
|
+
* @param workspaceName The name of the workspace.
|
|
531
|
+
* @param filter The filter to apply on the operation.
|
|
532
|
+
* @param options The options parameters.
|
|
533
|
+
*/
|
|
534
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, filter: string, options?: DataSourcesListByWorkspaceOptionalParams): PagedAsyncIterableIterator<DataSource>;
|
|
535
|
+
/**
|
|
536
|
+
* Create or update a data source.
|
|
537
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
538
|
+
* @param workspaceName The name of the workspace.
|
|
539
|
+
* @param dataSourceName The name of the datasource resource.
|
|
540
|
+
* @param parameters The parameters required to create or update a datasource.
|
|
541
|
+
* @param options The options parameters.
|
|
542
|
+
*/
|
|
543
|
+
createOrUpdate(resourceGroupName: string, workspaceName: string, dataSourceName: string, parameters: DataSource, options?: DataSourcesCreateOrUpdateOptionalParams): Promise<DataSourcesCreateOrUpdateResponse>;
|
|
544
|
+
/**
|
|
545
|
+
* Deletes a data source instance.
|
|
546
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
547
|
+
* @param workspaceName The name of the workspace.
|
|
548
|
+
* @param dataSourceName Name of the datasource.
|
|
549
|
+
* @param options The options parameters.
|
|
550
|
+
*/
|
|
551
|
+
delete(resourceGroupName: string, workspaceName: string, dataSourceName: string, options?: DataSourcesDeleteOptionalParams): Promise<void>;
|
|
552
|
+
/**
|
|
553
|
+
* Gets a datasource instance.
|
|
554
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
555
|
+
* @param workspaceName The name of the workspace.
|
|
556
|
+
* @param dataSourceName Name of the datasource
|
|
557
|
+
* @param options The options parameters.
|
|
558
|
+
*/
|
|
559
|
+
get(resourceGroupName: string, workspaceName: string, dataSourceName: string, options?: DataSourcesGetOptionalParams): Promise<DataSourcesGetResponse>;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/** Optional parameters. */
|
|
563
|
+
export declare interface DataSourcesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
567
|
+
export declare type DataSourcesCreateOrUpdateResponse = DataSource;
|
|
568
|
+
|
|
569
|
+
/** Optional parameters. */
|
|
570
|
+
export declare interface DataSourcesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/** Optional parameters. */
|
|
574
|
+
export declare interface DataSourcesGetOptionalParams extends coreClient.OperationOptions {
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/** Contains response data for the get operation. */
|
|
578
|
+
export declare type DataSourcesGetResponse = DataSource;
|
|
579
|
+
|
|
580
|
+
/** Optional parameters. */
|
|
581
|
+
export declare interface DataSourcesListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
|
|
582
|
+
/** Starting point of the collection of data source instances. */
|
|
583
|
+
skiptoken?: string;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/** Contains response data for the listByWorkspaceNext operation. */
|
|
587
|
+
export declare type DataSourcesListByWorkspaceNextResponse = DataSourceListResult;
|
|
588
|
+
|
|
589
|
+
/** Optional parameters. */
|
|
590
|
+
export declare interface DataSourcesListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
591
|
+
/** Starting point of the collection of data source instances. */
|
|
592
|
+
skiptoken?: string;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
596
|
+
export declare type DataSourcesListByWorkspaceResponse = DataSourceListResult;
|
|
597
|
+
|
|
598
|
+
/** Defines values for DataSourceType. */
|
|
599
|
+
export declare type DataSourceType = "CustomLogs" | "AzureWatson" | "Query" | "Alerts";
|
|
600
|
+
|
|
601
|
+
/** Interface representing a DeletedWorkspaces. */
|
|
602
|
+
export declare interface DeletedWorkspaces {
|
|
603
|
+
/**
|
|
604
|
+
* Gets recently deleted workspaces in a subscription, available for recovery.
|
|
605
|
+
* @param options The options parameters.
|
|
606
|
+
*/
|
|
607
|
+
list(options?: DeletedWorkspacesListOptionalParams): PagedAsyncIterableIterator<Workspace>;
|
|
608
|
+
/**
|
|
609
|
+
* Gets recently deleted workspaces in a resource group, available for recovery.
|
|
610
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
611
|
+
* @param options The options parameters.
|
|
612
|
+
*/
|
|
613
|
+
listByResourceGroup(resourceGroupName: string, options?: DeletedWorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Workspace>;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/** Optional parameters. */
|
|
617
|
+
export declare interface DeletedWorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
621
|
+
export declare type DeletedWorkspacesListByResourceGroupResponse = WorkspaceListResult;
|
|
622
|
+
|
|
623
|
+
/** Optional parameters. */
|
|
624
|
+
export declare interface DeletedWorkspacesListOptionalParams extends coreClient.OperationOptions {
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
/** Contains response data for the list operation. */
|
|
628
|
+
export declare type DeletedWorkspacesListResponse = WorkspaceListResult;
|
|
629
|
+
|
|
630
|
+
/** The resource management error additional info. */
|
|
631
|
+
export declare interface ErrorAdditionalInfo {
|
|
632
|
+
/**
|
|
633
|
+
* The additional info type.
|
|
634
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
635
|
+
*/
|
|
636
|
+
readonly type?: string;
|
|
637
|
+
/**
|
|
638
|
+
* The additional info.
|
|
639
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
640
|
+
*/
|
|
641
|
+
readonly info?: Record<string, unknown>;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
/** The error detail. */
|
|
645
|
+
export declare interface ErrorDetail {
|
|
646
|
+
/**
|
|
647
|
+
* The error code.
|
|
648
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
649
|
+
*/
|
|
650
|
+
readonly code?: string;
|
|
651
|
+
/**
|
|
652
|
+
* The error message.
|
|
653
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
654
|
+
*/
|
|
655
|
+
readonly message?: string;
|
|
656
|
+
/**
|
|
657
|
+
* The error target.
|
|
658
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
659
|
+
*/
|
|
660
|
+
readonly target?: string;
|
|
661
|
+
/**
|
|
662
|
+
* The error details.
|
|
663
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
664
|
+
*/
|
|
665
|
+
readonly details?: ErrorDetail[];
|
|
666
|
+
/**
|
|
667
|
+
* The error additional info.
|
|
668
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
669
|
+
*/
|
|
670
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
674
|
+
export declare interface ErrorResponse {
|
|
675
|
+
/** The error object. */
|
|
676
|
+
error?: ErrorDetail;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
/** Interface representing a Gateways. */
|
|
680
|
+
export declare interface Gateways {
|
|
681
|
+
/**
|
|
682
|
+
* Delete a Log Analytics gateway.
|
|
683
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
684
|
+
* @param workspaceName The name of the workspace.
|
|
685
|
+
* @param gatewayId The Log Analytics gateway Id.
|
|
686
|
+
* @param options The options parameters.
|
|
687
|
+
*/
|
|
688
|
+
delete(resourceGroupName: string, workspaceName: string, gatewayId: string, options?: GatewaysDeleteOptionalParams): Promise<void>;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/** Optional parameters. */
|
|
692
|
+
export declare interface GatewaysDeleteOptionalParams extends coreClient.OperationOptions {
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/** Identity for the resource. */
|
|
696
|
+
export declare interface Identity {
|
|
697
|
+
/**
|
|
698
|
+
* The principal ID of resource identity.
|
|
699
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
700
|
+
*/
|
|
701
|
+
readonly principalId?: string;
|
|
702
|
+
/**
|
|
703
|
+
* The tenant ID of resource.
|
|
704
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
705
|
+
*/
|
|
706
|
+
readonly tenantId?: string;
|
|
707
|
+
/** Type of managed service identity. */
|
|
708
|
+
type: IdentityType;
|
|
709
|
+
/** The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */
|
|
710
|
+
userAssignedIdentities?: {
|
|
711
|
+
[propertyName: string]: UserIdentityProperties;
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/** Defines values for IdentityType. */
|
|
716
|
+
export declare type IdentityType = "SystemAssigned" | "UserAssigned" | "None";
|
|
717
|
+
|
|
718
|
+
/** Intelligence Pack containing a string name and boolean indicating if it's enabled. */
|
|
719
|
+
export declare interface IntelligencePack {
|
|
720
|
+
/** The name of the intelligence pack. */
|
|
721
|
+
name?: string;
|
|
722
|
+
/** The enabled boolean for the intelligence pack. */
|
|
723
|
+
enabled?: boolean;
|
|
724
|
+
/** The display name of the intelligence pack. */
|
|
725
|
+
displayName?: string;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/** Interface representing a IntelligencePacks. */
|
|
729
|
+
export declare interface IntelligencePacks {
|
|
730
|
+
/**
|
|
731
|
+
* Disables an intelligence pack for a given workspace.
|
|
732
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
733
|
+
* @param workspaceName The name of the workspace.
|
|
734
|
+
* @param intelligencePackName The name of the intelligence pack to be disabled.
|
|
735
|
+
* @param options The options parameters.
|
|
736
|
+
*/
|
|
737
|
+
disable(resourceGroupName: string, workspaceName: string, intelligencePackName: string, options?: IntelligencePacksDisableOptionalParams): Promise<void>;
|
|
738
|
+
/**
|
|
739
|
+
* Enables an intelligence pack for a given workspace.
|
|
740
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
741
|
+
* @param workspaceName The name of the workspace.
|
|
742
|
+
* @param intelligencePackName The name of the intelligence pack to be enabled.
|
|
743
|
+
* @param options The options parameters.
|
|
744
|
+
*/
|
|
745
|
+
enable(resourceGroupName: string, workspaceName: string, intelligencePackName: string, options?: IntelligencePacksEnableOptionalParams): Promise<void>;
|
|
746
|
+
/**
|
|
747
|
+
* Lists all the intelligence packs possible and whether they are enabled or disabled for a given
|
|
748
|
+
* workspace.
|
|
749
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
750
|
+
* @param workspaceName The name of the workspace.
|
|
751
|
+
* @param options The options parameters.
|
|
752
|
+
*/
|
|
753
|
+
list(resourceGroupName: string, workspaceName: string, options?: IntelligencePacksListOptionalParams): Promise<IntelligencePacksListResponse>;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
/** Optional parameters. */
|
|
757
|
+
export declare interface IntelligencePacksDisableOptionalParams extends coreClient.OperationOptions {
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/** Optional parameters. */
|
|
761
|
+
export declare interface IntelligencePacksEnableOptionalParams extends coreClient.OperationOptions {
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
/** Optional parameters. */
|
|
765
|
+
export declare interface IntelligencePacksListOptionalParams extends coreClient.OperationOptions {
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/** Contains response data for the list operation. */
|
|
769
|
+
export declare type IntelligencePacksListResponse = IntelligencePack[];
|
|
770
|
+
|
|
771
|
+
/** The key vault properties. */
|
|
772
|
+
export declare interface KeyVaultProperties {
|
|
773
|
+
/** The Key Vault uri which holds they key associated with the Log Analytics cluster. */
|
|
774
|
+
keyVaultUri?: string;
|
|
775
|
+
/** The name of the key associated with the Log Analytics cluster. */
|
|
776
|
+
keyName?: string;
|
|
777
|
+
/** The version of the key associated with the Log Analytics cluster. */
|
|
778
|
+
keyVersion?: string;
|
|
779
|
+
/** Selected key minimum required size. */
|
|
780
|
+
keyRsaSize?: number;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/** Known values of {@link BillingType} that the service accepts. */
|
|
784
|
+
export declare enum KnownBillingType {
|
|
785
|
+
Cluster = "Cluster",
|
|
786
|
+
Workspaces = "Workspaces"
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
/** Known values of {@link ClusterEntityStatus} that the service accepts. */
|
|
790
|
+
export declare enum KnownClusterEntityStatus {
|
|
791
|
+
Creating = "Creating",
|
|
792
|
+
Succeeded = "Succeeded",
|
|
793
|
+
Failed = "Failed",
|
|
794
|
+
Canceled = "Canceled",
|
|
795
|
+
Deleting = "Deleting",
|
|
796
|
+
ProvisioningAccount = "ProvisioningAccount",
|
|
797
|
+
Updating = "Updating"
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
/** Known values of {@link ClusterSkuNameEnum} that the service accepts. */
|
|
801
|
+
export declare enum KnownClusterSkuNameEnum {
|
|
802
|
+
CapacityReservation = "CapacityReservation"
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
/** Known values of {@link DataIngestionStatus} that the service accepts. */
|
|
806
|
+
export declare enum KnownDataIngestionStatus {
|
|
807
|
+
/** Ingestion enabled following daily cap quota reset, or subscription enablement. */
|
|
808
|
+
RespectQuota = "RespectQuota",
|
|
809
|
+
/** Ingestion started following service setting change. */
|
|
810
|
+
ForceOn = "ForceOn",
|
|
811
|
+
/** Ingestion stopped following service setting change. */
|
|
812
|
+
ForceOff = "ForceOff",
|
|
813
|
+
/** Reached daily cap quota, ingestion stopped. */
|
|
814
|
+
OverQuota = "OverQuota",
|
|
815
|
+
/** Ingestion stopped following suspended subscription. */
|
|
816
|
+
SubscriptionSuspended = "SubscriptionSuspended",
|
|
817
|
+
/** 80% of daily cap quota reached. */
|
|
818
|
+
ApproachingQuota = "ApproachingQuota"
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
/** Known values of {@link DataSourceKind} that the service accepts. */
|
|
822
|
+
export declare enum KnownDataSourceKind {
|
|
823
|
+
WindowsEvent = "WindowsEvent",
|
|
824
|
+
WindowsPerformanceCounter = "WindowsPerformanceCounter",
|
|
825
|
+
IISLogs = "IISLogs",
|
|
826
|
+
LinuxSyslog = "LinuxSyslog",
|
|
827
|
+
LinuxSyslogCollection = "LinuxSyslogCollection",
|
|
828
|
+
LinuxPerformanceObject = "LinuxPerformanceObject",
|
|
829
|
+
LinuxPerformanceCollection = "LinuxPerformanceCollection",
|
|
830
|
+
CustomLog = "CustomLog",
|
|
831
|
+
CustomLogCollection = "CustomLogCollection",
|
|
832
|
+
AzureAuditLog = "AzureAuditLog",
|
|
833
|
+
AzureActivityLog = "AzureActivityLog",
|
|
834
|
+
GenericDataSource = "GenericDataSource",
|
|
835
|
+
ChangeTrackingCustomPath = "ChangeTrackingCustomPath",
|
|
836
|
+
ChangeTrackingPath = "ChangeTrackingPath",
|
|
837
|
+
ChangeTrackingServices = "ChangeTrackingServices",
|
|
838
|
+
ChangeTrackingDataTypeConfiguration = "ChangeTrackingDataTypeConfiguration",
|
|
839
|
+
ChangeTrackingDefaultRegistry = "ChangeTrackingDefaultRegistry",
|
|
840
|
+
ChangeTrackingRegistry = "ChangeTrackingRegistry",
|
|
841
|
+
ChangeTrackingLinuxPath = "ChangeTrackingLinuxPath",
|
|
842
|
+
LinuxChangeTrackingPath = "LinuxChangeTrackingPath",
|
|
843
|
+
ChangeTrackingContentLocation = "ChangeTrackingContentLocation",
|
|
844
|
+
WindowsTelemetry = "WindowsTelemetry",
|
|
845
|
+
Office365 = "Office365",
|
|
846
|
+
SecurityWindowsBaselineConfiguration = "SecurityWindowsBaselineConfiguration",
|
|
847
|
+
SecurityCenterSecurityWindowsBaselineConfiguration = "SecurityCenterSecurityWindowsBaselineConfiguration",
|
|
848
|
+
SecurityEventCollectionConfiguration = "SecurityEventCollectionConfiguration",
|
|
849
|
+
SecurityInsightsSecurityEventCollectionConfiguration = "SecurityInsightsSecurityEventCollectionConfiguration",
|
|
850
|
+
ImportComputerGroup = "ImportComputerGroup",
|
|
851
|
+
NetworkMonitoring = "NetworkMonitoring",
|
|
852
|
+
Itsm = "Itsm",
|
|
853
|
+
DnsAnalytics = "DnsAnalytics",
|
|
854
|
+
ApplicationInsights = "ApplicationInsights",
|
|
855
|
+
SqlDataClassification = "SqlDataClassification"
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/** Known values of {@link LinkedServiceEntityStatus} that the service accepts. */
|
|
859
|
+
export declare enum KnownLinkedServiceEntityStatus {
|
|
860
|
+
Succeeded = "Succeeded",
|
|
861
|
+
Deleting = "Deleting",
|
|
862
|
+
ProvisioningAccount = "ProvisioningAccount",
|
|
863
|
+
Updating = "Updating"
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
/** Known values of {@link PublicNetworkAccessType} that the service accepts. */
|
|
867
|
+
export declare enum KnownPublicNetworkAccessType {
|
|
868
|
+
/** Enables connectivity to Log Analytics through public DNS. */
|
|
869
|
+
Enabled = "Enabled",
|
|
870
|
+
/** Disables public connectivity to Log Analytics through public DNS. */
|
|
871
|
+
Disabled = "Disabled"
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
/** Known values of {@link PurgeState} that the service accepts. */
|
|
875
|
+
export declare enum KnownPurgeState {
|
|
876
|
+
Pending = "pending",
|
|
877
|
+
Completed = "completed"
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
/** Known values of {@link SearchSortEnum} that the service accepts. */
|
|
881
|
+
export declare enum KnownSearchSortEnum {
|
|
882
|
+
Asc = "asc",
|
|
883
|
+
Desc = "desc"
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
/** Known values of {@link SkuNameEnum} that the service accepts. */
|
|
887
|
+
export declare enum KnownSkuNameEnum {
|
|
888
|
+
Free = "Free",
|
|
889
|
+
Standard = "Standard",
|
|
890
|
+
Premium = "Premium",
|
|
891
|
+
PerNode = "PerNode",
|
|
892
|
+
PerGB2018 = "PerGB2018",
|
|
893
|
+
Standalone = "Standalone",
|
|
894
|
+
CapacityReservation = "CapacityReservation"
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/** Known values of {@link StorageInsightState} that the service accepts. */
|
|
898
|
+
export declare enum KnownStorageInsightState {
|
|
899
|
+
OK = "OK",
|
|
900
|
+
Error = "ERROR"
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
/** Known values of {@link Type} that the service accepts. */
|
|
904
|
+
export declare enum KnownType {
|
|
905
|
+
StorageAccount = "StorageAccount",
|
|
906
|
+
EventHub = "EventHub"
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
/** Known values of {@link WorkspaceEntityStatus} that the service accepts. */
|
|
910
|
+
export declare enum KnownWorkspaceEntityStatus {
|
|
911
|
+
Creating = "Creating",
|
|
912
|
+
Succeeded = "Succeeded",
|
|
913
|
+
Failed = "Failed",
|
|
914
|
+
Canceled = "Canceled",
|
|
915
|
+
Deleting = "Deleting",
|
|
916
|
+
ProvisioningAccount = "ProvisioningAccount",
|
|
917
|
+
Updating = "Updating"
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/** Known values of {@link WorkspaceSkuNameEnum} that the service accepts. */
|
|
921
|
+
export declare enum KnownWorkspaceSkuNameEnum {
|
|
922
|
+
Free = "Free",
|
|
923
|
+
Standard = "Standard",
|
|
924
|
+
Premium = "Premium",
|
|
925
|
+
PerNode = "PerNode",
|
|
926
|
+
PerGB2018 = "PerGB2018",
|
|
927
|
+
Standalone = "Standalone",
|
|
928
|
+
CapacityReservation = "CapacityReservation",
|
|
929
|
+
LACluster = "LACluster"
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
/** The top level Linked service resource container. */
|
|
933
|
+
export declare type LinkedService = ProxyResource & {
|
|
934
|
+
/** Resource tags. */
|
|
935
|
+
tags?: {
|
|
936
|
+
[propertyName: string]: string;
|
|
937
|
+
};
|
|
938
|
+
/** The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access */
|
|
939
|
+
resourceId?: string;
|
|
940
|
+
/** The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access */
|
|
941
|
+
writeAccessResourceId?: string;
|
|
942
|
+
/** The provisioning state of the linked service. */
|
|
943
|
+
provisioningState?: LinkedServiceEntityStatus;
|
|
944
|
+
};
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Defines values for LinkedServiceEntityStatus. \
|
|
948
|
+
* {@link KnownLinkedServiceEntityStatus} can be used interchangeably with LinkedServiceEntityStatus,
|
|
949
|
+
* this enum contains the known values that the service supports.
|
|
950
|
+
* ### Known values supported by the service
|
|
951
|
+
* **Succeeded** \
|
|
952
|
+
* **Deleting** \
|
|
953
|
+
* **ProvisioningAccount** \
|
|
954
|
+
* **Updating**
|
|
955
|
+
*/
|
|
956
|
+
export declare type LinkedServiceEntityStatus = string;
|
|
957
|
+
|
|
958
|
+
/** The list linked service operation response. */
|
|
959
|
+
export declare interface LinkedServiceListResult {
|
|
960
|
+
/** The list of linked service instances */
|
|
961
|
+
value?: LinkedService[];
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
/** Interface representing a LinkedServices. */
|
|
965
|
+
export declare interface LinkedServices {
|
|
966
|
+
/**
|
|
967
|
+
* Gets the linked services instances in a workspace.
|
|
968
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
969
|
+
* @param workspaceName The name of the workspace.
|
|
970
|
+
* @param options The options parameters.
|
|
971
|
+
*/
|
|
972
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: LinkedServicesListByWorkspaceOptionalParams): PagedAsyncIterableIterator<LinkedService>;
|
|
973
|
+
/**
|
|
974
|
+
* Create or update a linked service.
|
|
975
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
976
|
+
* @param workspaceName The name of the workspace.
|
|
977
|
+
* @param linkedServiceName Name of the linkedServices resource
|
|
978
|
+
* @param parameters The parameters required to create or update a linked service.
|
|
979
|
+
* @param options The options parameters.
|
|
980
|
+
*/
|
|
981
|
+
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, linkedServiceName: string, parameters: LinkedService, options?: LinkedServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LinkedServicesCreateOrUpdateResponse>, LinkedServicesCreateOrUpdateResponse>>;
|
|
982
|
+
/**
|
|
983
|
+
* Create or update a linked service.
|
|
984
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
985
|
+
* @param workspaceName The name of the workspace.
|
|
986
|
+
* @param linkedServiceName Name of the linkedServices resource
|
|
987
|
+
* @param parameters The parameters required to create or update a linked service.
|
|
988
|
+
* @param options The options parameters.
|
|
989
|
+
*/
|
|
990
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, linkedServiceName: string, parameters: LinkedService, options?: LinkedServicesCreateOrUpdateOptionalParams): Promise<LinkedServicesCreateOrUpdateResponse>;
|
|
991
|
+
/**
|
|
992
|
+
* Deletes a linked service instance.
|
|
993
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
994
|
+
* @param workspaceName The name of the workspace.
|
|
995
|
+
* @param linkedServiceName Name of the linked service.
|
|
996
|
+
* @param options The options parameters.
|
|
997
|
+
*/
|
|
998
|
+
beginDelete(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options?: LinkedServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<LinkedServicesDeleteResponse>, LinkedServicesDeleteResponse>>;
|
|
999
|
+
/**
|
|
1000
|
+
* Deletes a linked service instance.
|
|
1001
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1002
|
+
* @param workspaceName The name of the workspace.
|
|
1003
|
+
* @param linkedServiceName Name of the linked service.
|
|
1004
|
+
* @param options The options parameters.
|
|
1005
|
+
*/
|
|
1006
|
+
beginDeleteAndWait(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options?: LinkedServicesDeleteOptionalParams): Promise<LinkedServicesDeleteResponse>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Gets a linked service instance.
|
|
1009
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1010
|
+
* @param workspaceName The name of the workspace.
|
|
1011
|
+
* @param linkedServiceName Name of the linked service.
|
|
1012
|
+
* @param options The options parameters.
|
|
1013
|
+
*/
|
|
1014
|
+
get(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options?: LinkedServicesGetOptionalParams): Promise<LinkedServicesGetResponse>;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/** Optional parameters. */
|
|
1018
|
+
export declare interface LinkedServicesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1019
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1020
|
+
updateIntervalInMs?: number;
|
|
1021
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1022
|
+
resumeFrom?: string;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1026
|
+
export declare type LinkedServicesCreateOrUpdateResponse = LinkedService;
|
|
1027
|
+
|
|
1028
|
+
/** Optional parameters. */
|
|
1029
|
+
export declare interface LinkedServicesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1030
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1031
|
+
updateIntervalInMs?: number;
|
|
1032
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1033
|
+
resumeFrom?: string;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
/** Contains response data for the delete operation. */
|
|
1037
|
+
export declare type LinkedServicesDeleteResponse = LinkedService;
|
|
1038
|
+
|
|
1039
|
+
/** Optional parameters. */
|
|
1040
|
+
export declare interface LinkedServicesGetOptionalParams extends coreClient.OperationOptions {
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
/** Contains response data for the get operation. */
|
|
1044
|
+
export declare type LinkedServicesGetResponse = LinkedService;
|
|
1045
|
+
|
|
1046
|
+
/** Optional parameters. */
|
|
1047
|
+
export declare interface LinkedServicesListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
1051
|
+
export declare type LinkedServicesListByWorkspaceResponse = LinkedServiceListResult;
|
|
1052
|
+
|
|
1053
|
+
/** Interface representing a LinkedStorageAccounts. */
|
|
1054
|
+
export declare interface LinkedStorageAccounts {
|
|
1055
|
+
/**
|
|
1056
|
+
* Gets all linked storage accounts associated with the specified workspace, storage accounts will be
|
|
1057
|
+
* sorted by their data source type.
|
|
1058
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1059
|
+
* @param workspaceName The name of the workspace.
|
|
1060
|
+
* @param options The options parameters.
|
|
1061
|
+
*/
|
|
1062
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: LinkedStorageAccountsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<LinkedStorageAccountsResource>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Create or Update a link relation between current workspace and a group of storage accounts of a
|
|
1065
|
+
* specific data source type.
|
|
1066
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1067
|
+
* @param workspaceName The name of the workspace.
|
|
1068
|
+
* @param dataSourceType Linked storage accounts type.
|
|
1069
|
+
* @param parameters The parameters required to create or update linked storage accounts.
|
|
1070
|
+
* @param options The options parameters.
|
|
1071
|
+
*/
|
|
1072
|
+
createOrUpdate(resourceGroupName: string, workspaceName: string, dataSourceType: DataSourceType, parameters: LinkedStorageAccountsResource, options?: LinkedStorageAccountsCreateOrUpdateOptionalParams): Promise<LinkedStorageAccountsCreateOrUpdateResponse>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Deletes all linked storage accounts of a specific data source type associated with the specified
|
|
1075
|
+
* workspace.
|
|
1076
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1077
|
+
* @param workspaceName The name of the workspace.
|
|
1078
|
+
* @param dataSourceType Linked storage accounts type.
|
|
1079
|
+
* @param options The options parameters.
|
|
1080
|
+
*/
|
|
1081
|
+
delete(resourceGroupName: string, workspaceName: string, dataSourceType: DataSourceType, options?: LinkedStorageAccountsDeleteOptionalParams): Promise<void>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Gets all linked storage account of a specific data source type associated with the specified
|
|
1084
|
+
* workspace.
|
|
1085
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1086
|
+
* @param workspaceName The name of the workspace.
|
|
1087
|
+
* @param dataSourceType Linked storage accounts type.
|
|
1088
|
+
* @param options The options parameters.
|
|
1089
|
+
*/
|
|
1090
|
+
get(resourceGroupName: string, workspaceName: string, dataSourceType: DataSourceType, options?: LinkedStorageAccountsGetOptionalParams): Promise<LinkedStorageAccountsGetResponse>;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
/** Optional parameters. */
|
|
1094
|
+
export declare interface LinkedStorageAccountsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1098
|
+
export declare type LinkedStorageAccountsCreateOrUpdateResponse = LinkedStorageAccountsResource;
|
|
1099
|
+
|
|
1100
|
+
/** Optional parameters. */
|
|
1101
|
+
export declare interface LinkedStorageAccountsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
/** Optional parameters. */
|
|
1105
|
+
export declare interface LinkedStorageAccountsGetOptionalParams extends coreClient.OperationOptions {
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
/** Contains response data for the get operation. */
|
|
1109
|
+
export declare type LinkedStorageAccountsGetResponse = LinkedStorageAccountsResource;
|
|
1110
|
+
|
|
1111
|
+
/** Optional parameters. */
|
|
1112
|
+
export declare interface LinkedStorageAccountsListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
1116
|
+
export declare type LinkedStorageAccountsListByWorkspaceResponse = LinkedStorageAccountsListResult;
|
|
1117
|
+
|
|
1118
|
+
/** The list linked storage accounts service operation response. */
|
|
1119
|
+
export declare interface LinkedStorageAccountsListResult {
|
|
1120
|
+
/** A list of linked storage accounts instances. */
|
|
1121
|
+
value?: LinkedStorageAccountsResource[];
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
/** Linked storage accounts top level resource container. */
|
|
1125
|
+
export declare type LinkedStorageAccountsResource = ProxyResource & {
|
|
1126
|
+
/**
|
|
1127
|
+
* Linked storage accounts type.
|
|
1128
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1129
|
+
*/
|
|
1130
|
+
readonly dataSourceType?: DataSourceType;
|
|
1131
|
+
/** Linked storage accounts resources ids. */
|
|
1132
|
+
storageAccountIds?: string[];
|
|
1133
|
+
};
|
|
1134
|
+
|
|
1135
|
+
/** A management group that is connected to a workspace */
|
|
1136
|
+
export declare interface ManagementGroup {
|
|
1137
|
+
/** The number of servers connected to the management group. */
|
|
1138
|
+
serverCount?: number;
|
|
1139
|
+
/** Gets or sets a value indicating whether the management group is a gateway. */
|
|
1140
|
+
isGateway?: boolean;
|
|
1141
|
+
/** The name of the management group. */
|
|
1142
|
+
name?: string;
|
|
1143
|
+
/** The unique ID of the management group. */
|
|
1144
|
+
id?: string;
|
|
1145
|
+
/** The datetime that the management group was created. */
|
|
1146
|
+
created?: Date;
|
|
1147
|
+
/** The last datetime that the management group received data. */
|
|
1148
|
+
dataReceived?: Date;
|
|
1149
|
+
/** The version of System Center that is managing the management group. */
|
|
1150
|
+
version?: string;
|
|
1151
|
+
/** The SKU of System Center that is managing the management group. */
|
|
1152
|
+
sku?: string;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/** Interface representing a ManagementGroups. */
|
|
1156
|
+
export declare interface ManagementGroups {
|
|
1157
|
+
/**
|
|
1158
|
+
* Gets a list of management groups connected to a workspace.
|
|
1159
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1160
|
+
* @param workspaceName The name of the workspace.
|
|
1161
|
+
* @param options The options parameters.
|
|
1162
|
+
*/
|
|
1163
|
+
list(resourceGroupName: string, workspaceName: string, options?: ManagementGroupsListOptionalParams): PagedAsyncIterableIterator<ManagementGroup>;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
/** Optional parameters. */
|
|
1167
|
+
export declare interface ManagementGroupsListOptionalParams extends coreClient.OperationOptions {
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
/** Contains response data for the list operation. */
|
|
1171
|
+
export declare type ManagementGroupsListResponse = WorkspaceListManagementGroupsResult;
|
|
1172
|
+
|
|
1173
|
+
/** The name of a metric. */
|
|
1174
|
+
export declare interface MetricName {
|
|
1175
|
+
/** The system name of the metric. */
|
|
1176
|
+
value?: string;
|
|
1177
|
+
/** The localized name of the metric. */
|
|
1178
|
+
localizedValue?: string;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/** Supported operation of OperationalInsights resource provider. */
|
|
1182
|
+
export declare interface Operation {
|
|
1183
|
+
/** Operation name: {provider}/{resource}/{operation} */
|
|
1184
|
+
name?: string;
|
|
1185
|
+
/** Display metadata associated with the operation. */
|
|
1186
|
+
display?: OperationDisplay;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
export declare class OperationalInsightsManagementClient extends OperationalInsightsManagementClientContext {
|
|
1190
|
+
/**
|
|
1191
|
+
* Initializes a new instance of the OperationalInsightsManagementClient class.
|
|
1192
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1193
|
+
* @param subscriptionId The ID of the target subscription.
|
|
1194
|
+
* @param options The parameter options
|
|
1195
|
+
*/
|
|
1196
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: OperationalInsightsManagementClientOptionalParams);
|
|
1197
|
+
dataExports: DataExports;
|
|
1198
|
+
dataSources: DataSources;
|
|
1199
|
+
intelligencePacks: IntelligencePacks;
|
|
1200
|
+
linkedServices: LinkedServices;
|
|
1201
|
+
linkedStorageAccounts: LinkedStorageAccounts;
|
|
1202
|
+
managementGroups: ManagementGroups;
|
|
1203
|
+
operationStatuses: OperationStatuses;
|
|
1204
|
+
sharedKeysOperations: SharedKeysOperations;
|
|
1205
|
+
usages: Usages;
|
|
1206
|
+
storageInsightConfigs: StorageInsightConfigs;
|
|
1207
|
+
savedSearches: SavedSearches;
|
|
1208
|
+
availableServiceTiers: AvailableServiceTiers;
|
|
1209
|
+
gateways: Gateways;
|
|
1210
|
+
schema: Schema;
|
|
1211
|
+
workspacePurge: WorkspacePurge;
|
|
1212
|
+
operations: Operations;
|
|
1213
|
+
clusters: Clusters;
|
|
1214
|
+
workspaces: Workspaces;
|
|
1215
|
+
deletedWorkspaces: DeletedWorkspaces;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
export declare class OperationalInsightsManagementClientContext extends coreClient.ServiceClient {
|
|
1219
|
+
$host: string;
|
|
1220
|
+
subscriptionId: string;
|
|
1221
|
+
/**
|
|
1222
|
+
* Initializes a new instance of the OperationalInsightsManagementClientContext class.
|
|
1223
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1224
|
+
* @param subscriptionId The ID of the target subscription.
|
|
1225
|
+
* @param options The parameter options
|
|
1226
|
+
*/
|
|
1227
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: OperationalInsightsManagementClientOptionalParams);
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
/** Optional parameters. */
|
|
1231
|
+
export declare interface OperationalInsightsManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
1232
|
+
/** server parameter */
|
|
1233
|
+
$host?: string;
|
|
1234
|
+
/** Overrides client endpoint. */
|
|
1235
|
+
endpoint?: string;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/** Display metadata associated with the operation. */
|
|
1239
|
+
export declare interface OperationDisplay {
|
|
1240
|
+
/** Service provider: Microsoft OperationsManagement. */
|
|
1241
|
+
provider?: string;
|
|
1242
|
+
/** Resource on which the operation is performed etc. */
|
|
1243
|
+
resource?: string;
|
|
1244
|
+
/** Type of operation: get, read, delete, etc. */
|
|
1245
|
+
operation?: string;
|
|
1246
|
+
/** Description of operation */
|
|
1247
|
+
description?: string;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
/** Result of the request to list solution operations. */
|
|
1251
|
+
export declare interface OperationListResult {
|
|
1252
|
+
/** List of solution operations supported by the OperationsManagement resource provider. */
|
|
1253
|
+
value?: Operation[];
|
|
1254
|
+
/**
|
|
1255
|
+
* URL to get the next set of operation list results if there are any.
|
|
1256
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1257
|
+
*/
|
|
1258
|
+
readonly nextLink?: string;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
/** Interface representing a Operations. */
|
|
1262
|
+
export declare interface Operations {
|
|
1263
|
+
/**
|
|
1264
|
+
* Lists all of the available OperationalInsights Rest API operations.
|
|
1265
|
+
* @param options The options parameters.
|
|
1266
|
+
*/
|
|
1267
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
/** Optional parameters. */
|
|
1271
|
+
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
/** Contains response data for the listNext operation. */
|
|
1275
|
+
export declare type OperationsListNextResponse = OperationListResult;
|
|
1276
|
+
|
|
1277
|
+
/** Optional parameters. */
|
|
1278
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
/** Contains response data for the list operation. */
|
|
1282
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
1283
|
+
|
|
1284
|
+
/** The status of operation. */
|
|
1285
|
+
export declare interface OperationStatus {
|
|
1286
|
+
/** The operation Id. */
|
|
1287
|
+
id?: string;
|
|
1288
|
+
/** The operation name. */
|
|
1289
|
+
name?: string;
|
|
1290
|
+
/** The start time of the operation. */
|
|
1291
|
+
startTime?: string;
|
|
1292
|
+
/** The end time of the operation. */
|
|
1293
|
+
endTime?: string;
|
|
1294
|
+
/** The status of the operation. */
|
|
1295
|
+
status?: string;
|
|
1296
|
+
/** The error detail of the operation if any. */
|
|
1297
|
+
error?: ErrorResponse;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
/** Interface representing a OperationStatuses. */
|
|
1301
|
+
export declare interface OperationStatuses {
|
|
1302
|
+
/**
|
|
1303
|
+
* Get the status of a long running azure asynchronous operation.
|
|
1304
|
+
* @param location The region name of operation.
|
|
1305
|
+
* @param asyncOperationId The operation Id.
|
|
1306
|
+
* @param options The options parameters.
|
|
1307
|
+
*/
|
|
1308
|
+
get(location: string, asyncOperationId: string, options?: OperationStatusesGetOptionalParams): Promise<OperationStatusesGetResponse>;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
/** Optional parameters. */
|
|
1312
|
+
export declare interface OperationStatusesGetOptionalParams extends coreClient.OperationOptions {
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
/** Contains response data for the get operation. */
|
|
1316
|
+
export declare type OperationStatusesGetResponse = OperationStatus;
|
|
1317
|
+
|
|
1318
|
+
/** The private link scope resource reference. */
|
|
1319
|
+
export declare interface PrivateLinkScopedResource {
|
|
1320
|
+
/** The full resource Id of the private link scope resource. */
|
|
1321
|
+
resourceId?: string;
|
|
1322
|
+
/** The private link scope unique Identifier. */
|
|
1323
|
+
scopeId?: string;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
1327
|
+
export declare type ProxyResource = Resource & {};
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* Defines values for PublicNetworkAccessType. \
|
|
1331
|
+
* {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType,
|
|
1332
|
+
* this enum contains the known values that the service supports.
|
|
1333
|
+
* ### Known values supported by the service
|
|
1334
|
+
* **Enabled**: Enables connectivity to Log Analytics through public DNS. \
|
|
1335
|
+
* **Disabled**: Disables public connectivity to Log Analytics through public DNS.
|
|
1336
|
+
*/
|
|
1337
|
+
export declare type PublicNetworkAccessType = string;
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* Defines values for PurgeState. \
|
|
1341
|
+
* {@link KnownPurgeState} can be used interchangeably with PurgeState,
|
|
1342
|
+
* this enum contains the known values that the service supports.
|
|
1343
|
+
* ### Known values supported by the service
|
|
1344
|
+
* **pending** \
|
|
1345
|
+
* **completed**
|
|
1346
|
+
*/
|
|
1347
|
+
export declare type PurgeState = string;
|
|
1348
|
+
|
|
1349
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
1350
|
+
export declare interface Resource {
|
|
1351
|
+
/**
|
|
1352
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
1353
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1354
|
+
*/
|
|
1355
|
+
readonly id?: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* The name of the resource
|
|
1358
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1359
|
+
*/
|
|
1360
|
+
readonly name?: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
1363
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1364
|
+
*/
|
|
1365
|
+
readonly type?: string;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
/** Value object for saved search results. */
|
|
1369
|
+
export declare type SavedSearch = ProxyResource & {
|
|
1370
|
+
/** The ETag of the saved search. To override an existing saved search, use "*" or specify the current Etag */
|
|
1371
|
+
etag?: string;
|
|
1372
|
+
/** The category of the saved search. This helps the user to find a saved search faster. */
|
|
1373
|
+
category: string;
|
|
1374
|
+
/** Saved search display name. */
|
|
1375
|
+
displayName: string;
|
|
1376
|
+
/** The query expression for the saved search. */
|
|
1377
|
+
query: string;
|
|
1378
|
+
/** The function alias if query serves as a function. */
|
|
1379
|
+
functionAlias?: string;
|
|
1380
|
+
/** The optional function parameters if query serves as a function. Value should be in the following format: 'param-name1:type1 = default_value1, param-name2:type2 = default_value2'. For more examples and proper syntax please refer to https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions. */
|
|
1381
|
+
functionParameters?: string;
|
|
1382
|
+
/** The version number of the query language. The current version is 2 and is the default. */
|
|
1383
|
+
version?: number;
|
|
1384
|
+
/** The tags attached to the saved search. */
|
|
1385
|
+
tags?: Tag[];
|
|
1386
|
+
};
|
|
1387
|
+
|
|
1388
|
+
/** Interface representing a SavedSearches. */
|
|
1389
|
+
export declare interface SavedSearches {
|
|
1390
|
+
/**
|
|
1391
|
+
* Deletes the specified saved search in a given workspace.
|
|
1392
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1393
|
+
* @param workspaceName The name of the workspace.
|
|
1394
|
+
* @param savedSearchId The id of the saved search.
|
|
1395
|
+
* @param options The options parameters.
|
|
1396
|
+
*/
|
|
1397
|
+
delete(resourceGroupName: string, workspaceName: string, savedSearchId: string, options?: SavedSearchesDeleteOptionalParams): Promise<void>;
|
|
1398
|
+
/**
|
|
1399
|
+
* Creates or updates a saved search for a given workspace.
|
|
1400
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1401
|
+
* @param workspaceName The name of the workspace.
|
|
1402
|
+
* @param savedSearchId The id of the saved search.
|
|
1403
|
+
* @param parameters The parameters required to save a search.
|
|
1404
|
+
* @param options The options parameters.
|
|
1405
|
+
*/
|
|
1406
|
+
createOrUpdate(resourceGroupName: string, workspaceName: string, savedSearchId: string, parameters: SavedSearch, options?: SavedSearchesCreateOrUpdateOptionalParams): Promise<SavedSearchesCreateOrUpdateResponse>;
|
|
1407
|
+
/**
|
|
1408
|
+
* Gets the specified saved search for a given workspace.
|
|
1409
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1410
|
+
* @param workspaceName The name of the workspace.
|
|
1411
|
+
* @param savedSearchId The id of the saved search.
|
|
1412
|
+
* @param options The options parameters.
|
|
1413
|
+
*/
|
|
1414
|
+
get(resourceGroupName: string, workspaceName: string, savedSearchId: string, options?: SavedSearchesGetOptionalParams): Promise<SavedSearchesGetResponse>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Gets the saved searches for a given Log Analytics Workspace
|
|
1417
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1418
|
+
* @param workspaceName The name of the workspace.
|
|
1419
|
+
* @param options The options parameters.
|
|
1420
|
+
*/
|
|
1421
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: SavedSearchesListByWorkspaceOptionalParams): Promise<SavedSearchesListByWorkspaceResponse>;
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
/** Optional parameters. */
|
|
1425
|
+
export declare interface SavedSearchesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1429
|
+
export declare type SavedSearchesCreateOrUpdateResponse = SavedSearch;
|
|
1430
|
+
|
|
1431
|
+
/** Optional parameters. */
|
|
1432
|
+
export declare interface SavedSearchesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/** Optional parameters. */
|
|
1436
|
+
export declare interface SavedSearchesGetOptionalParams extends coreClient.OperationOptions {
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
/** Contains response data for the get operation. */
|
|
1440
|
+
export declare type SavedSearchesGetResponse = SavedSearch;
|
|
1441
|
+
|
|
1442
|
+
/** Optional parameters. */
|
|
1443
|
+
export declare interface SavedSearchesListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
1447
|
+
export declare type SavedSearchesListByWorkspaceResponse = SavedSearchesListResult;
|
|
1448
|
+
|
|
1449
|
+
/** The saved search list operation response. */
|
|
1450
|
+
export declare interface SavedSearchesListResult {
|
|
1451
|
+
/** The array of result values. */
|
|
1452
|
+
value?: SavedSearch[];
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
/** Interface representing a Schema. */
|
|
1456
|
+
export declare interface Schema {
|
|
1457
|
+
/**
|
|
1458
|
+
* Gets the schema for a given workspace.
|
|
1459
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1460
|
+
* @param workspaceName The name of the workspace.
|
|
1461
|
+
* @param options The options parameters.
|
|
1462
|
+
*/
|
|
1463
|
+
get(resourceGroupName: string, workspaceName: string, options?: SchemaGetOptionalParams): Promise<SchemaGetResponse>;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
/** Optional parameters. */
|
|
1467
|
+
export declare interface SchemaGetOptionalParams extends coreClient.OperationOptions {
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
/** Contains response data for the get operation. */
|
|
1471
|
+
export declare type SchemaGetResponse = SearchGetSchemaResponse;
|
|
1472
|
+
|
|
1473
|
+
/** The get schema operation response. */
|
|
1474
|
+
export declare interface SearchGetSchemaResponse {
|
|
1475
|
+
/** The metadata from search results. */
|
|
1476
|
+
metadata?: SearchMetadata;
|
|
1477
|
+
/** The array of result values. */
|
|
1478
|
+
value?: SearchSchemaValue[];
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
/** Metadata for search results. */
|
|
1482
|
+
export declare interface SearchMetadata {
|
|
1483
|
+
/** The request id of the search. */
|
|
1484
|
+
searchId?: string;
|
|
1485
|
+
/** The search result type. */
|
|
1486
|
+
resultType?: string;
|
|
1487
|
+
/** The total number of search results. */
|
|
1488
|
+
total?: number;
|
|
1489
|
+
/** The number of top search results. */
|
|
1490
|
+
top?: number;
|
|
1491
|
+
/** The id of the search results request. */
|
|
1492
|
+
id?: string;
|
|
1493
|
+
/** The core summaries. */
|
|
1494
|
+
coreSummaries?: CoreSummary[];
|
|
1495
|
+
/** The status of the search results. */
|
|
1496
|
+
status?: string;
|
|
1497
|
+
/** The start time for the search. */
|
|
1498
|
+
startTime?: Date;
|
|
1499
|
+
/** The time of last update. */
|
|
1500
|
+
lastUpdated?: Date;
|
|
1501
|
+
/** The ETag of the search results. */
|
|
1502
|
+
eTag?: string;
|
|
1503
|
+
/** How the results are sorted. */
|
|
1504
|
+
sort?: SearchSort[];
|
|
1505
|
+
/** The request time. */
|
|
1506
|
+
requestTime?: number;
|
|
1507
|
+
/** The aggregated value field. */
|
|
1508
|
+
aggregatedValueField?: string;
|
|
1509
|
+
/** The aggregated grouping fields. */
|
|
1510
|
+
aggregatedGroupingFields?: string;
|
|
1511
|
+
/** The sum of all aggregates returned in the result set. */
|
|
1512
|
+
sum?: number;
|
|
1513
|
+
/** The max of all aggregates returned in the result set. */
|
|
1514
|
+
max?: number;
|
|
1515
|
+
/** The schema. */
|
|
1516
|
+
schema?: SearchMetadataSchema;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
/** Schema metadata for search. */
|
|
1520
|
+
export declare interface SearchMetadataSchema {
|
|
1521
|
+
/** The name of the metadata schema. */
|
|
1522
|
+
name?: string;
|
|
1523
|
+
/** The version of the metadata schema. */
|
|
1524
|
+
version?: number;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
/** Value object for schema results. */
|
|
1528
|
+
export declare interface SearchSchemaValue {
|
|
1529
|
+
/** The name of the schema. */
|
|
1530
|
+
name?: string;
|
|
1531
|
+
/** The display name of the schema. */
|
|
1532
|
+
displayName?: string;
|
|
1533
|
+
/** The type. */
|
|
1534
|
+
type?: string;
|
|
1535
|
+
/** The boolean that indicates the field is searchable as free text. */
|
|
1536
|
+
indexed: boolean;
|
|
1537
|
+
/** The boolean that indicates whether or not the field is stored. */
|
|
1538
|
+
stored: boolean;
|
|
1539
|
+
/** The boolean that indicates whether or not the field is a facet. */
|
|
1540
|
+
facet: boolean;
|
|
1541
|
+
/** The array of workflows containing the field. */
|
|
1542
|
+
ownerType?: string[];
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
/** The sort parameters for search. */
|
|
1546
|
+
export declare interface SearchSort {
|
|
1547
|
+
/** The name of the field the search query is sorted on. */
|
|
1548
|
+
name?: string;
|
|
1549
|
+
/** The sort order of the search. */
|
|
1550
|
+
order?: SearchSortEnum;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* Defines values for SearchSortEnum. \
|
|
1555
|
+
* {@link KnownSearchSortEnum} can be used interchangeably with SearchSortEnum,
|
|
1556
|
+
* this enum contains the known values that the service supports.
|
|
1557
|
+
* ### Known values supported by the service
|
|
1558
|
+
* **asc** \
|
|
1559
|
+
* **desc**
|
|
1560
|
+
*/
|
|
1561
|
+
export declare type SearchSortEnum = string;
|
|
1562
|
+
|
|
1563
|
+
/** The shared keys for a workspace. */
|
|
1564
|
+
export declare interface SharedKeys {
|
|
1565
|
+
/** The primary shared key of a workspace. */
|
|
1566
|
+
primarySharedKey?: string;
|
|
1567
|
+
/** The secondary shared key of a workspace. */
|
|
1568
|
+
secondarySharedKey?: string;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
/** Optional parameters. */
|
|
1572
|
+
export declare interface SharedKeysGetSharedKeysOptionalParams extends coreClient.OperationOptions {
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
/** Contains response data for the getSharedKeys operation. */
|
|
1576
|
+
export declare type SharedKeysGetSharedKeysResponse = SharedKeys;
|
|
1577
|
+
|
|
1578
|
+
/** Interface representing a SharedKeysOperations. */
|
|
1579
|
+
export declare interface SharedKeysOperations {
|
|
1580
|
+
/**
|
|
1581
|
+
* Gets the shared keys for a workspace.
|
|
1582
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1583
|
+
* @param workspaceName The name of the workspace.
|
|
1584
|
+
* @param options The options parameters.
|
|
1585
|
+
*/
|
|
1586
|
+
getSharedKeys(resourceGroupName: string, workspaceName: string, options?: SharedKeysGetSharedKeysOptionalParams): Promise<SharedKeysGetSharedKeysResponse>;
|
|
1587
|
+
/**
|
|
1588
|
+
* Regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft
|
|
1589
|
+
* Operational Insights agents to the workspace.
|
|
1590
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1591
|
+
* @param workspaceName The name of the workspace.
|
|
1592
|
+
* @param options The options parameters.
|
|
1593
|
+
*/
|
|
1594
|
+
regenerate(resourceGroupName: string, workspaceName: string, options?: SharedKeysRegenerateOptionalParams): Promise<SharedKeysRegenerateResponse>;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
/** Optional parameters. */
|
|
1598
|
+
export declare interface SharedKeysRegenerateOptionalParams extends coreClient.OperationOptions {
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
/** Contains response data for the regenerate operation. */
|
|
1602
|
+
export declare type SharedKeysRegenerateResponse = SharedKeys;
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* Defines values for SkuNameEnum. \
|
|
1606
|
+
* {@link KnownSkuNameEnum} can be used interchangeably with SkuNameEnum,
|
|
1607
|
+
* this enum contains the known values that the service supports.
|
|
1608
|
+
* ### Known values supported by the service
|
|
1609
|
+
* **Free** \
|
|
1610
|
+
* **Standard** \
|
|
1611
|
+
* **Premium** \
|
|
1612
|
+
* **PerNode** \
|
|
1613
|
+
* **PerGB2018** \
|
|
1614
|
+
* **Standalone** \
|
|
1615
|
+
* **CapacityReservation**
|
|
1616
|
+
*/
|
|
1617
|
+
export declare type SkuNameEnum = string;
|
|
1618
|
+
|
|
1619
|
+
/** Describes a storage account connection. */
|
|
1620
|
+
export declare interface StorageAccount {
|
|
1621
|
+
/** The Azure Resource Manager ID of the storage account resource. */
|
|
1622
|
+
id: string;
|
|
1623
|
+
/** The storage account key. */
|
|
1624
|
+
key: string;
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
/** The top level storage insight resource container. */
|
|
1628
|
+
export declare type StorageInsight = ProxyResource & {
|
|
1629
|
+
/** The ETag of the storage insight. */
|
|
1630
|
+
eTag?: string;
|
|
1631
|
+
/** Resource tags. */
|
|
1632
|
+
tags?: {
|
|
1633
|
+
[propertyName: string]: string;
|
|
1634
|
+
};
|
|
1635
|
+
/** The names of the blob containers that the workspace should read */
|
|
1636
|
+
containers?: string[];
|
|
1637
|
+
/** The names of the Azure tables that the workspace should read */
|
|
1638
|
+
tables?: string[];
|
|
1639
|
+
/** The storage account connection details */
|
|
1640
|
+
storageAccount?: StorageAccount;
|
|
1641
|
+
/**
|
|
1642
|
+
* The status of the storage insight
|
|
1643
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1644
|
+
*/
|
|
1645
|
+
readonly status?: StorageInsightStatus;
|
|
1646
|
+
};
|
|
1647
|
+
|
|
1648
|
+
/** Interface representing a StorageInsightConfigs. */
|
|
1649
|
+
export declare interface StorageInsightConfigs {
|
|
1650
|
+
/**
|
|
1651
|
+
* Lists the storage insight instances within a workspace
|
|
1652
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1653
|
+
* @param workspaceName The name of the workspace.
|
|
1654
|
+
* @param options The options parameters.
|
|
1655
|
+
*/
|
|
1656
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: StorageInsightConfigsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<StorageInsight>;
|
|
1657
|
+
/**
|
|
1658
|
+
* Create or update a storage insight.
|
|
1659
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1660
|
+
* @param workspaceName The name of the workspace.
|
|
1661
|
+
* @param storageInsightName Name of the storageInsightsConfigs resource
|
|
1662
|
+
* @param parameters The parameters required to create or update a storage insight.
|
|
1663
|
+
* @param options The options parameters.
|
|
1664
|
+
*/
|
|
1665
|
+
createOrUpdate(resourceGroupName: string, workspaceName: string, storageInsightName: string, parameters: StorageInsight, options?: StorageInsightConfigsCreateOrUpdateOptionalParams): Promise<StorageInsightConfigsCreateOrUpdateResponse>;
|
|
1666
|
+
/**
|
|
1667
|
+
* Gets a storage insight instance.
|
|
1668
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1669
|
+
* @param workspaceName The name of the workspace.
|
|
1670
|
+
* @param storageInsightName Name of the storageInsightsConfigs resource
|
|
1671
|
+
* @param options The options parameters.
|
|
1672
|
+
*/
|
|
1673
|
+
get(resourceGroupName: string, workspaceName: string, storageInsightName: string, options?: StorageInsightConfigsGetOptionalParams): Promise<StorageInsightConfigsGetResponse>;
|
|
1674
|
+
/**
|
|
1675
|
+
* Deletes a storageInsightsConfigs resource
|
|
1676
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1677
|
+
* @param workspaceName The name of the workspace.
|
|
1678
|
+
* @param storageInsightName Name of the storageInsightsConfigs resource
|
|
1679
|
+
* @param options The options parameters.
|
|
1680
|
+
*/
|
|
1681
|
+
delete(resourceGroupName: string, workspaceName: string, storageInsightName: string, options?: StorageInsightConfigsDeleteOptionalParams): Promise<void>;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
/** Optional parameters. */
|
|
1685
|
+
export declare interface StorageInsightConfigsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1689
|
+
export declare type StorageInsightConfigsCreateOrUpdateResponse = StorageInsight;
|
|
1690
|
+
|
|
1691
|
+
/** Optional parameters. */
|
|
1692
|
+
export declare interface StorageInsightConfigsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
/** Optional parameters. */
|
|
1696
|
+
export declare interface StorageInsightConfigsGetOptionalParams extends coreClient.OperationOptions {
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
/** Contains response data for the get operation. */
|
|
1700
|
+
export declare type StorageInsightConfigsGetResponse = StorageInsight;
|
|
1701
|
+
|
|
1702
|
+
/** Optional parameters. */
|
|
1703
|
+
export declare interface StorageInsightConfigsListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
/** Contains response data for the listByWorkspaceNext operation. */
|
|
1707
|
+
export declare type StorageInsightConfigsListByWorkspaceNextResponse = StorageInsightListResult;
|
|
1708
|
+
|
|
1709
|
+
/** Optional parameters. */
|
|
1710
|
+
export declare interface StorageInsightConfigsListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
1714
|
+
export declare type StorageInsightConfigsListByWorkspaceResponse = StorageInsightListResult;
|
|
1715
|
+
|
|
1716
|
+
/** The list storage insights operation response. */
|
|
1717
|
+
export declare interface StorageInsightListResult {
|
|
1718
|
+
/** A list of storage insight items. */
|
|
1719
|
+
value?: StorageInsight[];
|
|
1720
|
+
/** The link (url) to the next page of results. */
|
|
1721
|
+
odataNextLink?: string;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* Defines values for StorageInsightState. \
|
|
1726
|
+
* {@link KnownStorageInsightState} can be used interchangeably with StorageInsightState,
|
|
1727
|
+
* this enum contains the known values that the service supports.
|
|
1728
|
+
* ### Known values supported by the service
|
|
1729
|
+
* **OK** \
|
|
1730
|
+
* **ERROR**
|
|
1731
|
+
*/
|
|
1732
|
+
export declare type StorageInsightState = string;
|
|
1733
|
+
|
|
1734
|
+
/** The status of the storage insight. */
|
|
1735
|
+
export declare interface StorageInsightStatus {
|
|
1736
|
+
/** The state of the storage insight connection to the workspace */
|
|
1737
|
+
state: StorageInsightState;
|
|
1738
|
+
/** Description of the state of the storage insight. */
|
|
1739
|
+
description?: string;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
/** A tag of a saved search. */
|
|
1743
|
+
export declare interface Tag {
|
|
1744
|
+
/** The tag name. */
|
|
1745
|
+
name: string;
|
|
1746
|
+
/** The tag value. */
|
|
1747
|
+
value: string;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
1751
|
+
export declare type TrackedResource = Resource & {
|
|
1752
|
+
/** Resource tags. */
|
|
1753
|
+
tags?: {
|
|
1754
|
+
[propertyName: string]: string;
|
|
1755
|
+
};
|
|
1756
|
+
/** The geo-location where the resource lives */
|
|
1757
|
+
location: string;
|
|
1758
|
+
};
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* Defines values for Type. \
|
|
1762
|
+
* {@link KnownType} can be used interchangeably with Type,
|
|
1763
|
+
* this enum contains the known values that the service supports.
|
|
1764
|
+
* ### Known values supported by the service
|
|
1765
|
+
* **StorageAccount** \
|
|
1766
|
+
* **EventHub**
|
|
1767
|
+
*/
|
|
1768
|
+
export declare type Type = string;
|
|
1769
|
+
|
|
1770
|
+
/** A metric describing the usage of a resource. */
|
|
1771
|
+
export declare interface UsageMetric {
|
|
1772
|
+
/** The name of the metric. */
|
|
1773
|
+
name?: MetricName;
|
|
1774
|
+
/** The units used for the metric. */
|
|
1775
|
+
unit?: string;
|
|
1776
|
+
/** The current value of the metric. */
|
|
1777
|
+
currentValue?: number;
|
|
1778
|
+
/** The quota limit for the metric. */
|
|
1779
|
+
limit?: number;
|
|
1780
|
+
/** The time that the metric's value will reset. */
|
|
1781
|
+
nextResetTime?: Date;
|
|
1782
|
+
/** The quota period that determines the length of time between value resets. */
|
|
1783
|
+
quotaPeriod?: string;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
/** Interface representing a Usages. */
|
|
1787
|
+
export declare interface Usages {
|
|
1788
|
+
/**
|
|
1789
|
+
* Gets a list of usage metrics for a workspace.
|
|
1790
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1791
|
+
* @param workspaceName The name of the workspace.
|
|
1792
|
+
* @param options The options parameters.
|
|
1793
|
+
*/
|
|
1794
|
+
list(resourceGroupName: string, workspaceName: string, options?: UsagesListOptionalParams): PagedAsyncIterableIterator<UsageMetric>;
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
/** Optional parameters. */
|
|
1798
|
+
export declare interface UsagesListOptionalParams extends coreClient.OperationOptions {
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
/** Contains response data for the list operation. */
|
|
1802
|
+
export declare type UsagesListResponse = WorkspaceListUsagesResult;
|
|
1803
|
+
|
|
1804
|
+
/** User assigned identity properties. */
|
|
1805
|
+
export declare interface UserIdentityProperties {
|
|
1806
|
+
/**
|
|
1807
|
+
* The principal id of user assigned identity.
|
|
1808
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1809
|
+
*/
|
|
1810
|
+
readonly principalId?: string;
|
|
1811
|
+
/**
|
|
1812
|
+
* The client id of user assigned identity.
|
|
1813
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1814
|
+
*/
|
|
1815
|
+
readonly clientId?: string;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
/** The top level Workspace resource container. */
|
|
1819
|
+
export declare type Workspace = TrackedResource & {
|
|
1820
|
+
/** The ETag of the workspace. */
|
|
1821
|
+
eTag?: string;
|
|
1822
|
+
/** The provisioning state of the workspace. */
|
|
1823
|
+
provisioningState?: WorkspaceEntityStatus;
|
|
1824
|
+
/**
|
|
1825
|
+
* This is a read-only property. Represents the ID associated with the workspace.
|
|
1826
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1827
|
+
*/
|
|
1828
|
+
readonly customerId?: string;
|
|
1829
|
+
/** The SKU of the workspace. */
|
|
1830
|
+
sku?: WorkspaceSku;
|
|
1831
|
+
/** The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details. */
|
|
1832
|
+
retentionInDays?: number;
|
|
1833
|
+
/** The daily volume cap for ingestion. */
|
|
1834
|
+
workspaceCapping?: WorkspaceCapping;
|
|
1835
|
+
/**
|
|
1836
|
+
* Workspace creation date.
|
|
1837
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1838
|
+
*/
|
|
1839
|
+
readonly createdDate?: string;
|
|
1840
|
+
/**
|
|
1841
|
+
* Workspace modification date.
|
|
1842
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1843
|
+
*/
|
|
1844
|
+
readonly modifiedDate?: string;
|
|
1845
|
+
/** The network access type for accessing Log Analytics ingestion. */
|
|
1846
|
+
publicNetworkAccessForIngestion?: PublicNetworkAccessType;
|
|
1847
|
+
/** The network access type for accessing Log Analytics query. */
|
|
1848
|
+
publicNetworkAccessForQuery?: PublicNetworkAccessType;
|
|
1849
|
+
/** Indicates whether customer managed storage is mandatory for query management. */
|
|
1850
|
+
forceCmkForQuery?: boolean;
|
|
1851
|
+
/**
|
|
1852
|
+
* List of linked private link scope resources.
|
|
1853
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1854
|
+
*/
|
|
1855
|
+
readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
|
|
1856
|
+
/** Workspace features. */
|
|
1857
|
+
features?: WorkspaceFeatures;
|
|
1858
|
+
};
|
|
1859
|
+
|
|
1860
|
+
/** The daily volume cap for ingestion. */
|
|
1861
|
+
export declare interface WorkspaceCapping {
|
|
1862
|
+
/** The workspace daily quota for ingestion. */
|
|
1863
|
+
dailyQuotaGb?: number;
|
|
1864
|
+
/**
|
|
1865
|
+
* The time when the quota will be rest.
|
|
1866
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1867
|
+
*/
|
|
1868
|
+
readonly quotaNextResetTime?: string;
|
|
1869
|
+
/**
|
|
1870
|
+
* The status of data ingestion for this workspace.
|
|
1871
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1872
|
+
*/
|
|
1873
|
+
readonly dataIngestionStatus?: DataIngestionStatus;
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* Defines values for WorkspaceEntityStatus. \
|
|
1878
|
+
* {@link KnownWorkspaceEntityStatus} can be used interchangeably with WorkspaceEntityStatus,
|
|
1879
|
+
* this enum contains the known values that the service supports.
|
|
1880
|
+
* ### Known values supported by the service
|
|
1881
|
+
* **Creating** \
|
|
1882
|
+
* **Succeeded** \
|
|
1883
|
+
* **Failed** \
|
|
1884
|
+
* **Canceled** \
|
|
1885
|
+
* **Deleting** \
|
|
1886
|
+
* **ProvisioningAccount** \
|
|
1887
|
+
* **Updating**
|
|
1888
|
+
*/
|
|
1889
|
+
export declare type WorkspaceEntityStatus = string;
|
|
1890
|
+
|
|
1891
|
+
/** Workspace features. */
|
|
1892
|
+
export declare interface WorkspaceFeatures {
|
|
1893
|
+
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
1894
|
+
[property: string]: any;
|
|
1895
|
+
/** Flag that indicate if data should be exported. */
|
|
1896
|
+
enableDataExport?: boolean;
|
|
1897
|
+
/** Flag that describes if we want to remove the data after 30 days. */
|
|
1898
|
+
immediatePurgeDataOn30Days?: boolean;
|
|
1899
|
+
/** Flag that indicate which permission to use - resource or workspace or both. */
|
|
1900
|
+
enableLogAccessUsingOnlyResourcePermissions?: boolean;
|
|
1901
|
+
/** Dedicated LA cluster resourceId that is linked to the workspaces. */
|
|
1902
|
+
clusterResourceId?: string;
|
|
1903
|
+
/** Disable Non-AAD based Auth. */
|
|
1904
|
+
disableLocalAuth?: boolean;
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
/** The list workspace management groups operation response. */
|
|
1908
|
+
export declare interface WorkspaceListManagementGroupsResult {
|
|
1909
|
+
/** Gets or sets a list of management groups attached to the workspace. */
|
|
1910
|
+
value?: ManagementGroup[];
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
/** The list workspaces operation response. */
|
|
1914
|
+
export declare interface WorkspaceListResult {
|
|
1915
|
+
/** A list of workspaces. */
|
|
1916
|
+
value?: Workspace[];
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
/** The list workspace usages operation response. */
|
|
1920
|
+
export declare interface WorkspaceListUsagesResult {
|
|
1921
|
+
/** Gets or sets a list of usage metrics for a workspace. */
|
|
1922
|
+
value?: UsageMetric[];
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
/** The top level Workspace resource container. */
|
|
1926
|
+
export declare type WorkspacePatch = AzureEntityResource & {
|
|
1927
|
+
/** Resource tags. Optional. */
|
|
1928
|
+
tags?: {
|
|
1929
|
+
[propertyName: string]: string;
|
|
1930
|
+
};
|
|
1931
|
+
/** The provisioning state of the workspace. */
|
|
1932
|
+
provisioningState?: WorkspaceEntityStatus;
|
|
1933
|
+
/**
|
|
1934
|
+
* This is a read-only property. Represents the ID associated with the workspace.
|
|
1935
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1936
|
+
*/
|
|
1937
|
+
readonly customerId?: string;
|
|
1938
|
+
/** The SKU of the workspace. */
|
|
1939
|
+
sku?: WorkspaceSku;
|
|
1940
|
+
/** The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details. */
|
|
1941
|
+
retentionInDays?: number;
|
|
1942
|
+
/** The daily volume cap for ingestion. */
|
|
1943
|
+
workspaceCapping?: WorkspaceCapping;
|
|
1944
|
+
/**
|
|
1945
|
+
* Workspace creation date.
|
|
1946
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1947
|
+
*/
|
|
1948
|
+
readonly createdDate?: string;
|
|
1949
|
+
/**
|
|
1950
|
+
* Workspace modification date.
|
|
1951
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1952
|
+
*/
|
|
1953
|
+
readonly modifiedDate?: string;
|
|
1954
|
+
/** The network access type for accessing Log Analytics ingestion. */
|
|
1955
|
+
publicNetworkAccessForIngestion?: PublicNetworkAccessType;
|
|
1956
|
+
/** The network access type for accessing Log Analytics query. */
|
|
1957
|
+
publicNetworkAccessForQuery?: PublicNetworkAccessType;
|
|
1958
|
+
/** Indicates whether customer managed storage is mandatory for query management. */
|
|
1959
|
+
forceCmkForQuery?: boolean;
|
|
1960
|
+
/**
|
|
1961
|
+
* List of linked private link scope resources.
|
|
1962
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1963
|
+
*/
|
|
1964
|
+
readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
|
|
1965
|
+
/** Workspace features. */
|
|
1966
|
+
features?: WorkspaceFeatures;
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
/** Interface representing a WorkspacePurge. */
|
|
1970
|
+
export declare interface WorkspacePurge {
|
|
1971
|
+
/**
|
|
1972
|
+
* Purges data in an Log Analytics workspace by a set of user-defined filters.
|
|
1973
|
+
*
|
|
1974
|
+
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You
|
|
1975
|
+
* should batch the execution of purge requests by sending a single command whose predicate includes
|
|
1976
|
+
* all user identities that require purging. Use the in operator to specify multiple identities. You
|
|
1977
|
+
* should run the query prior to using for a purge request to verify that the results are expected.
|
|
1978
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1979
|
+
* @param workspaceName The name of the workspace.
|
|
1980
|
+
* @param body Describes the body of a request to purge data in a single table of an Log Analytics
|
|
1981
|
+
* Workspace
|
|
1982
|
+
* @param options The options parameters.
|
|
1983
|
+
*/
|
|
1984
|
+
purge(resourceGroupName: string, workspaceName: string, body: WorkspacePurgeBody, options?: WorkspacePurgePurgeOptionalParams): Promise<WorkspacePurgePurgeResponse>;
|
|
1985
|
+
/**
|
|
1986
|
+
* Gets status of an ongoing purge operation.
|
|
1987
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1988
|
+
* @param workspaceName The name of the workspace.
|
|
1989
|
+
* @param purgeId In a purge status request, this is the Id of the operation the status of which is
|
|
1990
|
+
* returned.
|
|
1991
|
+
* @param options The options parameters.
|
|
1992
|
+
*/
|
|
1993
|
+
getPurgeStatus(resourceGroupName: string, workspaceName: string, purgeId: string, options?: WorkspacePurgeGetPurgeStatusOptionalParams): Promise<WorkspacePurgeGetPurgeStatusResponse>;
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
/** Describes the body of a purge request for an App Insights Workspace */
|
|
1997
|
+
export declare interface WorkspacePurgeBody {
|
|
1998
|
+
/** Table from which to purge data. */
|
|
1999
|
+
table: string;
|
|
2000
|
+
/** The set of columns and filters (queries) to run over them to purge the resulting data. */
|
|
2001
|
+
filters: WorkspacePurgeBodyFilters[];
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
/** User-defined filters to return data which will be purged from the table. */
|
|
2005
|
+
export declare interface WorkspacePurgeBodyFilters {
|
|
2006
|
+
/** The column of the table over which the given query should run */
|
|
2007
|
+
column?: string;
|
|
2008
|
+
/** A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL query. */
|
|
2009
|
+
operator?: string;
|
|
2010
|
+
/** the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values. */
|
|
2011
|
+
value?: any;
|
|
2012
|
+
/** When filtering over custom dimensions, this key will be used as the name of the custom dimension. */
|
|
2013
|
+
key?: string;
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
/** Optional parameters. */
|
|
2017
|
+
export declare interface WorkspacePurgeGetPurgeStatusOptionalParams extends coreClient.OperationOptions {
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
/** Contains response data for the getPurgeStatus operation. */
|
|
2021
|
+
export declare type WorkspacePurgeGetPurgeStatusResponse = WorkspacePurgeStatusResponse;
|
|
2022
|
+
|
|
2023
|
+
/** Defines headers for WorkspacePurge_purge operation. */
|
|
2024
|
+
export declare interface WorkspacePurgePurgeHeaders {
|
|
2025
|
+
/** The location from which to request the operation status. */
|
|
2026
|
+
xMsStatusLocation?: string;
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
/** Optional parameters. */
|
|
2030
|
+
export declare interface WorkspacePurgePurgeOptionalParams extends coreClient.OperationOptions {
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
/** Contains response data for the purge operation. */
|
|
2034
|
+
export declare type WorkspacePurgePurgeResponse = WorkspacePurgePurgeHeaders & WorkspacePurgeResponse;
|
|
2035
|
+
|
|
2036
|
+
/** Response containing operationId for a specific purge action. */
|
|
2037
|
+
export declare interface WorkspacePurgeResponse {
|
|
2038
|
+
/** Id to use when querying for status for a particular purge operation. */
|
|
2039
|
+
operationId: string;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
/** Response containing status for a specific purge operation. */
|
|
2043
|
+
export declare interface WorkspacePurgeStatusResponse {
|
|
2044
|
+
/** Status of the operation represented by the requested Id. */
|
|
2045
|
+
status: PurgeState;
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2048
|
+
/** Interface representing a Workspaces. */
|
|
2049
|
+
export declare interface Workspaces {
|
|
2050
|
+
/**
|
|
2051
|
+
* Gets the workspaces in a subscription.
|
|
2052
|
+
* @param options The options parameters.
|
|
2053
|
+
*/
|
|
2054
|
+
list(options?: WorkspacesListOptionalParams): PagedAsyncIterableIterator<Workspace>;
|
|
2055
|
+
/**
|
|
2056
|
+
* Gets workspaces in a resource group.
|
|
2057
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2058
|
+
* @param options The options parameters.
|
|
2059
|
+
*/
|
|
2060
|
+
listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Workspace>;
|
|
2061
|
+
/**
|
|
2062
|
+
* Create or update a workspace.
|
|
2063
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2064
|
+
* @param workspaceName The name of the workspace.
|
|
2065
|
+
* @param parameters The parameters required to create or update a workspace.
|
|
2066
|
+
* @param options The options parameters.
|
|
2067
|
+
*/
|
|
2068
|
+
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacesCreateOrUpdateResponse>, WorkspacesCreateOrUpdateResponse>>;
|
|
2069
|
+
/**
|
|
2070
|
+
* Create or update a workspace.
|
|
2071
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2072
|
+
* @param workspaceName The name of the workspace.
|
|
2073
|
+
* @param parameters The parameters required to create or update a workspace.
|
|
2074
|
+
* @param options The options parameters.
|
|
2075
|
+
*/
|
|
2076
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<WorkspacesCreateOrUpdateResponse>;
|
|
2077
|
+
/**
|
|
2078
|
+
* Deletes a workspace resource. To recover the workspace, create it again with the same name, in the
|
|
2079
|
+
* same subscription, resource group and location. The name is kept for 14 days and cannot be used for
|
|
2080
|
+
* another workspace. To remove the workspace completely and release the name, use the force flag.
|
|
2081
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2082
|
+
* @param workspaceName The name of the workspace.
|
|
2083
|
+
* @param options The options parameters.
|
|
2084
|
+
*/
|
|
2085
|
+
beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
2086
|
+
/**
|
|
2087
|
+
* Deletes a workspace resource. To recover the workspace, create it again with the same name, in the
|
|
2088
|
+
* same subscription, resource group and location. The name is kept for 14 days and cannot be used for
|
|
2089
|
+
* another workspace. To remove the workspace completely and release the name, use the force flag.
|
|
2090
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2091
|
+
* @param workspaceName The name of the workspace.
|
|
2092
|
+
* @param options The options parameters.
|
|
2093
|
+
*/
|
|
2094
|
+
beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
|
|
2095
|
+
/**
|
|
2096
|
+
* Gets a workspace instance.
|
|
2097
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2098
|
+
* @param workspaceName The name of the workspace.
|
|
2099
|
+
* @param options The options parameters.
|
|
2100
|
+
*/
|
|
2101
|
+
get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
|
|
2102
|
+
/**
|
|
2103
|
+
* Updates a workspace.
|
|
2104
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2105
|
+
* @param workspaceName The name of the workspace.
|
|
2106
|
+
* @param parameters The parameters required to patch a workspace.
|
|
2107
|
+
* @param options The options parameters.
|
|
2108
|
+
*/
|
|
2109
|
+
update(resourceGroupName: string, workspaceName: string, parameters: WorkspacePatch, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
/** Optional parameters. */
|
|
2113
|
+
export declare interface WorkspacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2114
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2115
|
+
updateIntervalInMs?: number;
|
|
2116
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2117
|
+
resumeFrom?: string;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
2121
|
+
export declare type WorkspacesCreateOrUpdateResponse = Workspace;
|
|
2122
|
+
|
|
2123
|
+
/** Optional parameters. */
|
|
2124
|
+
export declare interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
2125
|
+
/** Deletes the workspace without the recovery option. A workspace that was deleted with this flag cannot be recovered. */
|
|
2126
|
+
force?: boolean;
|
|
2127
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2128
|
+
updateIntervalInMs?: number;
|
|
2129
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2130
|
+
resumeFrom?: string;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
/** Optional parameters. */
|
|
2134
|
+
export declare interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
/** Contains response data for the get operation. */
|
|
2138
|
+
export declare type WorkspacesGetResponse = Workspace;
|
|
2139
|
+
|
|
2140
|
+
/** The SKU (tier) of a workspace. */
|
|
2141
|
+
export declare interface WorkspaceSku {
|
|
2142
|
+
/** The name of the SKU. */
|
|
2143
|
+
name: WorkspaceSkuNameEnum;
|
|
2144
|
+
/** The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected. */
|
|
2145
|
+
capacityReservationLevel?: CapacityReservationLevel;
|
|
2146
|
+
/**
|
|
2147
|
+
* The last time when the sku was updated.
|
|
2148
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2149
|
+
*/
|
|
2150
|
+
readonly lastSkuUpdate?: string;
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* Defines values for WorkspaceSkuNameEnum. \
|
|
2155
|
+
* {@link KnownWorkspaceSkuNameEnum} can be used interchangeably with WorkspaceSkuNameEnum,
|
|
2156
|
+
* this enum contains the known values that the service supports.
|
|
2157
|
+
* ### Known values supported by the service
|
|
2158
|
+
* **Free** \
|
|
2159
|
+
* **Standard** \
|
|
2160
|
+
* **Premium** \
|
|
2161
|
+
* **PerNode** \
|
|
2162
|
+
* **PerGB2018** \
|
|
2163
|
+
* **Standalone** \
|
|
2164
|
+
* **CapacityReservation** \
|
|
2165
|
+
* **LACluster**
|
|
2166
|
+
*/
|
|
2167
|
+
export declare type WorkspaceSkuNameEnum = string;
|
|
2168
|
+
|
|
2169
|
+
/** Optional parameters. */
|
|
2170
|
+
export declare interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
2174
|
+
export declare type WorkspacesListByResourceGroupResponse = WorkspaceListResult;
|
|
2175
|
+
|
|
2176
|
+
/** Optional parameters. */
|
|
2177
|
+
export declare interface WorkspacesListOptionalParams extends coreClient.OperationOptions {
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
/** Contains response data for the list operation. */
|
|
2181
|
+
export declare type WorkspacesListResponse = WorkspaceListResult;
|
|
2182
|
+
|
|
2183
|
+
/** Optional parameters. */
|
|
2184
|
+
export declare interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
/** Contains response data for the update operation. */
|
|
2188
|
+
export declare type WorkspacesUpdateResponse = Workspace;
|
|
2189
|
+
|
|
2190
|
+
export { }
|