@azure/arm-streamanalytics 3.0.0 → 4.0.0
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 +11 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -84
- package/dist/index.js +6818 -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 +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -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 +1940 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +132 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +155 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1412 -2137
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +34 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +260 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/clusters.d.ts +137 -0
- package/dist-esm/src/operations/clusters.d.ts.map +1 -0
- package/dist-esm/src/operations/clusters.js +627 -0
- package/dist-esm/src/operations/clusters.js.map +1 -0
- package/dist-esm/src/operations/functions.d.ts +107 -0
- package/dist-esm/src/operations/functions.d.ts.map +1 -0
- package/dist-esm/src/operations/functions.js +416 -0
- package/dist-esm/src/operations/functions.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +4 -4
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +5 -6
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/inputs.d.ts +94 -0
- package/dist-esm/src/operations/inputs.d.ts.map +1 -0
- package/dist-esm/src/operations/inputs.js +377 -0
- package/dist-esm/src/operations/inputs.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/outputs.d.ts +95 -0
- package/dist-esm/src/operations/outputs.d.ts.map +1 -0
- package/dist-esm/src/operations/outputs.js +378 -0
- package/dist-esm/src/operations/outputs.js.map +1 -0
- package/dist-esm/src/operations/privateEndpoints.d.ts +73 -0
- package/dist-esm/src/operations/privateEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpoints.js +295 -0
- package/dist-esm/src/operations/privateEndpoints.js.map +1 -0
- package/dist-esm/src/operations/streamingJobs.d.ts +151 -0
- package/dist-esm/src/operations/streamingJobs.d.ts.map +1 -0
- package/dist-esm/src/operations/streamingJobs.js +692 -0
- package/dist-esm/src/operations/streamingJobs.js.map +1 -0
- package/dist-esm/src/operations/subscriptions.d.ts +21 -0
- package/dist-esm/src/operations/subscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/subscriptions.js +53 -0
- package/dist-esm/src/operations/subscriptions.js.map +1 -0
- package/dist-esm/src/operations/transformations.d.ts +46 -0
- package/dist-esm/src/operations/transformations.d.ts.map +1 -0
- package/dist-esm/src/operations/transformations.js +160 -0
- package/dist-esm/src/operations/transformations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +84 -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/functions.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/functions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/functions.js +9 -0
- package/dist-esm/src/operationsInterfaces/functions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +17 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/inputs.d.ts +69 -0
- package/dist-esm/src/operationsInterfaces/inputs.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/inputs.js} +2 -1
- package/dist-esm/src/operationsInterfaces/inputs.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/outputs.d.ts +70 -0
- package/dist-esm/src/operationsInterfaces/outputs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/outputs.js +9 -0
- package/dist-esm/src/operationsInterfaces/outputs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts +115 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.js +9 -0
- package/dist-esm/src/operationsInterfaces/streamingJobs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/transformations.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/transformations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/transformations.js +9 -0
- package/dist-esm/src/operationsInterfaces/transformations.js.map +1 -0
- package/dist-esm/src/streamAnalyticsManagementClient.d.ts +26 -0
- package/dist-esm/src/streamAnalyticsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/streamAnalyticsManagementClient.js +59 -0
- package/dist-esm/src/streamAnalyticsManagementClient.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 +65 -32
- package/review/arm-streamanalytics.api.md +1598 -0
- package/rollup.config.js +181 -30
- package/src/{models/operationsMappers.ts → index.ts} +4 -12
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1943 -4505
- package/src/models/mappers.ts +1393 -2127
- package/src/models/parameters.ts +180 -90
- package/src/operations/clusters.ts +640 -393
- package/src/operations/functions.ts +366 -375
- package/src/operations/index.ts +5 -6
- package/src/operations/inputs.ts +337 -326
- package/src/operations/operations.ts +85 -73
- package/src/operations/outputs.ts +337 -325
- package/src/operations/privateEndpoints.ts +276 -209
- package/src/operations/streamingJobs.ts +686 -398
- package/src/operations/subscriptions.ts +36 -376
- package/src/operations/transformations.ts +104 -162
- package/src/operationsInterfaces/clusters.ts +157 -0
- package/src/operationsInterfaces/functions.ts +148 -0
- package/src/operationsInterfaces/index.ts +17 -0
- package/src/operationsInterfaces/inputs.ts +128 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/outputs.ts +129 -0
- package/src/operationsInterfaces/privateEndpoints.ts +90 -0
- package/src/operationsInterfaces/streamingJobs.ts +199 -0
- package/src/operationsInterfaces/subscriptions.ts +27 -0
- package/src/operationsInterfaces/transformations.ts +71 -0
- package/src/streamAnalyticsManagementClient.ts +97 -49
- package/tsconfig.json +3 -3
- package/types/arm-streamanalytics.d.ts +2730 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-streamanalytics.js +0 -7772
- package/dist/arm-streamanalytics.js.map +0 -1
- package/dist/arm-streamanalytics.min.js +0 -1
- package/dist/arm-streamanalytics.min.js.map +0 -1
- package/esm/models/clustersMappers.d.ts +0 -2
- package/esm/models/clustersMappers.d.ts.map +0 -1
- package/esm/models/clustersMappers.js +0 -9
- package/esm/models/clustersMappers.js.map +0 -1
- package/esm/models/functionsMappers.d.ts +0 -2
- package/esm/models/functionsMappers.d.ts.map +0 -1
- package/esm/models/functionsMappers.js +0 -9
- package/esm/models/functionsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4514
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/inputsMappers.d.ts +0 -2
- package/esm/models/inputsMappers.d.ts.map +0 -1
- package/esm/models/inputsMappers.js +0 -9
- package/esm/models/inputsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -185
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/outputsMappers.d.ts +0 -2
- package/esm/models/outputsMappers.d.ts.map +0 -1
- package/esm/models/outputsMappers.js +0 -9
- package/esm/models/outputsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -20
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -216
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointsMappers.d.ts +0 -2
- package/esm/models/privateEndpointsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointsMappers.js +0 -9
- package/esm/models/privateEndpointsMappers.js.map +0 -1
- package/esm/models/streamingJobsMappers.d.ts +0 -2
- package/esm/models/streamingJobsMappers.d.ts.map +0 -1
- package/esm/models/streamingJobsMappers.js +0 -9
- package/esm/models/streamingJobsMappers.js.map +0 -1
- package/esm/models/subscriptionsMappers.d.ts +0 -2
- package/esm/models/subscriptionsMappers.d.ts.map +0 -1
- package/esm/models/subscriptionsMappers.js +0 -9
- package/esm/models/subscriptionsMappers.js.map +0 -1
- package/esm/models/transformationsMappers.d.ts +0 -2
- package/esm/models/transformationsMappers.d.ts.map +0 -1
- package/esm/models/transformationsMappers.js +0 -9
- package/esm/models/transformationsMappers.js.map +0 -1
- package/esm/operations/clusters.d.ts +0 -201
- package/esm/operations/clusters.d.ts.map +0 -1
- package/esm/operations/clusters.js +0 -406
- package/esm/operations/clusters.js.map +0 -1
- package/esm/operations/functions.d.ts +0 -215
- package/esm/operations/functions.d.ts.map +0 -1
- package/esm/operations/functions.js +0 -348
- package/esm/operations/functions.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/inputs.d.ts +0 -189
- package/esm/operations/inputs.d.ts.map +0 -1
- package/esm/operations/inputs.js +0 -306
- package/esm/operations/inputs.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/outputs.d.ts +0 -189
- package/esm/operations/outputs.d.ts.map +0 -1
- package/esm/operations/outputs.js +0 -306
- package/esm/operations/outputs.js.map +0 -1
- package/esm/operations/privateEndpoints.d.ts +0 -125
- package/esm/operations/privateEndpoints.d.ts.map +0 -1
- package/esm/operations/privateEndpoints.js +0 -216
- package/esm/operations/privateEndpoints.js.map +0 -1
- package/esm/operations/streamingJobs.d.ts +0 -210
- package/esm/operations/streamingJobs.d.ts.map +0 -1
- package/esm/operations/streamingJobs.js +0 -440
- package/esm/operations/streamingJobs.js.map +0 -1
- package/esm/operations/subscriptions.d.ts +0 -138
- package/esm/operations/subscriptions.d.ts.map +0 -1
- package/esm/operations/subscriptions.js +0 -311
- package/esm/operations/subscriptions.js.map +0 -1
- package/esm/operations/transformations.d.ts +0 -106
- package/esm/operations/transformations.d.ts.map +0 -1
- package/esm/operations/transformations.js +0 -149
- package/esm/operations/transformations.js.map +0 -1
- package/esm/streamAnalyticsManagementClient.d.ts +0 -32
- package/esm/streamAnalyticsManagementClient.d.ts.map +0 -1
- package/esm/streamAnalyticsManagementClient.js +0 -45
- package/esm/streamAnalyticsManagementClient.js.map +0 -1
- package/esm/streamAnalyticsManagementClientContext.d.ts +0 -21
- package/esm/streamAnalyticsManagementClientContext.d.ts.map +0 -1
- package/esm/streamAnalyticsManagementClientContext.js +0 -59
- package/esm/streamAnalyticsManagementClientContext.js.map +0 -1
- package/src/models/clustersMappers.ts +0 -96
- package/src/models/functionsMappers.ts +0 -104
- package/src/models/inputsMappers.ts +0 -99
- package/src/models/outputsMappers.ts +0 -99
- package/src/models/privateEndpointsMappers.ts +0 -94
- package/src/models/streamingJobsMappers.ts +0 -98
- package/src/models/subscriptionsMappers.ts +0 -104
- package/src/models/transformationsMappers.ts +0 -96
- package/src/streamAnalyticsManagementClientContext.ts +0 -65
|
@@ -0,0 +1,2730 @@
|
|
|
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
|
+
/**
|
|
8
|
+
* Defines values for AuthenticationMode. \
|
|
9
|
+
* {@link KnownAuthenticationMode} can be used interchangeably with AuthenticationMode,
|
|
10
|
+
* this enum contains the known values that the service supports.
|
|
11
|
+
* ### Known values supported by the service
|
|
12
|
+
* **Msi** \
|
|
13
|
+
* **UserToken** \
|
|
14
|
+
* **ConnectionString**
|
|
15
|
+
*/
|
|
16
|
+
export declare type AuthenticationMode = string;
|
|
17
|
+
|
|
18
|
+
/** Describes how data from an input is serialized or how data is serialized when written to an output in Avro format. */
|
|
19
|
+
export declare type AvroSerialization = Serialization & {
|
|
20
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
21
|
+
type: "Avro";
|
|
22
|
+
/** The properties that are associated with the Avro serialization type. Required on PUT (CreateOrReplace) requests. */
|
|
23
|
+
properties?: Record<string, unknown>;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** Describes an Azure Data Lake Store output data source. */
|
|
27
|
+
export declare type AzureDataLakeStoreOutputDataSource = OutputDataSource & {
|
|
28
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
29
|
+
type: "Microsoft.DataLake/Accounts";
|
|
30
|
+
/** A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests. */
|
|
31
|
+
refreshToken?: string;
|
|
32
|
+
/** The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
|
|
33
|
+
tokenUserPrincipalName?: string;
|
|
34
|
+
/** The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
|
|
35
|
+
tokenUserDisplayName?: string;
|
|
36
|
+
/** The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests. */
|
|
37
|
+
accountName?: string;
|
|
38
|
+
/** The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace) requests. */
|
|
39
|
+
tenantId?: string;
|
|
40
|
+
/** The location of the file to which the output should be written to. Required on PUT (CreateOrReplace) requests. */
|
|
41
|
+
filePathPrefix?: string;
|
|
42
|
+
/** The date format. Wherever {date} appears in filePathPrefix, the value of this property is used as the date format instead. */
|
|
43
|
+
dateFormat?: string;
|
|
44
|
+
/** The time format. Wherever {time} appears in filePathPrefix, the value of this property is used as the time format instead. */
|
|
45
|
+
timeFormat?: string;
|
|
46
|
+
/** Authentication Mode. */
|
|
47
|
+
authenticationMode?: AuthenticationMode;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/** The properties that are associated with an Azure Data Lake Store. */
|
|
51
|
+
export declare type AzureDataLakeStoreOutputDataSourceProperties = OAuthBasedDataSourceProperties & {
|
|
52
|
+
/** The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests. */
|
|
53
|
+
accountName?: string;
|
|
54
|
+
/** The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace) requests. */
|
|
55
|
+
tenantId?: string;
|
|
56
|
+
/** The location of the file to which the output should be written to. Required on PUT (CreateOrReplace) requests. */
|
|
57
|
+
filePathPrefix?: string;
|
|
58
|
+
/** The date format. Wherever {date} appears in filePathPrefix, the value of this property is used as the date format instead. */
|
|
59
|
+
dateFormat?: string;
|
|
60
|
+
/** The time format. Wherever {time} appears in filePathPrefix, the value of this property is used as the time format instead. */
|
|
61
|
+
timeFormat?: string;
|
|
62
|
+
/** Authentication Mode. */
|
|
63
|
+
authenticationMode?: AuthenticationMode;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/** The binding to an Azure Machine Learning web service. */
|
|
67
|
+
export declare type AzureMachineLearningWebServiceFunctionBinding = FunctionBinding & {
|
|
68
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
69
|
+
type: "Microsoft.MachineLearning/WebService";
|
|
70
|
+
/** The Request-Response execute endpoint of the Azure Machine Learning web service. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs */
|
|
71
|
+
endpoint?: string;
|
|
72
|
+
/** The API key used to authenticate with Request-Response endpoint. */
|
|
73
|
+
apiKey?: string;
|
|
74
|
+
/** The inputs for the Azure Machine Learning web service endpoint. */
|
|
75
|
+
inputs?: AzureMachineLearningWebServiceInputs;
|
|
76
|
+
/** A list of outputs from the Azure Machine Learning web service endpoint execution. */
|
|
77
|
+
outputs?: AzureMachineLearningWebServiceOutputColumn[];
|
|
78
|
+
/** Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000. */
|
|
79
|
+
batchSize?: number;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/** The parameters needed to retrieve the default function definition for an Azure Machine Learning web service function. */
|
|
83
|
+
export declare type AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters = FunctionRetrieveDefaultDefinitionParameters & {
|
|
84
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
85
|
+
bindingType: "Microsoft.MachineLearning/WebService";
|
|
86
|
+
/** The Request-Response execute endpoint of the Azure Machine Learning web service. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs */
|
|
87
|
+
executeEndpoint?: string;
|
|
88
|
+
/** The function type. */
|
|
89
|
+
udfType?: "Scalar";
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
/** Describes an input column for the Azure Machine Learning web service endpoint. */
|
|
93
|
+
export declare interface AzureMachineLearningWebServiceInputColumn {
|
|
94
|
+
/** The name of the input column. */
|
|
95
|
+
name?: string;
|
|
96
|
+
/** The (Azure Machine Learning supported) data type of the input column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx . */
|
|
97
|
+
dataType?: string;
|
|
98
|
+
/** The zero based index of the function parameter this input maps to. */
|
|
99
|
+
mapTo?: number;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** The inputs for the Azure Machine Learning web service endpoint. */
|
|
103
|
+
export declare interface AzureMachineLearningWebServiceInputs {
|
|
104
|
+
/** The name of the input. This is the name provided while authoring the endpoint. */
|
|
105
|
+
name?: string;
|
|
106
|
+
/** A list of input columns for the Azure Machine Learning web service endpoint. */
|
|
107
|
+
columnNames?: AzureMachineLearningWebServiceInputColumn[];
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/** Describes an output column for the Azure Machine Learning web service endpoint. */
|
|
111
|
+
export declare interface AzureMachineLearningWebServiceOutputColumn {
|
|
112
|
+
/** The name of the output column. */
|
|
113
|
+
name?: string;
|
|
114
|
+
/** The (Azure Machine Learning supported) data type of the output column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx . */
|
|
115
|
+
dataType?: string;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/** The properties that are associated with an Azure SQL database data source. */
|
|
119
|
+
export declare interface AzureSqlDatabaseDataSourceProperties {
|
|
120
|
+
/** The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
121
|
+
server?: string;
|
|
122
|
+
/** The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
123
|
+
database?: string;
|
|
124
|
+
/** The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
125
|
+
user?: string;
|
|
126
|
+
/** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
127
|
+
password?: string;
|
|
128
|
+
/** The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
129
|
+
table?: string;
|
|
130
|
+
/** Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT requests. */
|
|
131
|
+
maxBatchCount?: number;
|
|
132
|
+
/** Max Writer count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests. */
|
|
133
|
+
maxWriterCount?: number;
|
|
134
|
+
/** Authentication Mode. */
|
|
135
|
+
authenticationMode?: AuthenticationMode;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/** Describes an Azure SQL database output data source. */
|
|
139
|
+
export declare type AzureSqlDatabaseOutputDataSource = OutputDataSource & {
|
|
140
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
141
|
+
type: "Microsoft.Sql/Server/Database";
|
|
142
|
+
/** The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
143
|
+
server?: string;
|
|
144
|
+
/** The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
145
|
+
database?: string;
|
|
146
|
+
/** The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
147
|
+
user?: string;
|
|
148
|
+
/** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
149
|
+
password?: string;
|
|
150
|
+
/** The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
151
|
+
table?: string;
|
|
152
|
+
/** Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT requests. */
|
|
153
|
+
maxBatchCount?: number;
|
|
154
|
+
/** Max Writer count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests. */
|
|
155
|
+
maxWriterCount?: number;
|
|
156
|
+
/** Authentication Mode. */
|
|
157
|
+
authenticationMode?: AuthenticationMode;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
/** The properties that are associated with an Azure SQL database output. */
|
|
161
|
+
export declare type AzureSqlDatabaseOutputDataSourceProperties = AzureSqlDatabaseDataSourceProperties & {};
|
|
162
|
+
|
|
163
|
+
/** Describes an Azure SQL database reference input data source. */
|
|
164
|
+
export declare type AzureSqlReferenceInputDataSource = ReferenceInputDataSource & {
|
|
165
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
166
|
+
type: "Microsoft.Sql/Server/Database";
|
|
167
|
+
/** This element is associated with the datasource element. This is the name of the server that contains the database that will be written to. */
|
|
168
|
+
server?: string;
|
|
169
|
+
/** This element is associated with the datasource element. This is the name of the database that output will be written to. */
|
|
170
|
+
database?: string;
|
|
171
|
+
/** This element is associated with the datasource element. This is the user name that will be used to connect to the SQL Database instance. */
|
|
172
|
+
user?: string;
|
|
173
|
+
/** This element is associated with the datasource element. This is the password that will be used to connect to the SQL Database instance. */
|
|
174
|
+
password?: string;
|
|
175
|
+
/** This element is associated with the datasource element. The name of the table in the Azure SQL database.. */
|
|
176
|
+
table?: string;
|
|
177
|
+
/** Indicates the type of data refresh option. */
|
|
178
|
+
refreshType?: RefreshType;
|
|
179
|
+
/** This element is associated with the datasource element. This indicates how frequently the data will be fetched from the database. It is of DateTime format. */
|
|
180
|
+
refreshRate?: string;
|
|
181
|
+
/** This element is associated with the datasource element. This query is used to fetch data from the sql database. */
|
|
182
|
+
fullSnapshotQuery?: string;
|
|
183
|
+
/** This element is associated with the datasource element. This query is used to fetch incremental changes from the SQL database. To use this option, we recommend using temporal tables in Azure SQL Database. */
|
|
184
|
+
deltaSnapshotQuery?: string;
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
/** The properties that are associated with an Azure SQL database data source. */
|
|
188
|
+
export declare interface AzureSynapseDataSourceProperties {
|
|
189
|
+
/** The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
190
|
+
server?: string;
|
|
191
|
+
/** The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
192
|
+
database?: string;
|
|
193
|
+
/** The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
194
|
+
table?: string;
|
|
195
|
+
/** The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
196
|
+
user?: string;
|
|
197
|
+
/** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
198
|
+
password?: string;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/** Describes an Azure Synapse output data source. */
|
|
202
|
+
export declare type AzureSynapseOutputDataSource = OutputDataSource & {
|
|
203
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
204
|
+
type: "Microsoft.Sql/Server/DataWarehouse";
|
|
205
|
+
/** The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
206
|
+
server?: string;
|
|
207
|
+
/** The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
208
|
+
database?: string;
|
|
209
|
+
/** The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
210
|
+
table?: string;
|
|
211
|
+
/** The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
212
|
+
user?: string;
|
|
213
|
+
/** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
|
|
214
|
+
password?: string;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
/** The properties that are associated with an Azure Synapse output. */
|
|
218
|
+
export declare type AzureSynapseOutputDataSourceProperties = AzureSynapseDataSourceProperties & {};
|
|
219
|
+
|
|
220
|
+
/** Describes an Azure Table output data source. */
|
|
221
|
+
export declare type AzureTableOutputDataSource = OutputDataSource & {
|
|
222
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
223
|
+
type: "Microsoft.Storage/Table";
|
|
224
|
+
/** The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests. */
|
|
225
|
+
accountName?: string;
|
|
226
|
+
/** The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests. */
|
|
227
|
+
accountKey?: string;
|
|
228
|
+
/** The name of the Azure Table. Required on PUT (CreateOrReplace) requests. */
|
|
229
|
+
table?: string;
|
|
230
|
+
/** This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests. */
|
|
231
|
+
partitionKey?: string;
|
|
232
|
+
/** This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests. */
|
|
233
|
+
rowKey?: string;
|
|
234
|
+
/** If specified, each item in the array is the name of a column to remove (if present) from output event entities. */
|
|
235
|
+
columnsToRemove?: string[];
|
|
236
|
+
/** The number of rows to write to the Azure Table at a time. */
|
|
237
|
+
batchSize?: number;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
/** The properties that are associated with a blob data source. */
|
|
241
|
+
export declare interface BlobDataSourceProperties {
|
|
242
|
+
/** A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests. */
|
|
243
|
+
storageAccounts?: StorageAccount[];
|
|
244
|
+
/** The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests. */
|
|
245
|
+
container?: string;
|
|
246
|
+
/** The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example. */
|
|
247
|
+
pathPattern?: string;
|
|
248
|
+
/** The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead. */
|
|
249
|
+
dateFormat?: string;
|
|
250
|
+
/** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
|
|
251
|
+
timeFormat?: string;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/** Describes a blob output data source. */
|
|
255
|
+
export declare type BlobOutputDataSource = OutputDataSource & {
|
|
256
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
257
|
+
type: "Microsoft.Storage/Blob";
|
|
258
|
+
/** A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests. */
|
|
259
|
+
storageAccounts?: StorageAccount[];
|
|
260
|
+
/** The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests. */
|
|
261
|
+
container?: string;
|
|
262
|
+
/** The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example. */
|
|
263
|
+
pathPattern?: string;
|
|
264
|
+
/** The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead. */
|
|
265
|
+
dateFormat?: string;
|
|
266
|
+
/** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
|
|
267
|
+
timeFormat?: string;
|
|
268
|
+
/** Authentication Mode. */
|
|
269
|
+
authenticationMode?: AuthenticationMode;
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
/** The properties that are associated with a blob output. */
|
|
273
|
+
export declare type BlobOutputDataSourceProperties = BlobDataSourceProperties & {
|
|
274
|
+
/** Authentication Mode. */
|
|
275
|
+
authenticationMode?: AuthenticationMode;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
/** Describes a blob input data source that contains reference data. */
|
|
279
|
+
export declare type BlobReferenceInputDataSource = ReferenceInputDataSource & {
|
|
280
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
281
|
+
type: "Microsoft.Storage/Blob";
|
|
282
|
+
/** A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests. */
|
|
283
|
+
storageAccounts?: StorageAccount[];
|
|
284
|
+
/** The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests. */
|
|
285
|
+
container?: string;
|
|
286
|
+
/** The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example. */
|
|
287
|
+
pathPattern?: string;
|
|
288
|
+
/** The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead. */
|
|
289
|
+
dateFormat?: string;
|
|
290
|
+
/** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
|
|
291
|
+
timeFormat?: string;
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
/** The properties that are associated with a blob input containing reference data. */
|
|
295
|
+
export declare type BlobReferenceInputDataSourceProperties = BlobDataSourceProperties & {};
|
|
296
|
+
|
|
297
|
+
/** Describes a blob input data source that contains stream data. */
|
|
298
|
+
export declare type BlobStreamInputDataSource = StreamInputDataSource & {
|
|
299
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
300
|
+
type: "Microsoft.Storage/Blob";
|
|
301
|
+
/** A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests. */
|
|
302
|
+
storageAccounts?: StorageAccount[];
|
|
303
|
+
/** The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests. */
|
|
304
|
+
container?: string;
|
|
305
|
+
/** The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example. */
|
|
306
|
+
pathPattern?: string;
|
|
307
|
+
/** The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead. */
|
|
308
|
+
dateFormat?: string;
|
|
309
|
+
/** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
|
|
310
|
+
timeFormat?: string;
|
|
311
|
+
/** The partition count of the blob input data source. Range 1 - 256. */
|
|
312
|
+
sourcePartitionCount?: number;
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
/** The properties that are associated with a blob input containing stream data. */
|
|
316
|
+
export declare type BlobStreamInputDataSourceProperties = BlobDataSourceProperties & {
|
|
317
|
+
/** The partition count of the blob input data source. Range 1 - 256. */
|
|
318
|
+
sourcePartitionCount?: number;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
/** A Stream Analytics Cluster object */
|
|
322
|
+
export declare type Cluster = TrackedResource & {
|
|
323
|
+
/** The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests. */
|
|
324
|
+
sku?: ClusterSku;
|
|
325
|
+
/**
|
|
326
|
+
* The current entity tag for the cluster. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
|
|
327
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
328
|
+
*/
|
|
329
|
+
readonly etag?: string;
|
|
330
|
+
/**
|
|
331
|
+
* The date this cluster was created.
|
|
332
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
333
|
+
*/
|
|
334
|
+
readonly createdDate?: Date;
|
|
335
|
+
/**
|
|
336
|
+
* Unique identifier for the cluster.
|
|
337
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
338
|
+
*/
|
|
339
|
+
readonly clusterId?: string;
|
|
340
|
+
/**
|
|
341
|
+
* The status of the cluster provisioning. The three terminal states are: Succeeded, Failed and Canceled
|
|
342
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
343
|
+
*/
|
|
344
|
+
readonly provisioningState?: ClusterProvisioningState;
|
|
345
|
+
/**
|
|
346
|
+
* Represents the number of streaming units currently being used on the cluster.
|
|
347
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
348
|
+
*/
|
|
349
|
+
readonly capacityAllocated?: number;
|
|
350
|
+
/**
|
|
351
|
+
* Represents the sum of the SUs of all streaming jobs associated with the cluster. If all of the jobs were running, this would be the capacity allocated.
|
|
352
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
353
|
+
*/
|
|
354
|
+
readonly capacityAssigned?: number;
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
/** The properties associated with a Stream Analytics cluster. */
|
|
358
|
+
export declare interface ClusterInfo {
|
|
359
|
+
/** The resource id of cluster. */
|
|
360
|
+
id?: string;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/** A streaming job. */
|
|
364
|
+
export declare interface ClusterJob {
|
|
365
|
+
/**
|
|
366
|
+
* Resource ID of the streaming job.
|
|
367
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
368
|
+
*/
|
|
369
|
+
readonly id?: string;
|
|
370
|
+
/**
|
|
371
|
+
* The number of streaming units that are used by the streaming job.
|
|
372
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
373
|
+
*/
|
|
374
|
+
readonly streamingUnits?: number;
|
|
375
|
+
/**
|
|
376
|
+
* The current execution state of the streaming job.
|
|
377
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
378
|
+
*/
|
|
379
|
+
readonly jobState?: JobState;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/** A list of streaming jobs. Populated by a List operation. */
|
|
383
|
+
export declare interface ClusterJobListResult {
|
|
384
|
+
/**
|
|
385
|
+
* A list of streaming jobs.
|
|
386
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
387
|
+
*/
|
|
388
|
+
readonly value?: ClusterJob[];
|
|
389
|
+
/**
|
|
390
|
+
* The URL to fetch the next set of streaming jobs.
|
|
391
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
392
|
+
*/
|
|
393
|
+
readonly nextLink?: string;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/** A list of clusters populated by a 'list' operation. */
|
|
397
|
+
export declare interface ClusterListResult {
|
|
398
|
+
/**
|
|
399
|
+
* A list of clusters.
|
|
400
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
401
|
+
*/
|
|
402
|
+
readonly value?: Cluster[];
|
|
403
|
+
/**
|
|
404
|
+
* The URL to fetch the next set of clusters.
|
|
405
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
406
|
+
*/
|
|
407
|
+
readonly nextLink?: string;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Defines values for ClusterProvisioningState. \
|
|
412
|
+
* {@link KnownClusterProvisioningState} can be used interchangeably with ClusterProvisioningState,
|
|
413
|
+
* this enum contains the known values that the service supports.
|
|
414
|
+
* ### Known values supported by the service
|
|
415
|
+
* **Succeeded**: The cluster provisioning succeeded. \
|
|
416
|
+
* **Failed**: The cluster provisioning failed. \
|
|
417
|
+
* **Canceled**: The cluster provisioning was canceled. \
|
|
418
|
+
* **InProgress**: The cluster provisioning was inprogress.
|
|
419
|
+
*/
|
|
420
|
+
export declare type ClusterProvisioningState = string;
|
|
421
|
+
|
|
422
|
+
/** Interface representing a Clusters. */
|
|
423
|
+
export declare interface Clusters {
|
|
424
|
+
/**
|
|
425
|
+
* Lists all of the clusters in the given subscription.
|
|
426
|
+
* @param options The options parameters.
|
|
427
|
+
*/
|
|
428
|
+
listBySubscription(options?: ClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Cluster>;
|
|
429
|
+
/**
|
|
430
|
+
* Lists all of the clusters in the given resource group.
|
|
431
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
432
|
+
* @param options The options parameters.
|
|
433
|
+
*/
|
|
434
|
+
listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
|
|
435
|
+
/**
|
|
436
|
+
* Lists all of the streaming jobs in the given cluster.
|
|
437
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
438
|
+
* @param clusterName The name of the cluster.
|
|
439
|
+
* @param options The options parameters.
|
|
440
|
+
*/
|
|
441
|
+
listStreamingJobs(resourceGroupName: string, clusterName: string, options?: ClustersListStreamingJobsOptionalParams): PagedAsyncIterableIterator<ClusterJob>;
|
|
442
|
+
/**
|
|
443
|
+
* Creates a Stream Analytics Cluster or replaces an already existing cluster.
|
|
444
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
445
|
+
* @param clusterName The name of the cluster.
|
|
446
|
+
* @param cluster The definition of the cluster that will be used to create a new cluster or replace
|
|
447
|
+
* the existing one.
|
|
448
|
+
* @param options The options parameters.
|
|
449
|
+
*/
|
|
450
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, cluster: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ClustersCreateOrUpdateResponse>, ClustersCreateOrUpdateResponse>>;
|
|
451
|
+
/**
|
|
452
|
+
* Creates a Stream Analytics Cluster or replaces an already existing cluster.
|
|
453
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
454
|
+
* @param clusterName The name of the cluster.
|
|
455
|
+
* @param cluster The definition of the cluster that will be used to create a new cluster or replace
|
|
456
|
+
* the existing one.
|
|
457
|
+
* @param options The options parameters.
|
|
458
|
+
*/
|
|
459
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, cluster: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<ClustersCreateOrUpdateResponse>;
|
|
460
|
+
/**
|
|
461
|
+
* Updates an existing cluster. This can be used to partially update (ie. update one or two properties)
|
|
462
|
+
* a cluster without affecting the rest of the cluster definition.
|
|
463
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
464
|
+
* @param clusterName The name of the cluster.
|
|
465
|
+
* @param cluster The properties specified here will overwrite the corresponding properties in the
|
|
466
|
+
* existing cluster (ie. Those properties will be updated).
|
|
467
|
+
* @param options The options parameters.
|
|
468
|
+
*/
|
|
469
|
+
beginUpdate(resourceGroupName: string, clusterName: string, cluster: Cluster, options?: ClustersUpdateOptionalParams): Promise<PollerLike<PollOperationState<ClustersUpdateResponse>, ClustersUpdateResponse>>;
|
|
470
|
+
/**
|
|
471
|
+
* Updates an existing cluster. This can be used to partially update (ie. update one or two properties)
|
|
472
|
+
* a cluster without affecting the rest of the cluster definition.
|
|
473
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
474
|
+
* @param clusterName The name of the cluster.
|
|
475
|
+
* @param cluster The properties specified here will overwrite the corresponding properties in the
|
|
476
|
+
* existing cluster (ie. Those properties will be updated).
|
|
477
|
+
* @param options The options parameters.
|
|
478
|
+
*/
|
|
479
|
+
beginUpdateAndWait(resourceGroupName: string, clusterName: string, cluster: Cluster, options?: ClustersUpdateOptionalParams): Promise<ClustersUpdateResponse>;
|
|
480
|
+
/**
|
|
481
|
+
* Gets information about the specified cluster.
|
|
482
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
483
|
+
* @param clusterName The name of the cluster.
|
|
484
|
+
* @param options The options parameters.
|
|
485
|
+
*/
|
|
486
|
+
get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<ClustersGetResponse>;
|
|
487
|
+
/**
|
|
488
|
+
* Deletes the specified cluster.
|
|
489
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
490
|
+
* @param clusterName The name of the cluster.
|
|
491
|
+
* @param options The options parameters.
|
|
492
|
+
*/
|
|
493
|
+
beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
494
|
+
/**
|
|
495
|
+
* Deletes the specified cluster.
|
|
496
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
497
|
+
* @param clusterName The name of the cluster.
|
|
498
|
+
* @param options The options parameters.
|
|
499
|
+
*/
|
|
500
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/** Optional parameters. */
|
|
504
|
+
export declare interface ClustersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
505
|
+
/** The ETag of the resource. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
506
|
+
ifMatch?: string;
|
|
507
|
+
/** Set to '*' to allow a new resource to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response. */
|
|
508
|
+
ifNoneMatch?: string;
|
|
509
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
510
|
+
updateIntervalInMs?: number;
|
|
511
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
512
|
+
resumeFrom?: string;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
516
|
+
export declare type ClustersCreateOrUpdateResponse = Cluster;
|
|
517
|
+
|
|
518
|
+
/** Optional parameters. */
|
|
519
|
+
export declare interface ClustersDeleteOptionalParams extends coreClient.OperationOptions {
|
|
520
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
521
|
+
updateIntervalInMs?: number;
|
|
522
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
523
|
+
resumeFrom?: string;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/** Optional parameters. */
|
|
527
|
+
export declare interface ClustersGetOptionalParams extends coreClient.OperationOptions {
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/** Contains response data for the get operation. */
|
|
531
|
+
export declare type ClustersGetResponse = Cluster;
|
|
532
|
+
|
|
533
|
+
/** The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests. */
|
|
534
|
+
export declare interface ClusterSku {
|
|
535
|
+
/** Specifies the SKU name of the cluster. Required on PUT (CreateOrUpdate) requests. */
|
|
536
|
+
name?: ClusterSkuName;
|
|
537
|
+
/** Denotes the number of streaming units the cluster can support. Valid values for this property are multiples of 36 with a minimum value of 36 and maximum value of 216. Required on PUT (CreateOrUpdate) requests. */
|
|
538
|
+
capacity?: number;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Defines values for ClusterSkuName. \
|
|
543
|
+
* {@link KnownClusterSkuName} can be used interchangeably with ClusterSkuName,
|
|
544
|
+
* this enum contains the known values that the service supports.
|
|
545
|
+
* ### Known values supported by the service
|
|
546
|
+
* **Default**: The default SKU.
|
|
547
|
+
*/
|
|
548
|
+
export declare type ClusterSkuName = string;
|
|
549
|
+
|
|
550
|
+
/** Optional parameters. */
|
|
551
|
+
export declare interface ClustersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
555
|
+
export declare type ClustersListByResourceGroupNextResponse = ClusterListResult;
|
|
556
|
+
|
|
557
|
+
/** Optional parameters. */
|
|
558
|
+
export declare interface ClustersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
562
|
+
export declare type ClustersListByResourceGroupResponse = ClusterListResult;
|
|
563
|
+
|
|
564
|
+
/** Optional parameters. */
|
|
565
|
+
export declare interface ClustersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
569
|
+
export declare type ClustersListBySubscriptionNextResponse = ClusterListResult;
|
|
570
|
+
|
|
571
|
+
/** Optional parameters. */
|
|
572
|
+
export declare interface ClustersListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/** Contains response data for the listBySubscription operation. */
|
|
576
|
+
export declare type ClustersListBySubscriptionResponse = ClusterListResult;
|
|
577
|
+
|
|
578
|
+
/** Optional parameters. */
|
|
579
|
+
export declare interface ClustersListStreamingJobsNextOptionalParams extends coreClient.OperationOptions {
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/** Contains response data for the listStreamingJobsNext operation. */
|
|
583
|
+
export declare type ClustersListStreamingJobsNextResponse = ClusterJobListResult;
|
|
584
|
+
|
|
585
|
+
/** Optional parameters. */
|
|
586
|
+
export declare interface ClustersListStreamingJobsOptionalParams extends coreClient.OperationOptions {
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/** Contains response data for the listStreamingJobs operation. */
|
|
590
|
+
export declare type ClustersListStreamingJobsResponse = ClusterJobListResult;
|
|
591
|
+
|
|
592
|
+
/** Optional parameters. */
|
|
593
|
+
export declare interface ClustersUpdateOptionalParams extends coreClient.OperationOptions {
|
|
594
|
+
/** The ETag of the resource. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
595
|
+
ifMatch?: string;
|
|
596
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
597
|
+
updateIntervalInMs?: number;
|
|
598
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
599
|
+
resumeFrom?: string;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/** Contains response data for the update operation. */
|
|
603
|
+
export declare type ClustersUpdateResponse = Cluster;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Defines values for CompatibilityLevel. \
|
|
607
|
+
* {@link KnownCompatibilityLevel} can be used interchangeably with CompatibilityLevel,
|
|
608
|
+
* this enum contains the known values that the service supports.
|
|
609
|
+
* ### Known values supported by the service
|
|
610
|
+
* **1.0** \
|
|
611
|
+
* **1.2**
|
|
612
|
+
*/
|
|
613
|
+
export declare type CompatibilityLevel = string;
|
|
614
|
+
|
|
615
|
+
/** Describes how input data is compressed */
|
|
616
|
+
export declare interface Compression {
|
|
617
|
+
/** Indicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests. */
|
|
618
|
+
type: CompressionType;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* Defines values for CompressionType. \
|
|
623
|
+
* {@link KnownCompressionType} can be used interchangeably with CompressionType,
|
|
624
|
+
* this enum contains the known values that the service supports.
|
|
625
|
+
* ### Known values supported by the service
|
|
626
|
+
* **None** \
|
|
627
|
+
* **GZip** \
|
|
628
|
+
* **Deflate**
|
|
629
|
+
*/
|
|
630
|
+
export declare type CompressionType = string;
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Defines values for ContentStoragePolicy. \
|
|
634
|
+
* {@link KnownContentStoragePolicy} can be used interchangeably with ContentStoragePolicy,
|
|
635
|
+
* this enum contains the known values that the service supports.
|
|
636
|
+
* ### Known values supported by the service
|
|
637
|
+
* **SystemAccount** \
|
|
638
|
+
* **JobStorageAccount**
|
|
639
|
+
*/
|
|
640
|
+
export declare type ContentStoragePolicy = string;
|
|
641
|
+
|
|
642
|
+
/** Describes how data from an input is serialized or how data is serialized when written to an output in CSV format. */
|
|
643
|
+
export declare type CsvSerialization = Serialization & {
|
|
644
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
645
|
+
type: "Csv";
|
|
646
|
+
/** Specifies the delimiter that will be used to separate comma-separated value (CSV) records. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a list of supported values. Required on PUT (CreateOrReplace) requests. */
|
|
647
|
+
fieldDelimiter?: string;
|
|
648
|
+
/** Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests. */
|
|
649
|
+
encoding?: Encoding;
|
|
650
|
+
};
|
|
651
|
+
|
|
652
|
+
/** Condition applicable to the resource, or to the job overall, that warrant customer attention. */
|
|
653
|
+
export declare interface DiagnosticCondition {
|
|
654
|
+
/**
|
|
655
|
+
* The UTC timestamp of when the condition started. Customers should be able to find a corresponding event in the ops log around this time.
|
|
656
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
657
|
+
*/
|
|
658
|
+
readonly since?: string;
|
|
659
|
+
/**
|
|
660
|
+
* The opaque diagnostic code.
|
|
661
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
662
|
+
*/
|
|
663
|
+
readonly code?: string;
|
|
664
|
+
/**
|
|
665
|
+
* The human-readable message describing the condition in detail. Localized in the Accept-Language of the client request.
|
|
666
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
667
|
+
*/
|
|
668
|
+
readonly message?: string;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
/** Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention. */
|
|
672
|
+
export declare interface Diagnostics {
|
|
673
|
+
/**
|
|
674
|
+
* A collection of zero or more conditions applicable to the resource, or to the job overall, that warrant customer attention.
|
|
675
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
676
|
+
*/
|
|
677
|
+
readonly conditions?: DiagnosticCondition[];
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/** Describes a DocumentDB output data source. */
|
|
681
|
+
export declare type DocumentDbOutputDataSource = OutputDataSource & {
|
|
682
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
683
|
+
type: "Microsoft.Storage/DocumentDB";
|
|
684
|
+
/** The DocumentDB account name or ID. Required on PUT (CreateOrReplace) requests. */
|
|
685
|
+
accountId?: string;
|
|
686
|
+
/** The account key for the DocumentDB account. Required on PUT (CreateOrReplace) requests. */
|
|
687
|
+
accountKey?: string;
|
|
688
|
+
/** The name of the DocumentDB database. Required on PUT (CreateOrReplace) requests. */
|
|
689
|
+
database?: string;
|
|
690
|
+
/** The collection name pattern for the collections to be used. The collection name format can be constructed using the optional {partition} token, where partitions start from 0. See the DocumentDB section of https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for more information. Required on PUT (CreateOrReplace) requests. */
|
|
691
|
+
collectionNamePattern?: string;
|
|
692
|
+
/** The name of the field in output events used to specify the key for partitioning output across collections. If 'collectionNamePattern' contains the {partition} token, this property is required to be specified. */
|
|
693
|
+
partitionKey?: string;
|
|
694
|
+
/** The name of the field in output events used to specify the primary key which insert or update operations are based on. */
|
|
695
|
+
documentId?: string;
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Defines values for Encoding. \
|
|
700
|
+
* {@link KnownEncoding} can be used interchangeably with Encoding,
|
|
701
|
+
* this enum contains the known values that the service supports.
|
|
702
|
+
* ### Known values supported by the service
|
|
703
|
+
* **UTF8**
|
|
704
|
+
*/
|
|
705
|
+
export declare type Encoding = string;
|
|
706
|
+
|
|
707
|
+
/** Common error details representation. */
|
|
708
|
+
export declare interface ErrorDetails {
|
|
709
|
+
/** Error code. */
|
|
710
|
+
code?: string;
|
|
711
|
+
/** Error target. */
|
|
712
|
+
target?: string;
|
|
713
|
+
/** Error message. */
|
|
714
|
+
message?: string;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/** Error definition properties. */
|
|
718
|
+
export declare interface ErrorError {
|
|
719
|
+
/** Error code. */
|
|
720
|
+
code?: string;
|
|
721
|
+
/** Error message. */
|
|
722
|
+
message?: string;
|
|
723
|
+
/** Error target. */
|
|
724
|
+
target?: string;
|
|
725
|
+
/** Error details. */
|
|
726
|
+
details?: ErrorDetails[];
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/** Common error representation. */
|
|
730
|
+
export declare interface ErrorModel {
|
|
731
|
+
/** Error definition properties. */
|
|
732
|
+
error?: ErrorError;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/** Describes the error that occurred. */
|
|
736
|
+
export declare interface ErrorResponse {
|
|
737
|
+
/**
|
|
738
|
+
* Error code associated with the error that occurred.
|
|
739
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
740
|
+
*/
|
|
741
|
+
readonly code?: string;
|
|
742
|
+
/**
|
|
743
|
+
* Describes the error in detail.
|
|
744
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
745
|
+
*/
|
|
746
|
+
readonly message?: string;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
/** The common properties that are associated with Event Hub data sources. */
|
|
750
|
+
export declare type EventHubDataSourceProperties = ServiceBusDataSourceProperties & {
|
|
751
|
+
/** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
|
|
752
|
+
eventHubName?: string;
|
|
753
|
+
};
|
|
754
|
+
|
|
755
|
+
/** Describes an Event Hub output data source. */
|
|
756
|
+
export declare type EventHubOutputDataSource = OutputDataSource & {
|
|
757
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
758
|
+
type: "Microsoft.ServiceBus/EventHub";
|
|
759
|
+
/** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
760
|
+
serviceBusNamespace?: string;
|
|
761
|
+
/** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
762
|
+
sharedAccessPolicyName?: string;
|
|
763
|
+
/** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
|
|
764
|
+
sharedAccessPolicyKey?: string;
|
|
765
|
+
/** Authentication Mode. */
|
|
766
|
+
authenticationMode?: AuthenticationMode;
|
|
767
|
+
/** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
|
|
768
|
+
eventHubName?: string;
|
|
769
|
+
/** The key/column that is used to determine to which partition to send event data. */
|
|
770
|
+
partitionKey?: string;
|
|
771
|
+
/** The properties associated with this Event Hub output. */
|
|
772
|
+
propertyColumns?: string[];
|
|
773
|
+
};
|
|
774
|
+
|
|
775
|
+
/** The properties that are associated with an Event Hub output. */
|
|
776
|
+
export declare type EventHubOutputDataSourceProperties = EventHubDataSourceProperties & {
|
|
777
|
+
/** The key/column that is used to determine to which partition to send event data. */
|
|
778
|
+
partitionKey?: string;
|
|
779
|
+
/** The properties associated with this Event Hub output. */
|
|
780
|
+
propertyColumns?: string[];
|
|
781
|
+
};
|
|
782
|
+
|
|
783
|
+
/** Describes an Event Hub input data source that contains stream data. */
|
|
784
|
+
export declare type EventHubStreamInputDataSource = StreamInputDataSource & {
|
|
785
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
786
|
+
type: "Microsoft.ServiceBus/EventHub";
|
|
787
|
+
/** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
788
|
+
serviceBusNamespace?: string;
|
|
789
|
+
/** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
790
|
+
sharedAccessPolicyName?: string;
|
|
791
|
+
/** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
|
|
792
|
+
sharedAccessPolicyKey?: string;
|
|
793
|
+
/** Authentication Mode. */
|
|
794
|
+
authenticationMode?: AuthenticationMode;
|
|
795
|
+
/** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
|
|
796
|
+
eventHubName?: string;
|
|
797
|
+
/** The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group. */
|
|
798
|
+
consumerGroupName?: string;
|
|
799
|
+
};
|
|
800
|
+
|
|
801
|
+
/** The properties that are associated with a Event Hub input containing stream data. */
|
|
802
|
+
export declare type EventHubStreamInputDataSourceProperties = EventHubDataSourceProperties & {
|
|
803
|
+
/** The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group. */
|
|
804
|
+
consumerGroupName?: string;
|
|
805
|
+
};
|
|
806
|
+
|
|
807
|
+
/** Describes an Event Hub output data source. */
|
|
808
|
+
export declare type EventHubV2OutputDataSource = OutputDataSource & {
|
|
809
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
810
|
+
type: "Microsoft.EventHub/EventHub";
|
|
811
|
+
/** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
812
|
+
serviceBusNamespace?: string;
|
|
813
|
+
/** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
814
|
+
sharedAccessPolicyName?: string;
|
|
815
|
+
/** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
|
|
816
|
+
sharedAccessPolicyKey?: string;
|
|
817
|
+
/** Authentication Mode. */
|
|
818
|
+
authenticationMode?: AuthenticationMode;
|
|
819
|
+
/** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
|
|
820
|
+
eventHubName?: string;
|
|
821
|
+
/** The key/column that is used to determine to which partition to send event data. */
|
|
822
|
+
partitionKey?: string;
|
|
823
|
+
/** The properties associated with this Event Hub output. */
|
|
824
|
+
propertyColumns?: string[];
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
/** Describes an Event Hub input data source that contains stream data. */
|
|
828
|
+
export declare type EventHubV2StreamInputDataSource = StreamInputDataSource & {
|
|
829
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
830
|
+
type: "Microsoft.EventHub/EventHub";
|
|
831
|
+
/** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
832
|
+
serviceBusNamespace?: string;
|
|
833
|
+
/** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
834
|
+
sharedAccessPolicyName?: string;
|
|
835
|
+
/** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
|
|
836
|
+
sharedAccessPolicyKey?: string;
|
|
837
|
+
/** Authentication Mode. */
|
|
838
|
+
authenticationMode?: AuthenticationMode;
|
|
839
|
+
/** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
|
|
840
|
+
eventHubName?: string;
|
|
841
|
+
/** The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group. */
|
|
842
|
+
consumerGroupName?: string;
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Defines values for EventSerializationType. \
|
|
847
|
+
* {@link KnownEventSerializationType} can be used interchangeably with EventSerializationType,
|
|
848
|
+
* this enum contains the known values that the service supports.
|
|
849
|
+
* ### Known values supported by the service
|
|
850
|
+
* **Csv** \
|
|
851
|
+
* **Avro** \
|
|
852
|
+
* **Json** \
|
|
853
|
+
* **Parquet**
|
|
854
|
+
*/
|
|
855
|
+
export declare type EventSerializationType = string;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Defines values for EventsOutOfOrderPolicy. \
|
|
859
|
+
* {@link KnownEventsOutOfOrderPolicy} can be used interchangeably with EventsOutOfOrderPolicy,
|
|
860
|
+
* this enum contains the known values that the service supports.
|
|
861
|
+
* ### Known values supported by the service
|
|
862
|
+
* **Adjust** \
|
|
863
|
+
* **Drop**
|
|
864
|
+
*/
|
|
865
|
+
export declare type EventsOutOfOrderPolicy = string;
|
|
866
|
+
|
|
867
|
+
/** The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint. */
|
|
868
|
+
export declare interface FunctionBinding {
|
|
869
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
870
|
+
type: "Microsoft.MachineLearning/WebService" | "Microsoft.StreamAnalytics/JavascriptUdf";
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
export declare type FunctionBindingUnion = FunctionBinding | AzureMachineLearningWebServiceFunctionBinding | JavaScriptFunctionBinding;
|
|
874
|
+
|
|
875
|
+
/** Describes one input parameter of a function. */
|
|
876
|
+
export declare interface FunctionInput {
|
|
877
|
+
/** The (Azure Stream Analytics supported) data type of the function input parameter. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx */
|
|
878
|
+
dataType?: string;
|
|
879
|
+
/** A flag indicating if the parameter is a configuration parameter. True if this input parameter is expected to be a constant. Default is false. */
|
|
880
|
+
isConfigurationParameter?: boolean;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
/** Object containing a list of functions under a streaming job. */
|
|
884
|
+
export declare interface FunctionListResult {
|
|
885
|
+
/**
|
|
886
|
+
* A list of functions under a streaming job. Populated by a 'List' operation.
|
|
887
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
888
|
+
*/
|
|
889
|
+
readonly value?: FunctionModel[];
|
|
890
|
+
/**
|
|
891
|
+
* The link (url) to the next page of results.
|
|
892
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
893
|
+
*/
|
|
894
|
+
readonly nextLink?: string;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/** A function object, containing all information associated with the named function. All functions are contained under a streaming job. */
|
|
898
|
+
export declare type FunctionModel = SubResource & {
|
|
899
|
+
/** The properties that are associated with a function. */
|
|
900
|
+
properties?: FunctionPropertiesUnion;
|
|
901
|
+
};
|
|
902
|
+
|
|
903
|
+
/** Describes the output of a function. */
|
|
904
|
+
export declare interface FunctionOutput {
|
|
905
|
+
/** The (Azure Stream Analytics supported) data type of the function output. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx */
|
|
906
|
+
dataType?: string;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
/** The properties that are associated with a function. */
|
|
910
|
+
export declare interface FunctionProperties {
|
|
911
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
912
|
+
type: "Scalar";
|
|
913
|
+
/**
|
|
914
|
+
* The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
|
|
915
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
916
|
+
*/
|
|
917
|
+
readonly etag?: string;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
export declare type FunctionPropertiesUnion = FunctionProperties | ScalarFunctionProperties;
|
|
921
|
+
|
|
922
|
+
/** Parameters used to specify the type of function to retrieve the default definition for. */
|
|
923
|
+
export declare interface FunctionRetrieveDefaultDefinitionParameters {
|
|
924
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
925
|
+
bindingType: "Microsoft.MachineLearning/WebService" | "Microsoft.StreamAnalytics/JavascriptUdf";
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
export declare type FunctionRetrieveDefaultDefinitionParametersUnion = FunctionRetrieveDefaultDefinitionParameters | AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters | JavaScriptFunctionRetrieveDefaultDefinitionParameters;
|
|
929
|
+
|
|
930
|
+
/** Interface representing a Functions. */
|
|
931
|
+
export declare interface Functions {
|
|
932
|
+
/**
|
|
933
|
+
* Lists all of the functions under the specified streaming job.
|
|
934
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
935
|
+
* @param jobName The name of the streaming job.
|
|
936
|
+
* @param options The options parameters.
|
|
937
|
+
*/
|
|
938
|
+
listByStreamingJob(resourceGroupName: string, jobName: string, options?: FunctionsListByStreamingJobOptionalParams): PagedAsyncIterableIterator<FunctionModel>;
|
|
939
|
+
/**
|
|
940
|
+
* Creates a function or replaces an already existing function under an existing streaming job.
|
|
941
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
942
|
+
* @param jobName The name of the streaming job.
|
|
943
|
+
* @param functionName The name of the function.
|
|
944
|
+
* @param functionParam The definition of the function that will be used to create a new function or
|
|
945
|
+
* replace the existing one under the streaming job.
|
|
946
|
+
* @param options The options parameters.
|
|
947
|
+
*/
|
|
948
|
+
createOrReplace(resourceGroupName: string, jobName: string, functionName: string, functionParam: FunctionModel, options?: FunctionsCreateOrReplaceOptionalParams): Promise<FunctionsCreateOrReplaceResponse>;
|
|
949
|
+
/**
|
|
950
|
+
* Updates an existing function under an existing streaming job. This can be used to partially update
|
|
951
|
+
* (ie. update one or two properties) a function without affecting the rest the job or function
|
|
952
|
+
* definition.
|
|
953
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
954
|
+
* @param jobName The name of the streaming job.
|
|
955
|
+
* @param functionName The name of the function.
|
|
956
|
+
* @param functionParam A function object. The properties specified here will overwrite the
|
|
957
|
+
* corresponding properties in the existing function (ie. Those properties will be updated). Any
|
|
958
|
+
* properties that are set to null here will mean that the corresponding property in the existing
|
|
959
|
+
* function will remain the same and not change as a result of this PATCH operation.
|
|
960
|
+
* @param options The options parameters.
|
|
961
|
+
*/
|
|
962
|
+
update(resourceGroupName: string, jobName: string, functionName: string, functionParam: FunctionModel, options?: FunctionsUpdateOptionalParams): Promise<FunctionsUpdateResponse>;
|
|
963
|
+
/**
|
|
964
|
+
* Deletes a function from the streaming job.
|
|
965
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
966
|
+
* @param jobName The name of the streaming job.
|
|
967
|
+
* @param functionName The name of the function.
|
|
968
|
+
* @param options The options parameters.
|
|
969
|
+
*/
|
|
970
|
+
delete(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsDeleteOptionalParams): Promise<void>;
|
|
971
|
+
/**
|
|
972
|
+
* Gets details about the specified function.
|
|
973
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
974
|
+
* @param jobName The name of the streaming job.
|
|
975
|
+
* @param functionName The name of the function.
|
|
976
|
+
* @param options The options parameters.
|
|
977
|
+
*/
|
|
978
|
+
get(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsGetOptionalParams): Promise<FunctionsGetResponse>;
|
|
979
|
+
/**
|
|
980
|
+
* Tests if the information provided for a function is valid. This can range from testing the
|
|
981
|
+
* connection to the underlying web service behind the function or making sure the function code
|
|
982
|
+
* provided is syntactically correct.
|
|
983
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
984
|
+
* @param jobName The name of the streaming job.
|
|
985
|
+
* @param functionName The name of the function.
|
|
986
|
+
* @param options The options parameters.
|
|
987
|
+
*/
|
|
988
|
+
beginTest(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsTestOptionalParams): Promise<PollerLike<PollOperationState<FunctionsTestResponse>, FunctionsTestResponse>>;
|
|
989
|
+
/**
|
|
990
|
+
* Tests if the information provided for a function is valid. This can range from testing the
|
|
991
|
+
* connection to the underlying web service behind the function or making sure the function code
|
|
992
|
+
* provided is syntactically correct.
|
|
993
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
994
|
+
* @param jobName The name of the streaming job.
|
|
995
|
+
* @param functionName The name of the function.
|
|
996
|
+
* @param options The options parameters.
|
|
997
|
+
*/
|
|
998
|
+
beginTestAndWait(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsTestOptionalParams): Promise<FunctionsTestResponse>;
|
|
999
|
+
/**
|
|
1000
|
+
* Retrieves the default definition of a function based on the parameters specified.
|
|
1001
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1002
|
+
* @param jobName The name of the streaming job.
|
|
1003
|
+
* @param functionName The name of the function.
|
|
1004
|
+
* @param options The options parameters.
|
|
1005
|
+
*/
|
|
1006
|
+
retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsRetrieveDefaultDefinitionOptionalParams): Promise<FunctionsRetrieveDefaultDefinitionResponse>;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
/** Defines headers for Functions_createOrReplace operation. */
|
|
1010
|
+
export declare interface FunctionsCreateOrReplaceHeaders {
|
|
1011
|
+
/** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
1012
|
+
eTag?: string;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/** Optional parameters. */
|
|
1016
|
+
export declare interface FunctionsCreateOrReplaceOptionalParams extends coreClient.OperationOptions {
|
|
1017
|
+
/** The ETag of the function. Omit this value to always overwrite the current function. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
1018
|
+
ifMatch?: string;
|
|
1019
|
+
/** Set to '*' to allow a new function to be created, but to prevent updating an existing function. Other values will result in a 412 Pre-condition Failed response. */
|
|
1020
|
+
ifNoneMatch?: string;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
/** Contains response data for the createOrReplace operation. */
|
|
1024
|
+
export declare type FunctionsCreateOrReplaceResponse = FunctionsCreateOrReplaceHeaders & FunctionModel;
|
|
1025
|
+
|
|
1026
|
+
/** Optional parameters. */
|
|
1027
|
+
export declare interface FunctionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
/** Defines headers for Functions_get operation. */
|
|
1031
|
+
export declare interface FunctionsGetHeaders {
|
|
1032
|
+
/** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
1033
|
+
eTag?: string;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
/** Optional parameters. */
|
|
1037
|
+
export declare interface FunctionsGetOptionalParams extends coreClient.OperationOptions {
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
/** Contains response data for the get operation. */
|
|
1041
|
+
export declare type FunctionsGetResponse = FunctionsGetHeaders & FunctionModel;
|
|
1042
|
+
|
|
1043
|
+
/** Optional parameters. */
|
|
1044
|
+
export declare interface FunctionsListByStreamingJobNextOptionalParams extends coreClient.OperationOptions {
|
|
1045
|
+
/** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
|
|
1046
|
+
select?: string;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/** Contains response data for the listByStreamingJobNext operation. */
|
|
1050
|
+
export declare type FunctionsListByStreamingJobNextResponse = FunctionListResult;
|
|
1051
|
+
|
|
1052
|
+
/** Optional parameters. */
|
|
1053
|
+
export declare interface FunctionsListByStreamingJobOptionalParams extends coreClient.OperationOptions {
|
|
1054
|
+
/** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
|
|
1055
|
+
select?: string;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
/** Contains response data for the listByStreamingJob operation. */
|
|
1059
|
+
export declare type FunctionsListByStreamingJobResponse = FunctionListResult;
|
|
1060
|
+
|
|
1061
|
+
/** Optional parameters. */
|
|
1062
|
+
export declare interface FunctionsRetrieveDefaultDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
1063
|
+
/** Parameters used to specify the type of function to retrieve the default definition for. */
|
|
1064
|
+
functionRetrieveDefaultDefinitionParameters?: FunctionRetrieveDefaultDefinitionParametersUnion;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/** Contains response data for the retrieveDefaultDefinition operation. */
|
|
1068
|
+
export declare type FunctionsRetrieveDefaultDefinitionResponse = FunctionModel;
|
|
1069
|
+
|
|
1070
|
+
/** Optional parameters. */
|
|
1071
|
+
export declare interface FunctionsTestOptionalParams extends coreClient.OperationOptions {
|
|
1072
|
+
/** If the function specified does not already exist, this parameter must contain the full function definition intended to be tested. If the function specified already exists, this parameter can be left null to test the existing function as is or if specified, the properties specified will overwrite the corresponding properties in the existing function (exactly like a PATCH operation) and the resulting function will be tested. */
|
|
1073
|
+
functionParam?: FunctionModel;
|
|
1074
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1075
|
+
updateIntervalInMs?: number;
|
|
1076
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1077
|
+
resumeFrom?: string;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
/** Contains response data for the test operation. */
|
|
1081
|
+
export declare type FunctionsTestResponse = ResourceTestStatus;
|
|
1082
|
+
|
|
1083
|
+
/** Defines headers for Functions_update operation. */
|
|
1084
|
+
export declare interface FunctionsUpdateHeaders {
|
|
1085
|
+
/** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
1086
|
+
eTag?: string;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/** Optional parameters. */
|
|
1090
|
+
export declare interface FunctionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1091
|
+
/** The ETag of the function. Omit this value to always overwrite the current function. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
1092
|
+
ifMatch?: string;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
/** Contains response data for the update operation. */
|
|
1096
|
+
export declare type FunctionsUpdateResponse = FunctionsUpdateHeaders & FunctionModel;
|
|
1097
|
+
|
|
1098
|
+
/** Describes how identity is verified */
|
|
1099
|
+
export declare interface Identity {
|
|
1100
|
+
/** The identity tenantId */
|
|
1101
|
+
tenantId?: string;
|
|
1102
|
+
/** The identity principal ID */
|
|
1103
|
+
principalId?: string;
|
|
1104
|
+
/** The identity type */
|
|
1105
|
+
type?: string;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
/** An input object, containing all information associated with the named input. All inputs are contained under a streaming job. */
|
|
1109
|
+
export declare type Input = SubResource & {
|
|
1110
|
+
/** The properties that are associated with an input. Required on PUT (CreateOrReplace) requests. */
|
|
1111
|
+
properties?: InputPropertiesUnion;
|
|
1112
|
+
};
|
|
1113
|
+
|
|
1114
|
+
/** Object containing a list of inputs under a streaming job. */
|
|
1115
|
+
export declare interface InputListResult {
|
|
1116
|
+
/**
|
|
1117
|
+
* A list of inputs under a streaming job. Populated by a 'List' operation.
|
|
1118
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1119
|
+
*/
|
|
1120
|
+
readonly value?: Input[];
|
|
1121
|
+
/**
|
|
1122
|
+
* The link (url) to the next page of results.
|
|
1123
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1124
|
+
*/
|
|
1125
|
+
readonly nextLink?: string;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
/** The properties that are associated with an input. */
|
|
1129
|
+
export declare interface InputProperties {
|
|
1130
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1131
|
+
type: "Stream" | "Reference";
|
|
1132
|
+
/** Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests. */
|
|
1133
|
+
serialization?: SerializationUnion;
|
|
1134
|
+
/**
|
|
1135
|
+
* Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.
|
|
1136
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1137
|
+
*/
|
|
1138
|
+
readonly diagnostics?: Diagnostics;
|
|
1139
|
+
/**
|
|
1140
|
+
* The current entity tag for the input. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
|
|
1141
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1142
|
+
*/
|
|
1143
|
+
readonly etag?: string;
|
|
1144
|
+
/** Describes how input data is compressed */
|
|
1145
|
+
compression?: Compression;
|
|
1146
|
+
/** partitionKey Describes a key in the input data which is used for partitioning the input data */
|
|
1147
|
+
partitionKey?: string;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
export declare type InputPropertiesUnion = InputProperties | StreamInputProperties | ReferenceInputProperties;
|
|
1151
|
+
|
|
1152
|
+
/** Interface representing a Inputs. */
|
|
1153
|
+
export declare interface Inputs {
|
|
1154
|
+
/**
|
|
1155
|
+
* Lists all of the inputs under the specified streaming job.
|
|
1156
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1157
|
+
* @param jobName The name of the streaming job.
|
|
1158
|
+
* @param options The options parameters.
|
|
1159
|
+
*/
|
|
1160
|
+
listByStreamingJob(resourceGroupName: string, jobName: string, options?: InputsListByStreamingJobOptionalParams): PagedAsyncIterableIterator<Input>;
|
|
1161
|
+
/**
|
|
1162
|
+
* Creates an input or replaces an already existing input under an existing streaming job.
|
|
1163
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1164
|
+
* @param jobName The name of the streaming job.
|
|
1165
|
+
* @param inputName The name of the input.
|
|
1166
|
+
* @param input The definition of the input that will be used to create a new input or replace the
|
|
1167
|
+
* existing one under the streaming job.
|
|
1168
|
+
* @param options The options parameters.
|
|
1169
|
+
*/
|
|
1170
|
+
createOrReplace(resourceGroupName: string, jobName: string, inputName: string, input: Input, options?: InputsCreateOrReplaceOptionalParams): Promise<InputsCreateOrReplaceResponse>;
|
|
1171
|
+
/**
|
|
1172
|
+
* Updates an existing input under an existing streaming job. This can be used to partially update (ie.
|
|
1173
|
+
* update one or two properties) an input without affecting the rest the job or input definition.
|
|
1174
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1175
|
+
* @param jobName The name of the streaming job.
|
|
1176
|
+
* @param inputName The name of the input.
|
|
1177
|
+
* @param input An Input object. The properties specified here will overwrite the corresponding
|
|
1178
|
+
* properties in the existing input (ie. Those properties will be updated). Any properties that are set
|
|
1179
|
+
* to null here will mean that the corresponding property in the existing input will remain the same
|
|
1180
|
+
* and not change as a result of this PATCH operation.
|
|
1181
|
+
* @param options The options parameters.
|
|
1182
|
+
*/
|
|
1183
|
+
update(resourceGroupName: string, jobName: string, inputName: string, input: Input, options?: InputsUpdateOptionalParams): Promise<InputsUpdateResponse>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Deletes an input from the streaming job.
|
|
1186
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1187
|
+
* @param jobName The name of the streaming job.
|
|
1188
|
+
* @param inputName The name of the input.
|
|
1189
|
+
* @param options The options parameters.
|
|
1190
|
+
*/
|
|
1191
|
+
delete(resourceGroupName: string, jobName: string, inputName: string, options?: InputsDeleteOptionalParams): Promise<void>;
|
|
1192
|
+
/**
|
|
1193
|
+
* Gets details about the specified input.
|
|
1194
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1195
|
+
* @param jobName The name of the streaming job.
|
|
1196
|
+
* @param inputName The name of the input.
|
|
1197
|
+
* @param options The options parameters.
|
|
1198
|
+
*/
|
|
1199
|
+
get(resourceGroupName: string, jobName: string, inputName: string, options?: InputsGetOptionalParams): Promise<InputsGetResponse>;
|
|
1200
|
+
/**
|
|
1201
|
+
* Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
|
|
1202
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1203
|
+
* @param jobName The name of the streaming job.
|
|
1204
|
+
* @param inputName The name of the input.
|
|
1205
|
+
* @param options The options parameters.
|
|
1206
|
+
*/
|
|
1207
|
+
beginTest(resourceGroupName: string, jobName: string, inputName: string, options?: InputsTestOptionalParams): Promise<PollerLike<PollOperationState<InputsTestResponse>, InputsTestResponse>>;
|
|
1208
|
+
/**
|
|
1209
|
+
* Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
|
|
1210
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1211
|
+
* @param jobName The name of the streaming job.
|
|
1212
|
+
* @param inputName The name of the input.
|
|
1213
|
+
* @param options The options parameters.
|
|
1214
|
+
*/
|
|
1215
|
+
beginTestAndWait(resourceGroupName: string, jobName: string, inputName: string, options?: InputsTestOptionalParams): Promise<InputsTestResponse>;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
/** Defines headers for Inputs_createOrReplace operation. */
|
|
1219
|
+
export declare interface InputsCreateOrReplaceHeaders {
|
|
1220
|
+
/** The current entity tag for the input. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
1221
|
+
eTag?: string;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
/** Optional parameters. */
|
|
1225
|
+
export declare interface InputsCreateOrReplaceOptionalParams extends coreClient.OperationOptions {
|
|
1226
|
+
/** The ETag of the input. Omit this value to always overwrite the current input. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
1227
|
+
ifMatch?: string;
|
|
1228
|
+
/** Set to '*' to allow a new input to be created, but to prevent updating an existing input. Other values will result in a 412 Pre-condition Failed response. */
|
|
1229
|
+
ifNoneMatch?: string;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
/** Contains response data for the createOrReplace operation. */
|
|
1233
|
+
export declare type InputsCreateOrReplaceResponse = InputsCreateOrReplaceHeaders & Input;
|
|
1234
|
+
|
|
1235
|
+
/** Optional parameters. */
|
|
1236
|
+
export declare interface InputsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/** Defines headers for Inputs_get operation. */
|
|
1240
|
+
export declare interface InputsGetHeaders {
|
|
1241
|
+
/** The current entity tag for the input. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
1242
|
+
eTag?: string;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
/** Optional parameters. */
|
|
1246
|
+
export declare interface InputsGetOptionalParams extends coreClient.OperationOptions {
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
/** Contains response data for the get operation. */
|
|
1250
|
+
export declare type InputsGetResponse = InputsGetHeaders & Input;
|
|
1251
|
+
|
|
1252
|
+
/** Optional parameters. */
|
|
1253
|
+
export declare interface InputsListByStreamingJobNextOptionalParams extends coreClient.OperationOptions {
|
|
1254
|
+
/** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
|
|
1255
|
+
select?: string;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
/** Contains response data for the listByStreamingJobNext operation. */
|
|
1259
|
+
export declare type InputsListByStreamingJobNextResponse = InputListResult;
|
|
1260
|
+
|
|
1261
|
+
/** Optional parameters. */
|
|
1262
|
+
export declare interface InputsListByStreamingJobOptionalParams extends coreClient.OperationOptions {
|
|
1263
|
+
/** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
|
|
1264
|
+
select?: string;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/** Contains response data for the listByStreamingJob operation. */
|
|
1268
|
+
export declare type InputsListByStreamingJobResponse = InputListResult;
|
|
1269
|
+
|
|
1270
|
+
/** Optional parameters. */
|
|
1271
|
+
export declare interface InputsTestOptionalParams extends coreClient.OperationOptions {
|
|
1272
|
+
/** If the input specified does not already exist, this parameter must contain the full input definition intended to be tested. If the input specified already exists, this parameter can be left null to test the existing input as is or if specified, the properties specified will overwrite the corresponding properties in the existing input (exactly like a PATCH operation) and the resulting input will be tested. */
|
|
1273
|
+
input?: Input;
|
|
1274
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1275
|
+
updateIntervalInMs?: number;
|
|
1276
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1277
|
+
resumeFrom?: string;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
/** Contains response data for the test operation. */
|
|
1281
|
+
export declare type InputsTestResponse = ResourceTestStatus;
|
|
1282
|
+
|
|
1283
|
+
/** Defines headers for Inputs_update operation. */
|
|
1284
|
+
export declare interface InputsUpdateHeaders {
|
|
1285
|
+
/** The current entity tag for the input. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
1286
|
+
eTag?: string;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
/** Optional parameters. */
|
|
1290
|
+
export declare interface InputsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1291
|
+
/** The ETag of the input. Omit this value to always overwrite the current input. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
1292
|
+
ifMatch?: string;
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
/** Contains response data for the update operation. */
|
|
1296
|
+
export declare type InputsUpdateResponse = InputsUpdateHeaders & Input;
|
|
1297
|
+
|
|
1298
|
+
/** Describes an IoT Hub input data source that contains stream data. */
|
|
1299
|
+
export declare type IoTHubStreamInputDataSource = StreamInputDataSource & {
|
|
1300
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1301
|
+
type: "Microsoft.Devices/IotHubs";
|
|
1302
|
+
/** The name or the URI of the IoT Hub. Required on PUT (CreateOrReplace) requests. */
|
|
1303
|
+
iotHubNamespace?: string;
|
|
1304
|
+
/** The shared access policy name for the IoT Hub. This policy must contain at least the Service connect permission. Required on PUT (CreateOrReplace) requests. */
|
|
1305
|
+
sharedAccessPolicyName?: string;
|
|
1306
|
+
/** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
|
|
1307
|
+
sharedAccessPolicyKey?: string;
|
|
1308
|
+
/** The name of an IoT Hub Consumer Group that should be used to read events from the IoT Hub. If not specified, the input uses the Iot Hub’s default consumer group. */
|
|
1309
|
+
consumerGroupName?: string;
|
|
1310
|
+
/** The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.). */
|
|
1311
|
+
endpoint?: string;
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1314
|
+
/** The binding to a JavaScript function. */
|
|
1315
|
+
export declare type JavaScriptFunctionBinding = FunctionBinding & {
|
|
1316
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1317
|
+
type: "Microsoft.StreamAnalytics/JavascriptUdf";
|
|
1318
|
+
/** The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }' */
|
|
1319
|
+
script?: string;
|
|
1320
|
+
};
|
|
1321
|
+
|
|
1322
|
+
/** The parameters needed to retrieve the default function definition for a JavaScript function. */
|
|
1323
|
+
export declare type JavaScriptFunctionRetrieveDefaultDefinitionParameters = FunctionRetrieveDefaultDefinitionParameters & {
|
|
1324
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1325
|
+
bindingType: "Microsoft.StreamAnalytics/JavascriptUdf";
|
|
1326
|
+
/** The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }'. */
|
|
1327
|
+
script?: string;
|
|
1328
|
+
/** The function type. */
|
|
1329
|
+
udfType?: "Scalar";
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* Defines values for JobState. \
|
|
1334
|
+
* {@link KnownJobState} can be used interchangeably with JobState,
|
|
1335
|
+
* this enum contains the known values that the service supports.
|
|
1336
|
+
* ### Known values supported by the service
|
|
1337
|
+
* **Created**: The job is currently in the Created state. \
|
|
1338
|
+
* **Starting**: The job is currently in the Starting state. \
|
|
1339
|
+
* **Running**: The job is currently in the Running state. \
|
|
1340
|
+
* **Stopping**: The job is currently in the Stopping state. \
|
|
1341
|
+
* **Stopped**: The job is currently in the Stopped state. \
|
|
1342
|
+
* **Deleting**: The job is currently in the Deleting state. \
|
|
1343
|
+
* **Failed**: The job is currently in the Failed state. \
|
|
1344
|
+
* **Degraded**: The job is currently in the Degraded state. \
|
|
1345
|
+
* **Restarting**: The job is currently in the Restarting state. \
|
|
1346
|
+
* **Scaling**: The job is currently in the Scaling state.
|
|
1347
|
+
*/
|
|
1348
|
+
export declare type JobState = string;
|
|
1349
|
+
|
|
1350
|
+
/** The properties that are associated with an Azure Storage account with MSI */
|
|
1351
|
+
export declare type JobStorageAccount = StorageAccount & {
|
|
1352
|
+
/** Authentication Mode. */
|
|
1353
|
+
authenticationMode?: AuthenticationMode;
|
|
1354
|
+
};
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* Defines values for JobType. \
|
|
1358
|
+
* {@link KnownJobType} can be used interchangeably with JobType,
|
|
1359
|
+
* this enum contains the known values that the service supports.
|
|
1360
|
+
* ### Known values supported by the service
|
|
1361
|
+
* **Cloud** \
|
|
1362
|
+
* **Edge**
|
|
1363
|
+
*/
|
|
1364
|
+
export declare type JobType = string;
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* Defines values for JsonOutputSerializationFormat. \
|
|
1368
|
+
* {@link KnownJsonOutputSerializationFormat} can be used interchangeably with JsonOutputSerializationFormat,
|
|
1369
|
+
* this enum contains the known values that the service supports.
|
|
1370
|
+
* ### Known values supported by the service
|
|
1371
|
+
* **LineSeparated** \
|
|
1372
|
+
* **Array**
|
|
1373
|
+
*/
|
|
1374
|
+
export declare type JsonOutputSerializationFormat = string;
|
|
1375
|
+
|
|
1376
|
+
/** Describes how data from an input is serialized or how data is serialized when written to an output in JSON format. */
|
|
1377
|
+
export declare type JsonSerialization = Serialization & {
|
|
1378
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1379
|
+
type: "Json";
|
|
1380
|
+
/** Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests. */
|
|
1381
|
+
encoding?: Encoding;
|
|
1382
|
+
/** This property only applies to JSON serialization of outputs only. It is not applicable to inputs. This property specifies the format of the JSON the output will be written in. The currently supported values are 'lineSeparated' indicating the output will be formatted by having each JSON object separated by a new line and 'array' indicating the output will be formatted as an array of JSON objects. Default value is 'lineSeparated' if left null. */
|
|
1383
|
+
format?: JsonOutputSerializationFormat;
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
/** Known values of {@link AuthenticationMode} that the service accepts. */
|
|
1387
|
+
export declare enum KnownAuthenticationMode {
|
|
1388
|
+
Msi = "Msi",
|
|
1389
|
+
UserToken = "UserToken",
|
|
1390
|
+
ConnectionString = "ConnectionString"
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
/** Known values of {@link ClusterProvisioningState} that the service accepts. */
|
|
1394
|
+
export declare enum KnownClusterProvisioningState {
|
|
1395
|
+
/** The cluster provisioning succeeded. */
|
|
1396
|
+
Succeeded = "Succeeded",
|
|
1397
|
+
/** The cluster provisioning failed. */
|
|
1398
|
+
Failed = "Failed",
|
|
1399
|
+
/** The cluster provisioning was canceled. */
|
|
1400
|
+
Canceled = "Canceled",
|
|
1401
|
+
/** The cluster provisioning was inprogress. */
|
|
1402
|
+
InProgress = "InProgress"
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
/** Known values of {@link ClusterSkuName} that the service accepts. */
|
|
1406
|
+
export declare enum KnownClusterSkuName {
|
|
1407
|
+
/** The default SKU. */
|
|
1408
|
+
Default = "Default"
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
/** Known values of {@link CompatibilityLevel} that the service accepts. */
|
|
1412
|
+
export declare enum KnownCompatibilityLevel {
|
|
1413
|
+
One0 = "1.0",
|
|
1414
|
+
One2 = "1.2"
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
/** Known values of {@link CompressionType} that the service accepts. */
|
|
1418
|
+
export declare enum KnownCompressionType {
|
|
1419
|
+
None = "None",
|
|
1420
|
+
GZip = "GZip",
|
|
1421
|
+
Deflate = "Deflate"
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
/** Known values of {@link ContentStoragePolicy} that the service accepts. */
|
|
1425
|
+
export declare enum KnownContentStoragePolicy {
|
|
1426
|
+
SystemAccount = "SystemAccount",
|
|
1427
|
+
JobStorageAccount = "JobStorageAccount"
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
/** Known values of {@link Encoding} that the service accepts. */
|
|
1431
|
+
export declare enum KnownEncoding {
|
|
1432
|
+
UTF8 = "UTF8"
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/** Known values of {@link EventSerializationType} that the service accepts. */
|
|
1436
|
+
export declare enum KnownEventSerializationType {
|
|
1437
|
+
Csv = "Csv",
|
|
1438
|
+
Avro = "Avro",
|
|
1439
|
+
Json = "Json",
|
|
1440
|
+
Parquet = "Parquet"
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
/** Known values of {@link EventsOutOfOrderPolicy} that the service accepts. */
|
|
1444
|
+
export declare enum KnownEventsOutOfOrderPolicy {
|
|
1445
|
+
Adjust = "Adjust",
|
|
1446
|
+
Drop = "Drop"
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
/** Known values of {@link JobState} that the service accepts. */
|
|
1450
|
+
export declare enum KnownJobState {
|
|
1451
|
+
/** The job is currently in the Created state. */
|
|
1452
|
+
Created = "Created",
|
|
1453
|
+
/** The job is currently in the Starting state. */
|
|
1454
|
+
Starting = "Starting",
|
|
1455
|
+
/** The job is currently in the Running state. */
|
|
1456
|
+
Running = "Running",
|
|
1457
|
+
/** The job is currently in the Stopping state. */
|
|
1458
|
+
Stopping = "Stopping",
|
|
1459
|
+
/** The job is currently in the Stopped state. */
|
|
1460
|
+
Stopped = "Stopped",
|
|
1461
|
+
/** The job is currently in the Deleting state. */
|
|
1462
|
+
Deleting = "Deleting",
|
|
1463
|
+
/** The job is currently in the Failed state. */
|
|
1464
|
+
Failed = "Failed",
|
|
1465
|
+
/** The job is currently in the Degraded state. */
|
|
1466
|
+
Degraded = "Degraded",
|
|
1467
|
+
/** The job is currently in the Restarting state. */
|
|
1468
|
+
Restarting = "Restarting",
|
|
1469
|
+
/** The job is currently in the Scaling state. */
|
|
1470
|
+
Scaling = "Scaling"
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
/** Known values of {@link JobType} that the service accepts. */
|
|
1474
|
+
export declare enum KnownJobType {
|
|
1475
|
+
Cloud = "Cloud",
|
|
1476
|
+
Edge = "Edge"
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
/** Known values of {@link JsonOutputSerializationFormat} that the service accepts. */
|
|
1480
|
+
export declare enum KnownJsonOutputSerializationFormat {
|
|
1481
|
+
LineSeparated = "LineSeparated",
|
|
1482
|
+
Array = "Array"
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
/** Known values of {@link OutputErrorPolicy} that the service accepts. */
|
|
1486
|
+
export declare enum KnownOutputErrorPolicy {
|
|
1487
|
+
Stop = "Stop",
|
|
1488
|
+
Drop = "Drop"
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/** Known values of {@link OutputStartMode} that the service accepts. */
|
|
1492
|
+
export declare enum KnownOutputStartMode {
|
|
1493
|
+
JobStartTime = "JobStartTime",
|
|
1494
|
+
CustomTime = "CustomTime",
|
|
1495
|
+
LastOutputEventTime = "LastOutputEventTime"
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
/** Known values of {@link RefreshType} that the service accepts. */
|
|
1499
|
+
export declare enum KnownRefreshType {
|
|
1500
|
+
Static = "Static",
|
|
1501
|
+
RefreshPeriodicallyWithFull = "RefreshPeriodicallyWithFull",
|
|
1502
|
+
RefreshPeriodicallyWithDelta = "RefreshPeriodicallyWithDelta"
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
/** Known values of {@link SkuName} that the service accepts. */
|
|
1506
|
+
export declare enum KnownSkuName {
|
|
1507
|
+
Standard = "Standard"
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
/** The properties that are associated with data sources that use OAuth as their authentication model. */
|
|
1511
|
+
export declare interface OAuthBasedDataSourceProperties {
|
|
1512
|
+
/** A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests. */
|
|
1513
|
+
refreshToken?: string;
|
|
1514
|
+
/** The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
|
|
1515
|
+
tokenUserPrincipalName?: string;
|
|
1516
|
+
/** The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
|
|
1517
|
+
tokenUserDisplayName?: string;
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
/** A Stream Analytics REST API operation */
|
|
1521
|
+
export declare interface Operation {
|
|
1522
|
+
/**
|
|
1523
|
+
* The name of the operation being performed on this particular object.
|
|
1524
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1525
|
+
*/
|
|
1526
|
+
readonly name?: string;
|
|
1527
|
+
/** Indicates whether the operation is a data action */
|
|
1528
|
+
isDataAction?: boolean;
|
|
1529
|
+
/**
|
|
1530
|
+
* Contains the localized display information for this particular operation / action.
|
|
1531
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1532
|
+
*/
|
|
1533
|
+
readonly display?: OperationDisplay;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
/** Contains the localized display information for this particular operation / action. */
|
|
1537
|
+
export declare interface OperationDisplay {
|
|
1538
|
+
/**
|
|
1539
|
+
* The localized friendly form of the resource provider name.
|
|
1540
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1541
|
+
*/
|
|
1542
|
+
readonly provider?: string;
|
|
1543
|
+
/**
|
|
1544
|
+
* The localized friendly form of the resource type related to this action/operation.
|
|
1545
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1546
|
+
*/
|
|
1547
|
+
readonly resource?: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* The localized friendly name for the operation.
|
|
1550
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1551
|
+
*/
|
|
1552
|
+
readonly operation?: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* The localized friendly description for the operation.
|
|
1555
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1556
|
+
*/
|
|
1557
|
+
readonly description?: string;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/** Result of the request to list Stream Analytics operations. It contains a list of operations and a URL link to get the next set of results. */
|
|
1561
|
+
export declare interface OperationListResult {
|
|
1562
|
+
/**
|
|
1563
|
+
* List of Stream Analytics operations supported by the Microsoft.StreamAnalytics resource provider.
|
|
1564
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1565
|
+
*/
|
|
1566
|
+
readonly value?: Operation[];
|
|
1567
|
+
/**
|
|
1568
|
+
* URL to get the next set of operation list results if there are any.
|
|
1569
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1570
|
+
*/
|
|
1571
|
+
readonly nextLink?: string;
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
/** Interface representing a Operations. */
|
|
1575
|
+
export declare interface Operations {
|
|
1576
|
+
/**
|
|
1577
|
+
* Lists all of the available Stream Analytics related operations.
|
|
1578
|
+
* @param options The options parameters.
|
|
1579
|
+
*/
|
|
1580
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
/** Optional parameters. */
|
|
1584
|
+
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
/** Contains response data for the listNext operation. */
|
|
1588
|
+
export declare type OperationsListNextResponse = OperationListResult;
|
|
1589
|
+
|
|
1590
|
+
/** Optional parameters. */
|
|
1591
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
/** Contains response data for the list operation. */
|
|
1595
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
1596
|
+
|
|
1597
|
+
/** An output object, containing all information associated with the named output. All outputs are contained under a streaming job. */
|
|
1598
|
+
export declare type Output = SubResource & {
|
|
1599
|
+
/** Describes the data source that output will be written to. Required on PUT (CreateOrReplace) requests. */
|
|
1600
|
+
datasource?: OutputDataSourceUnion;
|
|
1601
|
+
/** The time frame for filtering Stream Analytics job outputs. */
|
|
1602
|
+
timeWindow?: string;
|
|
1603
|
+
/** The size window to constrain a Stream Analytics output to. */
|
|
1604
|
+
sizeWindow?: number;
|
|
1605
|
+
/** Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests. */
|
|
1606
|
+
serialization?: SerializationUnion;
|
|
1607
|
+
/**
|
|
1608
|
+
* Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.
|
|
1609
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1610
|
+
*/
|
|
1611
|
+
readonly diagnostics?: Diagnostics;
|
|
1612
|
+
/**
|
|
1613
|
+
* The current entity tag for the output. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
|
|
1614
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1615
|
+
*/
|
|
1616
|
+
readonly etag?: string;
|
|
1617
|
+
};
|
|
1618
|
+
|
|
1619
|
+
/** Describes the data source that output will be written to. */
|
|
1620
|
+
export declare interface OutputDataSource {
|
|
1621
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1622
|
+
type: "Microsoft.Storage/Blob" | "Microsoft.Storage/Table" | "Microsoft.ServiceBus/EventHub" | "Microsoft.EventHub/EventHub" | "Microsoft.Sql/Server/Database" | "Microsoft.Sql/Server/DataWarehouse" | "Microsoft.Storage/DocumentDB" | "Microsoft.ServiceBus/Queue" | "Microsoft.ServiceBus/Topic" | "PowerBI" | "Microsoft.DataLake/Accounts";
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
export declare type OutputDataSourceUnion = OutputDataSource | BlobOutputDataSource | AzureTableOutputDataSource | EventHubOutputDataSource | EventHubV2OutputDataSource | AzureSqlDatabaseOutputDataSource | AzureSynapseOutputDataSource | DocumentDbOutputDataSource | ServiceBusQueueOutputDataSource | ServiceBusTopicOutputDataSource | PowerBIOutputDataSource | AzureDataLakeStoreOutputDataSource;
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* Defines values for OutputErrorPolicy. \
|
|
1629
|
+
* {@link KnownOutputErrorPolicy} can be used interchangeably with OutputErrorPolicy,
|
|
1630
|
+
* this enum contains the known values that the service supports.
|
|
1631
|
+
* ### Known values supported by the service
|
|
1632
|
+
* **Stop** \
|
|
1633
|
+
* **Drop**
|
|
1634
|
+
*/
|
|
1635
|
+
export declare type OutputErrorPolicy = string;
|
|
1636
|
+
|
|
1637
|
+
/** Object containing a list of outputs under a streaming job. */
|
|
1638
|
+
export declare interface OutputListResult {
|
|
1639
|
+
/**
|
|
1640
|
+
* A list of outputs under a streaming job. Populated by a 'List' operation.
|
|
1641
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1642
|
+
*/
|
|
1643
|
+
readonly value?: Output[];
|
|
1644
|
+
/**
|
|
1645
|
+
* The link (url) to the next page of results.
|
|
1646
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1647
|
+
*/
|
|
1648
|
+
readonly nextLink?: string;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
/** Interface representing a Outputs. */
|
|
1652
|
+
export declare interface Outputs {
|
|
1653
|
+
/**
|
|
1654
|
+
* Lists all of the outputs under the specified streaming job.
|
|
1655
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1656
|
+
* @param jobName The name of the streaming job.
|
|
1657
|
+
* @param options The options parameters.
|
|
1658
|
+
*/
|
|
1659
|
+
listByStreamingJob(resourceGroupName: string, jobName: string, options?: OutputsListByStreamingJobOptionalParams): PagedAsyncIterableIterator<Output>;
|
|
1660
|
+
/**
|
|
1661
|
+
* Creates an output or replaces an already existing output under an existing streaming job.
|
|
1662
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1663
|
+
* @param jobName The name of the streaming job.
|
|
1664
|
+
* @param outputName The name of the output.
|
|
1665
|
+
* @param output The definition of the output that will be used to create a new output or replace the
|
|
1666
|
+
* existing one under the streaming job.
|
|
1667
|
+
* @param options The options parameters.
|
|
1668
|
+
*/
|
|
1669
|
+
createOrReplace(resourceGroupName: string, jobName: string, outputName: string, output: Output, options?: OutputsCreateOrReplaceOptionalParams): Promise<OutputsCreateOrReplaceResponse>;
|
|
1670
|
+
/**
|
|
1671
|
+
* Updates an existing output under an existing streaming job. This can be used to partially update
|
|
1672
|
+
* (ie. update one or two properties) an output without affecting the rest the job or output
|
|
1673
|
+
* definition.
|
|
1674
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1675
|
+
* @param jobName The name of the streaming job.
|
|
1676
|
+
* @param outputName The name of the output.
|
|
1677
|
+
* @param output An Output object. The properties specified here will overwrite the corresponding
|
|
1678
|
+
* properties in the existing output (ie. Those properties will be updated). Any properties that are
|
|
1679
|
+
* set to null here will mean that the corresponding property in the existing output will remain the
|
|
1680
|
+
* same and not change as a result of this PATCH operation.
|
|
1681
|
+
* @param options The options parameters.
|
|
1682
|
+
*/
|
|
1683
|
+
update(resourceGroupName: string, jobName: string, outputName: string, output: Output, options?: OutputsUpdateOptionalParams): Promise<OutputsUpdateResponse>;
|
|
1684
|
+
/**
|
|
1685
|
+
* Deletes an output from the streaming job.
|
|
1686
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1687
|
+
* @param jobName The name of the streaming job.
|
|
1688
|
+
* @param outputName The name of the output.
|
|
1689
|
+
* @param options The options parameters.
|
|
1690
|
+
*/
|
|
1691
|
+
delete(resourceGroupName: string, jobName: string, outputName: string, options?: OutputsDeleteOptionalParams): Promise<void>;
|
|
1692
|
+
/**
|
|
1693
|
+
* Gets details about the specified output.
|
|
1694
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1695
|
+
* @param jobName The name of the streaming job.
|
|
1696
|
+
* @param outputName The name of the output.
|
|
1697
|
+
* @param options The options parameters.
|
|
1698
|
+
*/
|
|
1699
|
+
get(resourceGroupName: string, jobName: string, outputName: string, options?: OutputsGetOptionalParams): Promise<OutputsGetResponse>;
|
|
1700
|
+
/**
|
|
1701
|
+
* Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service.
|
|
1702
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1703
|
+
* @param jobName The name of the streaming job.
|
|
1704
|
+
* @param outputName The name of the output.
|
|
1705
|
+
* @param options The options parameters.
|
|
1706
|
+
*/
|
|
1707
|
+
beginTest(resourceGroupName: string, jobName: string, outputName: string, options?: OutputsTestOptionalParams): Promise<PollerLike<PollOperationState<OutputsTestResponse>, OutputsTestResponse>>;
|
|
1708
|
+
/**
|
|
1709
|
+
* Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service.
|
|
1710
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1711
|
+
* @param jobName The name of the streaming job.
|
|
1712
|
+
* @param outputName The name of the output.
|
|
1713
|
+
* @param options The options parameters.
|
|
1714
|
+
*/
|
|
1715
|
+
beginTestAndWait(resourceGroupName: string, jobName: string, outputName: string, options?: OutputsTestOptionalParams): Promise<OutputsTestResponse>;
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
/** Defines headers for Outputs_createOrReplace operation. */
|
|
1719
|
+
export declare interface OutputsCreateOrReplaceHeaders {
|
|
1720
|
+
/** The current entity tag for the output. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
1721
|
+
eTag?: string;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
/** Optional parameters. */
|
|
1725
|
+
export declare interface OutputsCreateOrReplaceOptionalParams extends coreClient.OperationOptions {
|
|
1726
|
+
/** The ETag of the output. Omit this value to always overwrite the current output. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
1727
|
+
ifMatch?: string;
|
|
1728
|
+
/** Set to '*' to allow a new output to be created, but to prevent updating an existing output. Other values will result in a 412 Pre-condition Failed response. */
|
|
1729
|
+
ifNoneMatch?: string;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
/** Contains response data for the createOrReplace operation. */
|
|
1733
|
+
export declare type OutputsCreateOrReplaceResponse = OutputsCreateOrReplaceHeaders & Output;
|
|
1734
|
+
|
|
1735
|
+
/** Optional parameters. */
|
|
1736
|
+
export declare interface OutputsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
/** Defines headers for Outputs_get operation. */
|
|
1740
|
+
export declare interface OutputsGetHeaders {
|
|
1741
|
+
/** The current entity tag for the output. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
1742
|
+
eTag?: string;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
/** Optional parameters. */
|
|
1746
|
+
export declare interface OutputsGetOptionalParams extends coreClient.OperationOptions {
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
/** Contains response data for the get operation. */
|
|
1750
|
+
export declare type OutputsGetResponse = OutputsGetHeaders & Output;
|
|
1751
|
+
|
|
1752
|
+
/** Optional parameters. */
|
|
1753
|
+
export declare interface OutputsListByStreamingJobNextOptionalParams extends coreClient.OperationOptions {
|
|
1754
|
+
/** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
|
|
1755
|
+
select?: string;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
/** Contains response data for the listByStreamingJobNext operation. */
|
|
1759
|
+
export declare type OutputsListByStreamingJobNextResponse = OutputListResult;
|
|
1760
|
+
|
|
1761
|
+
/** Optional parameters. */
|
|
1762
|
+
export declare interface OutputsListByStreamingJobOptionalParams extends coreClient.OperationOptions {
|
|
1763
|
+
/** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
|
|
1764
|
+
select?: string;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
/** Contains response data for the listByStreamingJob operation. */
|
|
1768
|
+
export declare type OutputsListByStreamingJobResponse = OutputListResult;
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* Defines values for OutputStartMode. \
|
|
1772
|
+
* {@link KnownOutputStartMode} can be used interchangeably with OutputStartMode,
|
|
1773
|
+
* this enum contains the known values that the service supports.
|
|
1774
|
+
* ### Known values supported by the service
|
|
1775
|
+
* **JobStartTime** \
|
|
1776
|
+
* **CustomTime** \
|
|
1777
|
+
* **LastOutputEventTime**
|
|
1778
|
+
*/
|
|
1779
|
+
export declare type OutputStartMode = string;
|
|
1780
|
+
|
|
1781
|
+
/** Optional parameters. */
|
|
1782
|
+
export declare interface OutputsTestOptionalParams extends coreClient.OperationOptions {
|
|
1783
|
+
/** If the output specified does not already exist, this parameter must contain the full output definition intended to be tested. If the output specified already exists, this parameter can be left null to test the existing output as is or if specified, the properties specified will overwrite the corresponding properties in the existing output (exactly like a PATCH operation) and the resulting output will be tested. */
|
|
1784
|
+
output?: Output;
|
|
1785
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1786
|
+
updateIntervalInMs?: number;
|
|
1787
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1788
|
+
resumeFrom?: string;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
/** Contains response data for the test operation. */
|
|
1792
|
+
export declare type OutputsTestResponse = ResourceTestStatus;
|
|
1793
|
+
|
|
1794
|
+
/** Defines headers for Outputs_update operation. */
|
|
1795
|
+
export declare interface OutputsUpdateHeaders {
|
|
1796
|
+
/** The current entity tag for the output. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
1797
|
+
eTag?: string;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
/** Optional parameters. */
|
|
1801
|
+
export declare interface OutputsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1802
|
+
/** The ETag of the output. Omit this value to always overwrite the current output. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
1803
|
+
ifMatch?: string;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
/** Contains response data for the update operation. */
|
|
1807
|
+
export declare type OutputsUpdateResponse = OutputsUpdateHeaders & Output;
|
|
1808
|
+
|
|
1809
|
+
/** Describes how data from an input is serialized or how data is serialized when written to an output in Parquet format. */
|
|
1810
|
+
export declare type ParquetSerialization = Serialization & {
|
|
1811
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1812
|
+
type: "Parquet";
|
|
1813
|
+
/** The properties that are associated with the Parquet serialization type. Required on PUT (CreateOrReplace) requests. */
|
|
1814
|
+
properties?: Record<string, unknown>;
|
|
1815
|
+
};
|
|
1816
|
+
|
|
1817
|
+
/** Describes a Power BI output data source. */
|
|
1818
|
+
export declare type PowerBIOutputDataSource = OutputDataSource & {
|
|
1819
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1820
|
+
type: "PowerBI";
|
|
1821
|
+
/** A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests. */
|
|
1822
|
+
refreshToken?: string;
|
|
1823
|
+
/** The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
|
|
1824
|
+
tokenUserPrincipalName?: string;
|
|
1825
|
+
/** The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
|
|
1826
|
+
tokenUserDisplayName?: string;
|
|
1827
|
+
/** The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests. */
|
|
1828
|
+
dataset?: string;
|
|
1829
|
+
/** The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests. */
|
|
1830
|
+
table?: string;
|
|
1831
|
+
/** The ID of the Power BI group. */
|
|
1832
|
+
groupId?: string;
|
|
1833
|
+
/** The name of the Power BI group. Use this property to help remember which specific Power BI group id was used. */
|
|
1834
|
+
groupName?: string;
|
|
1835
|
+
/** Authentication Mode. */
|
|
1836
|
+
authenticationMode?: AuthenticationMode;
|
|
1837
|
+
};
|
|
1838
|
+
|
|
1839
|
+
/** The properties that are associated with a Power BI output. */
|
|
1840
|
+
export declare type PowerBIOutputDataSourceProperties = OAuthBasedDataSourceProperties & {
|
|
1841
|
+
/** The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests. */
|
|
1842
|
+
dataset?: string;
|
|
1843
|
+
/** The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests. */
|
|
1844
|
+
table?: string;
|
|
1845
|
+
/** The ID of the Power BI group. */
|
|
1846
|
+
groupId?: string;
|
|
1847
|
+
/** The name of the Power BI group. Use this property to help remember which specific Power BI group id was used. */
|
|
1848
|
+
groupName?: string;
|
|
1849
|
+
/** Authentication Mode. */
|
|
1850
|
+
authenticationMode?: AuthenticationMode;
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1853
|
+
/** Complete information about the private endpoint. */
|
|
1854
|
+
export declare type PrivateEndpoint = ProxyResource & {
|
|
1855
|
+
/**
|
|
1856
|
+
* Unique opaque string (generally a GUID) that represents the metadata state of the resource (private endpoint) and changes whenever the resource is updated. Required on PUT (CreateOrUpdate) requests.
|
|
1857
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1858
|
+
*/
|
|
1859
|
+
readonly etag?: string;
|
|
1860
|
+
/**
|
|
1861
|
+
* The date when this private endpoint was created.
|
|
1862
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1863
|
+
*/
|
|
1864
|
+
readonly createdDate?: string;
|
|
1865
|
+
/** A list of connections to the remote resource. Immutable after it is set. */
|
|
1866
|
+
manualPrivateLinkServiceConnections?: PrivateLinkServiceConnection[];
|
|
1867
|
+
};
|
|
1868
|
+
|
|
1869
|
+
/** A list of private endpoints. */
|
|
1870
|
+
export declare interface PrivateEndpointListResult {
|
|
1871
|
+
/**
|
|
1872
|
+
* A list of private endpoints.
|
|
1873
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1874
|
+
*/
|
|
1875
|
+
readonly value?: PrivateEndpoint[];
|
|
1876
|
+
/**
|
|
1877
|
+
* The URL to fetch the next set of private endpoints.
|
|
1878
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1879
|
+
*/
|
|
1880
|
+
readonly nextLink?: string;
|
|
1881
|
+
}
|
|
1882
|
+
|
|
1883
|
+
/** Interface representing a PrivateEndpoints. */
|
|
1884
|
+
export declare interface PrivateEndpoints {
|
|
1885
|
+
/**
|
|
1886
|
+
* Lists the private endpoints in the cluster.
|
|
1887
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1888
|
+
* @param clusterName The name of the cluster.
|
|
1889
|
+
* @param options The options parameters.
|
|
1890
|
+
*/
|
|
1891
|
+
listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateEndpointsListByClusterOptionalParams): PagedAsyncIterableIterator<PrivateEndpoint>;
|
|
1892
|
+
/**
|
|
1893
|
+
* Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint.
|
|
1894
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1895
|
+
* @param clusterName The name of the cluster.
|
|
1896
|
+
* @param privateEndpointName The name of the private endpoint.
|
|
1897
|
+
* @param privateEndpoint The definition of the private endpoint that will be used to create a new
|
|
1898
|
+
* cluster or replace the existing one.
|
|
1899
|
+
* @param options The options parameters.
|
|
1900
|
+
*/
|
|
1901
|
+
createOrUpdate(resourceGroupName: string, clusterName: string, privateEndpointName: string, privateEndpoint: PrivateEndpoint, options?: PrivateEndpointsCreateOrUpdateOptionalParams): Promise<PrivateEndpointsCreateOrUpdateResponse>;
|
|
1902
|
+
/**
|
|
1903
|
+
* Gets information about the specified Private Endpoint.
|
|
1904
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1905
|
+
* @param clusterName The name of the cluster.
|
|
1906
|
+
* @param privateEndpointName The name of the private endpoint.
|
|
1907
|
+
* @param options The options parameters.
|
|
1908
|
+
*/
|
|
1909
|
+
get(resourceGroupName: string, clusterName: string, privateEndpointName: string, options?: PrivateEndpointsGetOptionalParams): Promise<PrivateEndpointsGetResponse>;
|
|
1910
|
+
/**
|
|
1911
|
+
* Delete the specified private endpoint.
|
|
1912
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1913
|
+
* @param clusterName The name of the cluster.
|
|
1914
|
+
* @param privateEndpointName The name of the private endpoint.
|
|
1915
|
+
* @param options The options parameters.
|
|
1916
|
+
*/
|
|
1917
|
+
beginDelete(resourceGroupName: string, clusterName: string, privateEndpointName: string, options?: PrivateEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
1918
|
+
/**
|
|
1919
|
+
* Delete the specified private endpoint.
|
|
1920
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1921
|
+
* @param clusterName The name of the cluster.
|
|
1922
|
+
* @param privateEndpointName The name of the private endpoint.
|
|
1923
|
+
* @param options The options parameters.
|
|
1924
|
+
*/
|
|
1925
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointName: string, options?: PrivateEndpointsDeleteOptionalParams): Promise<void>;
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
/** Optional parameters. */
|
|
1929
|
+
export declare interface PrivateEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1930
|
+
/** The ETag of the resource. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
1931
|
+
ifMatch?: string;
|
|
1932
|
+
/** Set to '*' to allow a new resource to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response. */
|
|
1933
|
+
ifNoneMatch?: string;
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1937
|
+
export declare type PrivateEndpointsCreateOrUpdateResponse = PrivateEndpoint;
|
|
1938
|
+
|
|
1939
|
+
/** Optional parameters. */
|
|
1940
|
+
export declare interface PrivateEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1941
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1942
|
+
updateIntervalInMs?: number;
|
|
1943
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1944
|
+
resumeFrom?: string;
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
/** Optional parameters. */
|
|
1948
|
+
export declare interface PrivateEndpointsGetOptionalParams extends coreClient.OperationOptions {
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
/** Contains response data for the get operation. */
|
|
1952
|
+
export declare type PrivateEndpointsGetResponse = PrivateEndpoint;
|
|
1953
|
+
|
|
1954
|
+
/** Optional parameters. */
|
|
1955
|
+
export declare interface PrivateEndpointsListByClusterNextOptionalParams extends coreClient.OperationOptions {
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1958
|
+
/** Contains response data for the listByClusterNext operation. */
|
|
1959
|
+
export declare type PrivateEndpointsListByClusterNextResponse = PrivateEndpointListResult;
|
|
1960
|
+
|
|
1961
|
+
/** Optional parameters. */
|
|
1962
|
+
export declare interface PrivateEndpointsListByClusterOptionalParams extends coreClient.OperationOptions {
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
/** Contains response data for the listByCluster operation. */
|
|
1966
|
+
export declare type PrivateEndpointsListByClusterResponse = PrivateEndpointListResult;
|
|
1967
|
+
|
|
1968
|
+
/** A collection of read-only information about the state of the connection to the private remote resource. */
|
|
1969
|
+
export declare interface PrivateLinkConnectionState {
|
|
1970
|
+
/**
|
|
1971
|
+
* Indicates whether the connection has been Approved/Rejected/Removed by the owner of the remote resource/service.
|
|
1972
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1973
|
+
*/
|
|
1974
|
+
readonly status?: string;
|
|
1975
|
+
/**
|
|
1976
|
+
* The reason for approval/rejection of the connection.
|
|
1977
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1978
|
+
*/
|
|
1979
|
+
readonly description?: string;
|
|
1980
|
+
/**
|
|
1981
|
+
* A message indicating if changes on the service provider require any updates on the consumer.
|
|
1982
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1983
|
+
*/
|
|
1984
|
+
readonly actionsRequired?: string;
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
/** A grouping of information about the connection to the remote resource. */
|
|
1988
|
+
export declare interface PrivateLinkServiceConnection {
|
|
1989
|
+
/** The resource id of the private link service. Required on PUT (CreateOrUpdate) requests. */
|
|
1990
|
+
privateLinkServiceId?: string;
|
|
1991
|
+
/** The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests. */
|
|
1992
|
+
groupIds?: string[];
|
|
1993
|
+
/**
|
|
1994
|
+
* A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
|
|
1995
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1996
|
+
*/
|
|
1997
|
+
readonly requestMessage?: string;
|
|
1998
|
+
/** A collection of read-only information about the state of the connection to the private remote resource. */
|
|
1999
|
+
privateLinkServiceConnectionState?: PrivateLinkConnectionState;
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
/** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */
|
|
2003
|
+
export declare type ProxyResource = Resource & {};
|
|
2004
|
+
|
|
2005
|
+
/** Describes an input data source that contains reference data. */
|
|
2006
|
+
export declare interface ReferenceInputDataSource {
|
|
2007
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2008
|
+
type: "Microsoft.Storage/Blob" | "Microsoft.Sql/Server/Database";
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
export declare type ReferenceInputDataSourceUnion = ReferenceInputDataSource | BlobReferenceInputDataSource | AzureSqlReferenceInputDataSource;
|
|
2012
|
+
|
|
2013
|
+
/** The properties that are associated with an input containing reference data. */
|
|
2014
|
+
export declare type ReferenceInputProperties = InputProperties & {
|
|
2015
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2016
|
+
type: "Reference";
|
|
2017
|
+
/** Describes an input data source that contains reference data. Required on PUT (CreateOrReplace) requests. */
|
|
2018
|
+
datasource?: ReferenceInputDataSourceUnion;
|
|
2019
|
+
};
|
|
2020
|
+
|
|
2021
|
+
/**
|
|
2022
|
+
* Defines values for RefreshType. \
|
|
2023
|
+
* {@link KnownRefreshType} can be used interchangeably with RefreshType,
|
|
2024
|
+
* this enum contains the known values that the service supports.
|
|
2025
|
+
* ### Known values supported by the service
|
|
2026
|
+
* **Static** \
|
|
2027
|
+
* **RefreshPeriodicallyWithFull** \
|
|
2028
|
+
* **RefreshPeriodicallyWithDelta**
|
|
2029
|
+
*/
|
|
2030
|
+
export declare type RefreshType = string;
|
|
2031
|
+
|
|
2032
|
+
/** The base resource definition */
|
|
2033
|
+
export declare interface Resource {
|
|
2034
|
+
/**
|
|
2035
|
+
* Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
2036
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2037
|
+
*/
|
|
2038
|
+
readonly id?: string;
|
|
2039
|
+
/**
|
|
2040
|
+
* The name of the resource
|
|
2041
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2042
|
+
*/
|
|
2043
|
+
readonly name?: string;
|
|
2044
|
+
/**
|
|
2045
|
+
* The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
|
|
2046
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2047
|
+
*/
|
|
2048
|
+
readonly type?: string;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
/** Describes the status of the test operation along with error information, if applicable. */
|
|
2052
|
+
export declare interface ResourceTestStatus {
|
|
2053
|
+
/**
|
|
2054
|
+
* The status of the test operation.
|
|
2055
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2056
|
+
*/
|
|
2057
|
+
readonly status?: string;
|
|
2058
|
+
/**
|
|
2059
|
+
* Describes the error that occurred.
|
|
2060
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2061
|
+
*/
|
|
2062
|
+
readonly error?: ErrorResponse;
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
/** The properties that are associated with a scalar function. */
|
|
2066
|
+
export declare type ScalarFunctionProperties = FunctionProperties & {
|
|
2067
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2068
|
+
type: "Scalar";
|
|
2069
|
+
/** A list of inputs describing the parameters of the function. */
|
|
2070
|
+
inputs?: FunctionInput[];
|
|
2071
|
+
/** The output of the function. */
|
|
2072
|
+
output?: FunctionOutput;
|
|
2073
|
+
/** The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint. */
|
|
2074
|
+
binding?: FunctionBindingUnion;
|
|
2075
|
+
};
|
|
2076
|
+
|
|
2077
|
+
/** Parameters supplied to the Scale Streaming Job operation. */
|
|
2078
|
+
export declare interface ScaleStreamingJobParameters {
|
|
2079
|
+
/** Specifies the number of streaming units that the streaming job will scale to. */
|
|
2080
|
+
streamingUnits?: number;
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
/** Describes how data from an input is serialized or how data is serialized when written to an output. */
|
|
2084
|
+
export declare interface Serialization {
|
|
2085
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2086
|
+
type: "Parquet" | "Csv" | "Json" | "Avro";
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
export declare type SerializationUnion = Serialization | ParquetSerialization | CsvSerialization | JsonSerialization | AvroSerialization;
|
|
2090
|
+
|
|
2091
|
+
/** The common properties that are associated with Service Bus data sources (Queues, Topics, Event Hubs, etc.). */
|
|
2092
|
+
export declare interface ServiceBusDataSourceProperties {
|
|
2093
|
+
/** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
2094
|
+
serviceBusNamespace?: string;
|
|
2095
|
+
/** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
2096
|
+
sharedAccessPolicyName?: string;
|
|
2097
|
+
/** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
|
|
2098
|
+
sharedAccessPolicyKey?: string;
|
|
2099
|
+
/** Authentication Mode. */
|
|
2100
|
+
authenticationMode?: AuthenticationMode;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
/** Describes a Service Bus Queue output data source. */
|
|
2104
|
+
export declare type ServiceBusQueueOutputDataSource = OutputDataSource & {
|
|
2105
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2106
|
+
type: "Microsoft.ServiceBus/Queue";
|
|
2107
|
+
/** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
2108
|
+
serviceBusNamespace?: string;
|
|
2109
|
+
/** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
2110
|
+
sharedAccessPolicyName?: string;
|
|
2111
|
+
/** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
|
|
2112
|
+
sharedAccessPolicyKey?: string;
|
|
2113
|
+
/** Authentication Mode. */
|
|
2114
|
+
authenticationMode?: AuthenticationMode;
|
|
2115
|
+
/** The name of the Service Bus Queue. Required on PUT (CreateOrReplace) requests. */
|
|
2116
|
+
queueName?: string;
|
|
2117
|
+
/** A string array of the names of output columns to be attached to Service Bus messages as custom properties. */
|
|
2118
|
+
propertyColumns?: string[];
|
|
2119
|
+
/** The system properties associated with the Service Bus Queue. The following system properties are supported: ReplyToSessionId, ContentType, To, Subject, CorrelationId, TimeToLive, PartitionKey, SessionId, ScheduledEnqueueTime, MessageId, ReplyTo, Label, ScheduledEnqueueTimeUtc. */
|
|
2120
|
+
systemPropertyColumns?: Record<string, unknown>;
|
|
2121
|
+
};
|
|
2122
|
+
|
|
2123
|
+
/** The properties that are associated with a Service Bus Queue output. */
|
|
2124
|
+
export declare type ServiceBusQueueOutputDataSourceProperties = ServiceBusDataSourceProperties & {
|
|
2125
|
+
/** The name of the Service Bus Queue. Required on PUT (CreateOrReplace) requests. */
|
|
2126
|
+
queueName?: string;
|
|
2127
|
+
/** A string array of the names of output columns to be attached to Service Bus messages as custom properties. */
|
|
2128
|
+
propertyColumns?: string[];
|
|
2129
|
+
/** The system properties associated with the Service Bus Queue. The following system properties are supported: ReplyToSessionId, ContentType, To, Subject, CorrelationId, TimeToLive, PartitionKey, SessionId, ScheduledEnqueueTime, MessageId, ReplyTo, Label, ScheduledEnqueueTimeUtc. */
|
|
2130
|
+
systemPropertyColumns?: Record<string, unknown>;
|
|
2131
|
+
};
|
|
2132
|
+
|
|
2133
|
+
/** Describes a Service Bus Topic output data source. */
|
|
2134
|
+
export declare type ServiceBusTopicOutputDataSource = OutputDataSource & {
|
|
2135
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2136
|
+
type: "Microsoft.ServiceBus/Topic";
|
|
2137
|
+
/** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
2138
|
+
serviceBusNamespace?: string;
|
|
2139
|
+
/** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
|
|
2140
|
+
sharedAccessPolicyName?: string;
|
|
2141
|
+
/** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
|
|
2142
|
+
sharedAccessPolicyKey?: string;
|
|
2143
|
+
/** Authentication Mode. */
|
|
2144
|
+
authenticationMode?: AuthenticationMode;
|
|
2145
|
+
/** The name of the Service Bus Topic. Required on PUT (CreateOrReplace) requests. */
|
|
2146
|
+
topicName?: string;
|
|
2147
|
+
/** A string array of the names of output columns to be attached to Service Bus messages as custom properties. */
|
|
2148
|
+
propertyColumns?: string[];
|
|
2149
|
+
/** The system properties associated with the Service Bus Topic Output. The following system properties are supported: ReplyToSessionId, ContentType, To, Subject, CorrelationId, TimeToLive, PartitionKey, SessionId, ScheduledEnqueueTime, MessageId, ReplyTo, Label, ScheduledEnqueueTimeUtc. */
|
|
2150
|
+
systemPropertyColumns?: {
|
|
2151
|
+
[propertyName: string]: string;
|
|
2152
|
+
};
|
|
2153
|
+
};
|
|
2154
|
+
|
|
2155
|
+
/** The properties that are associated with a Service Bus Topic output. */
|
|
2156
|
+
export declare type ServiceBusTopicOutputDataSourceProperties = ServiceBusDataSourceProperties & {
|
|
2157
|
+
/** The name of the Service Bus Topic. Required on PUT (CreateOrReplace) requests. */
|
|
2158
|
+
topicName?: string;
|
|
2159
|
+
/** A string array of the names of output columns to be attached to Service Bus messages as custom properties. */
|
|
2160
|
+
propertyColumns?: string[];
|
|
2161
|
+
/** The system properties associated with the Service Bus Topic Output. The following system properties are supported: ReplyToSessionId, ContentType, To, Subject, CorrelationId, TimeToLive, PartitionKey, SessionId, ScheduledEnqueueTime, MessageId, ReplyTo, Label, ScheduledEnqueueTimeUtc. */
|
|
2162
|
+
systemPropertyColumns?: {
|
|
2163
|
+
[propertyName: string]: string;
|
|
2164
|
+
};
|
|
2165
|
+
};
|
|
2166
|
+
|
|
2167
|
+
/** The properties that are associated with a SKU. */
|
|
2168
|
+
export declare interface Sku {
|
|
2169
|
+
/** The name of the SKU. Required on PUT (CreateOrReplace) requests. */
|
|
2170
|
+
name?: SkuName;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
* Defines values for SkuName. \
|
|
2175
|
+
* {@link KnownSkuName} can be used interchangeably with SkuName,
|
|
2176
|
+
* this enum contains the known values that the service supports.
|
|
2177
|
+
* ### Known values supported by the service
|
|
2178
|
+
* **Standard**
|
|
2179
|
+
*/
|
|
2180
|
+
export declare type SkuName = string;
|
|
2181
|
+
|
|
2182
|
+
/** Parameters supplied to the Start Streaming Job operation. */
|
|
2183
|
+
export declare interface StartStreamingJobParameters {
|
|
2184
|
+
/** Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time. */
|
|
2185
|
+
outputStartMode?: OutputStartMode;
|
|
2186
|
+
/** Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime. */
|
|
2187
|
+
outputStartTime?: Date;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
/** The properties that are associated with an Azure Storage account */
|
|
2191
|
+
export declare interface StorageAccount {
|
|
2192
|
+
/** The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests. */
|
|
2193
|
+
accountName?: string;
|
|
2194
|
+
/** The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests. */
|
|
2195
|
+
accountKey?: string;
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
export declare class StreamAnalyticsManagementClient extends coreClient.ServiceClient {
|
|
2199
|
+
$host: string;
|
|
2200
|
+
apiVersion: string;
|
|
2201
|
+
subscriptionId: string;
|
|
2202
|
+
/**
|
|
2203
|
+
* Initializes a new instance of the StreamAnalyticsManagementClient class.
|
|
2204
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2205
|
+
* @param subscriptionId The ID of the target subscription.
|
|
2206
|
+
* @param options The parameter options
|
|
2207
|
+
*/
|
|
2208
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StreamAnalyticsManagementClientOptionalParams);
|
|
2209
|
+
operations: Operations;
|
|
2210
|
+
streamingJobs: StreamingJobs;
|
|
2211
|
+
inputs: Inputs;
|
|
2212
|
+
outputs: Outputs;
|
|
2213
|
+
transformations: Transformations;
|
|
2214
|
+
functions: Functions;
|
|
2215
|
+
subscriptions: Subscriptions;
|
|
2216
|
+
clusters: Clusters;
|
|
2217
|
+
privateEndpoints: PrivateEndpoints;
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
/** Optional parameters. */
|
|
2221
|
+
export declare interface StreamAnalyticsManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
2222
|
+
/** server parameter */
|
|
2223
|
+
$host?: string;
|
|
2224
|
+
/** Api Version */
|
|
2225
|
+
apiVersion?: string;
|
|
2226
|
+
/** Overrides client endpoint. */
|
|
2227
|
+
endpoint?: string;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
/** A streaming job object, containing all information associated with the named streaming job. */
|
|
2231
|
+
export declare type StreamingJob = TrackedResource & {
|
|
2232
|
+
/** Describes the system-assigned managed identity assigned to this job that can be used to authenticate with inputs and outputs. */
|
|
2233
|
+
identity?: Identity;
|
|
2234
|
+
/** Describes the SKU of the streaming job. Required on PUT (CreateOrReplace) requests. */
|
|
2235
|
+
sku?: Sku;
|
|
2236
|
+
/**
|
|
2237
|
+
* A GUID uniquely identifying the streaming job. This GUID is generated upon creation of the streaming job.
|
|
2238
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2239
|
+
*/
|
|
2240
|
+
readonly jobId?: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* Describes the provisioning status of the streaming job.
|
|
2243
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2244
|
+
*/
|
|
2245
|
+
readonly provisioningState?: string;
|
|
2246
|
+
/**
|
|
2247
|
+
* Describes the state of the streaming job.
|
|
2248
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2249
|
+
*/
|
|
2250
|
+
readonly jobState?: string;
|
|
2251
|
+
/** Describes the type of the job. Valid modes are `Cloud` and 'Edge'. */
|
|
2252
|
+
jobType?: JobType;
|
|
2253
|
+
/** This property should only be utilized when it is desired that the job be started immediately upon creation. Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time. */
|
|
2254
|
+
outputStartMode?: OutputStartMode;
|
|
2255
|
+
/** Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime. */
|
|
2256
|
+
outputStartTime?: Date;
|
|
2257
|
+
/**
|
|
2258
|
+
* Value is either an ISO-8601 formatted timestamp indicating the last output event time of the streaming job or null indicating that output has not yet been produced. In case of multiple outputs or multiple streams, this shows the latest value in that set.
|
|
2259
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2260
|
+
*/
|
|
2261
|
+
readonly lastOutputEventTime?: Date;
|
|
2262
|
+
/** Indicates the policy to apply to events that arrive out of order in the input event stream. */
|
|
2263
|
+
eventsOutOfOrderPolicy?: EventsOutOfOrderPolicy;
|
|
2264
|
+
/** Indicates the policy to apply to events that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size). */
|
|
2265
|
+
outputErrorPolicy?: OutputErrorPolicy;
|
|
2266
|
+
/** The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order. */
|
|
2267
|
+
eventsOutOfOrderMaxDelayInSeconds?: number;
|
|
2268
|
+
/** The maximum tolerable delay in seconds where events arriving late could be included. Supported range is -1 to 1814399 (20.23:59:59 days) and -1 is used to specify wait indefinitely. If the property is absent, it is interpreted to have a value of -1. */
|
|
2269
|
+
eventsLateArrivalMaxDelayInSeconds?: number;
|
|
2270
|
+
/** The data locale of the stream analytics job. Value should be the name of a supported .NET Culture from the set https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx. Defaults to 'en-US' if none specified. */
|
|
2271
|
+
dataLocale?: string;
|
|
2272
|
+
/** Controls certain runtime behaviors of the streaming job. */
|
|
2273
|
+
compatibilityLevel?: CompatibilityLevel;
|
|
2274
|
+
/**
|
|
2275
|
+
* Value is an ISO-8601 formatted UTC timestamp indicating when the streaming job was created.
|
|
2276
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2277
|
+
*/
|
|
2278
|
+
readonly createdDate?: Date;
|
|
2279
|
+
/** A list of one or more inputs to the streaming job. The name property for each input is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual input. */
|
|
2280
|
+
inputs?: Input[];
|
|
2281
|
+
/** Indicates the query and the number of streaming units to use for the streaming job. The name property of the transformation is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation. */
|
|
2282
|
+
transformation?: Transformation;
|
|
2283
|
+
/** A list of one or more outputs for the streaming job. The name property for each output is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual output. */
|
|
2284
|
+
outputs?: Output[];
|
|
2285
|
+
/** A list of one or more functions for the streaming job. The name property for each function is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation. */
|
|
2286
|
+
functions?: FunctionModel[];
|
|
2287
|
+
/**
|
|
2288
|
+
* The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
|
|
2289
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2290
|
+
*/
|
|
2291
|
+
readonly etag?: string;
|
|
2292
|
+
/** The properties that are associated with an Azure Storage account with MSI */
|
|
2293
|
+
jobStorageAccount?: JobStorageAccount;
|
|
2294
|
+
/** Valid values are JobStorageAccount and SystemAccount. If set to JobStorageAccount, this requires the user to also specify jobStorageAccount property. . */
|
|
2295
|
+
contentStoragePolicy?: ContentStoragePolicy;
|
|
2296
|
+
/** The cluster which streaming jobs will run on. */
|
|
2297
|
+
cluster?: ClusterInfo;
|
|
2298
|
+
};
|
|
2299
|
+
|
|
2300
|
+
/** Object containing a list of streaming jobs. */
|
|
2301
|
+
export declare interface StreamingJobListResult {
|
|
2302
|
+
/**
|
|
2303
|
+
* A list of streaming jobs. Populated by a 'List' operation.
|
|
2304
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2305
|
+
*/
|
|
2306
|
+
readonly value?: StreamingJob[];
|
|
2307
|
+
/**
|
|
2308
|
+
* The link (url) to the next page of results.
|
|
2309
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2310
|
+
*/
|
|
2311
|
+
readonly nextLink?: string;
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
/** Interface representing a StreamingJobs. */
|
|
2315
|
+
export declare interface StreamingJobs {
|
|
2316
|
+
/**
|
|
2317
|
+
* Lists all of the streaming jobs in the specified resource group.
|
|
2318
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2319
|
+
* @param options The options parameters.
|
|
2320
|
+
*/
|
|
2321
|
+
listByResourceGroup(resourceGroupName: string, options?: StreamingJobsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StreamingJob>;
|
|
2322
|
+
/**
|
|
2323
|
+
* Lists all of the streaming jobs in the given subscription.
|
|
2324
|
+
* @param options The options parameters.
|
|
2325
|
+
*/
|
|
2326
|
+
list(options?: StreamingJobsListOptionalParams): PagedAsyncIterableIterator<StreamingJob>;
|
|
2327
|
+
/**
|
|
2328
|
+
* Creates a streaming job or replaces an already existing streaming job.
|
|
2329
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2330
|
+
* @param jobName The name of the streaming job.
|
|
2331
|
+
* @param streamingJob The definition of the streaming job that will be used to create a new streaming
|
|
2332
|
+
* job or replace the existing one.
|
|
2333
|
+
* @param options The options parameters.
|
|
2334
|
+
*/
|
|
2335
|
+
beginCreateOrReplace(resourceGroupName: string, jobName: string, streamingJob: StreamingJob, options?: StreamingJobsCreateOrReplaceOptionalParams): Promise<PollerLike<PollOperationState<StreamingJobsCreateOrReplaceResponse>, StreamingJobsCreateOrReplaceResponse>>;
|
|
2336
|
+
/**
|
|
2337
|
+
* Creates a streaming job or replaces an already existing streaming job.
|
|
2338
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2339
|
+
* @param jobName The name of the streaming job.
|
|
2340
|
+
* @param streamingJob The definition of the streaming job that will be used to create a new streaming
|
|
2341
|
+
* job or replace the existing one.
|
|
2342
|
+
* @param options The options parameters.
|
|
2343
|
+
*/
|
|
2344
|
+
beginCreateOrReplaceAndWait(resourceGroupName: string, jobName: string, streamingJob: StreamingJob, options?: StreamingJobsCreateOrReplaceOptionalParams): Promise<StreamingJobsCreateOrReplaceResponse>;
|
|
2345
|
+
/**
|
|
2346
|
+
* Updates an existing streaming job. This can be used to partially update (ie. update one or two
|
|
2347
|
+
* properties) a streaming job without affecting the rest the job definition.
|
|
2348
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2349
|
+
* @param jobName The name of the streaming job.
|
|
2350
|
+
* @param streamingJob A streaming job object. The properties specified here will overwrite the
|
|
2351
|
+
* corresponding properties in the existing streaming job (ie. Those properties will be updated). Any
|
|
2352
|
+
* properties that are set to null here will mean that the corresponding property in the existing input
|
|
2353
|
+
* will remain the same and not change as a result of this PATCH operation.
|
|
2354
|
+
* @param options The options parameters.
|
|
2355
|
+
*/
|
|
2356
|
+
update(resourceGroupName: string, jobName: string, streamingJob: StreamingJob, options?: StreamingJobsUpdateOptionalParams): Promise<StreamingJobsUpdateResponse>;
|
|
2357
|
+
/**
|
|
2358
|
+
* Deletes a streaming job.
|
|
2359
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2360
|
+
* @param jobName The name of the streaming job.
|
|
2361
|
+
* @param options The options parameters.
|
|
2362
|
+
*/
|
|
2363
|
+
beginDelete(resourceGroupName: string, jobName: string, options?: StreamingJobsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
2364
|
+
/**
|
|
2365
|
+
* Deletes a streaming job.
|
|
2366
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2367
|
+
* @param jobName The name of the streaming job.
|
|
2368
|
+
* @param options The options parameters.
|
|
2369
|
+
*/
|
|
2370
|
+
beginDeleteAndWait(resourceGroupName: string, jobName: string, options?: StreamingJobsDeleteOptionalParams): Promise<void>;
|
|
2371
|
+
/**
|
|
2372
|
+
* Gets details about the specified streaming job.
|
|
2373
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2374
|
+
* @param jobName The name of the streaming job.
|
|
2375
|
+
* @param options The options parameters.
|
|
2376
|
+
*/
|
|
2377
|
+
get(resourceGroupName: string, jobName: string, options?: StreamingJobsGetOptionalParams): Promise<StreamingJobsGetResponse>;
|
|
2378
|
+
/**
|
|
2379
|
+
* Starts a streaming job. Once a job is started it will start processing input events and produce
|
|
2380
|
+
* output.
|
|
2381
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2382
|
+
* @param jobName The name of the streaming job.
|
|
2383
|
+
* @param options The options parameters.
|
|
2384
|
+
*/
|
|
2385
|
+
beginStart(resourceGroupName: string, jobName: string, options?: StreamingJobsStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
2386
|
+
/**
|
|
2387
|
+
* Starts a streaming job. Once a job is started it will start processing input events and produce
|
|
2388
|
+
* output.
|
|
2389
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2390
|
+
* @param jobName The name of the streaming job.
|
|
2391
|
+
* @param options The options parameters.
|
|
2392
|
+
*/
|
|
2393
|
+
beginStartAndWait(resourceGroupName: string, jobName: string, options?: StreamingJobsStartOptionalParams): Promise<void>;
|
|
2394
|
+
/**
|
|
2395
|
+
* Stops a running streaming job. This will cause a running streaming job to stop processing input
|
|
2396
|
+
* events and producing output.
|
|
2397
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2398
|
+
* @param jobName The name of the streaming job.
|
|
2399
|
+
* @param options The options parameters.
|
|
2400
|
+
*/
|
|
2401
|
+
beginStop(resourceGroupName: string, jobName: string, options?: StreamingJobsStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
2402
|
+
/**
|
|
2403
|
+
* Stops a running streaming job. This will cause a running streaming job to stop processing input
|
|
2404
|
+
* events and producing output.
|
|
2405
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2406
|
+
* @param jobName The name of the streaming job.
|
|
2407
|
+
* @param options The options parameters.
|
|
2408
|
+
*/
|
|
2409
|
+
beginStopAndWait(resourceGroupName: string, jobName: string, options?: StreamingJobsStopOptionalParams): Promise<void>;
|
|
2410
|
+
/**
|
|
2411
|
+
* Scales a streaming job when the job is running.
|
|
2412
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2413
|
+
* @param jobName The name of the streaming job.
|
|
2414
|
+
* @param options The options parameters.
|
|
2415
|
+
*/
|
|
2416
|
+
beginScale(resourceGroupName: string, jobName: string, options?: StreamingJobsScaleOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
2417
|
+
/**
|
|
2418
|
+
* Scales a streaming job when the job is running.
|
|
2419
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2420
|
+
* @param jobName The name of the streaming job.
|
|
2421
|
+
* @param options The options parameters.
|
|
2422
|
+
*/
|
|
2423
|
+
beginScaleAndWait(resourceGroupName: string, jobName: string, options?: StreamingJobsScaleOptionalParams): Promise<void>;
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
/** Defines headers for StreamingJobs_createOrReplace operation. */
|
|
2427
|
+
export declare interface StreamingJobsCreateOrReplaceHeaders {
|
|
2428
|
+
/** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
2429
|
+
eTag?: string;
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
/** Optional parameters. */
|
|
2433
|
+
export declare interface StreamingJobsCreateOrReplaceOptionalParams extends coreClient.OperationOptions {
|
|
2434
|
+
/** The ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
2435
|
+
ifMatch?: string;
|
|
2436
|
+
/** Set to '*' to allow a new streaming job to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response. */
|
|
2437
|
+
ifNoneMatch?: string;
|
|
2438
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2439
|
+
updateIntervalInMs?: number;
|
|
2440
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2441
|
+
resumeFrom?: string;
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
/** Contains response data for the createOrReplace operation. */
|
|
2445
|
+
export declare type StreamingJobsCreateOrReplaceResponse = StreamingJobsCreateOrReplaceHeaders & StreamingJob;
|
|
2446
|
+
|
|
2447
|
+
/** Optional parameters. */
|
|
2448
|
+
export declare interface StreamingJobsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
2449
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2450
|
+
updateIntervalInMs?: number;
|
|
2451
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2452
|
+
resumeFrom?: string;
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2455
|
+
/** Defines headers for StreamingJobs_get operation. */
|
|
2456
|
+
export declare interface StreamingJobsGetHeaders {
|
|
2457
|
+
/** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
2458
|
+
eTag?: string;
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2461
|
+
/** Optional parameters. */
|
|
2462
|
+
export declare interface StreamingJobsGetOptionalParams extends coreClient.OperationOptions {
|
|
2463
|
+
/** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
|
|
2464
|
+
expand?: string;
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
/** Contains response data for the get operation. */
|
|
2468
|
+
export declare type StreamingJobsGetResponse = StreamingJobsGetHeaders & StreamingJob;
|
|
2469
|
+
|
|
2470
|
+
/** Optional parameters. */
|
|
2471
|
+
export declare interface StreamingJobsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
2472
|
+
/** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
|
|
2473
|
+
expand?: string;
|
|
2474
|
+
}
|
|
2475
|
+
|
|
2476
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
2477
|
+
export declare type StreamingJobsListByResourceGroupNextResponse = StreamingJobListResult;
|
|
2478
|
+
|
|
2479
|
+
/** Optional parameters. */
|
|
2480
|
+
export declare interface StreamingJobsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
2481
|
+
/** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
|
|
2482
|
+
expand?: string;
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
2486
|
+
export declare type StreamingJobsListByResourceGroupResponse = StreamingJobListResult;
|
|
2487
|
+
|
|
2488
|
+
/** Optional parameters. */
|
|
2489
|
+
export declare interface StreamingJobsListNextOptionalParams extends coreClient.OperationOptions {
|
|
2490
|
+
/** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
|
|
2491
|
+
expand?: string;
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
/** Contains response data for the listNext operation. */
|
|
2495
|
+
export declare type StreamingJobsListNextResponse = StreamingJobListResult;
|
|
2496
|
+
|
|
2497
|
+
/** Optional parameters. */
|
|
2498
|
+
export declare interface StreamingJobsListOptionalParams extends coreClient.OperationOptions {
|
|
2499
|
+
/** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
|
|
2500
|
+
expand?: string;
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
/** Contains response data for the list operation. */
|
|
2504
|
+
export declare type StreamingJobsListResponse = StreamingJobListResult;
|
|
2505
|
+
|
|
2506
|
+
/** Optional parameters. */
|
|
2507
|
+
export declare interface StreamingJobsScaleOptionalParams extends coreClient.OperationOptions {
|
|
2508
|
+
/** Parameters applicable to a scale streaming job operation. */
|
|
2509
|
+
scaleJobParameters?: ScaleStreamingJobParameters;
|
|
2510
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2511
|
+
updateIntervalInMs?: number;
|
|
2512
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2513
|
+
resumeFrom?: string;
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2516
|
+
/** Optional parameters. */
|
|
2517
|
+
export declare interface StreamingJobsStartOptionalParams extends coreClient.OperationOptions {
|
|
2518
|
+
/** Parameters applicable to a start streaming job operation. */
|
|
2519
|
+
startJobParameters?: StartStreamingJobParameters;
|
|
2520
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2521
|
+
updateIntervalInMs?: number;
|
|
2522
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2523
|
+
resumeFrom?: string;
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
/** Optional parameters. */
|
|
2527
|
+
export declare interface StreamingJobsStopOptionalParams extends coreClient.OperationOptions {
|
|
2528
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2529
|
+
updateIntervalInMs?: number;
|
|
2530
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2531
|
+
resumeFrom?: string;
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2534
|
+
/** Defines headers for StreamingJobs_update operation. */
|
|
2535
|
+
export declare interface StreamingJobsUpdateHeaders {
|
|
2536
|
+
/** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
2537
|
+
eTag?: string;
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
/** Optional parameters. */
|
|
2541
|
+
export declare interface StreamingJobsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2542
|
+
/** The ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
2543
|
+
ifMatch?: string;
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
/** Contains response data for the update operation. */
|
|
2547
|
+
export declare type StreamingJobsUpdateResponse = StreamingJobsUpdateHeaders & StreamingJob;
|
|
2548
|
+
|
|
2549
|
+
/** Describes an input data source that contains stream data. */
|
|
2550
|
+
export declare interface StreamInputDataSource {
|
|
2551
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2552
|
+
type: "Microsoft.Storage/Blob" | "Microsoft.ServiceBus/EventHub" | "Microsoft.EventHub/EventHub" | "Microsoft.Devices/IotHubs";
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
export declare type StreamInputDataSourceUnion = StreamInputDataSource | BlobStreamInputDataSource | EventHubStreamInputDataSource | EventHubV2StreamInputDataSource | IoTHubStreamInputDataSource;
|
|
2556
|
+
|
|
2557
|
+
/** The properties that are associated with an input containing stream data. */
|
|
2558
|
+
export declare type StreamInputProperties = InputProperties & {
|
|
2559
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2560
|
+
type: "Stream";
|
|
2561
|
+
/** Describes an input data source that contains stream data. Required on PUT (CreateOrReplace) requests. */
|
|
2562
|
+
datasource?: StreamInputDataSourceUnion;
|
|
2563
|
+
};
|
|
2564
|
+
|
|
2565
|
+
/** The base sub-resource model definition. */
|
|
2566
|
+
export declare interface SubResource {
|
|
2567
|
+
/**
|
|
2568
|
+
* Resource Id
|
|
2569
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2570
|
+
*/
|
|
2571
|
+
readonly id?: string;
|
|
2572
|
+
/** Resource name */
|
|
2573
|
+
name?: string;
|
|
2574
|
+
/**
|
|
2575
|
+
* Resource type
|
|
2576
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2577
|
+
*/
|
|
2578
|
+
readonly type?: string;
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
/** Describes the current quota for the subscription. */
|
|
2582
|
+
export declare type SubscriptionQuota = SubResource & {
|
|
2583
|
+
/**
|
|
2584
|
+
* The max permitted usage of this resource.
|
|
2585
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2586
|
+
*/
|
|
2587
|
+
readonly maxCount?: number;
|
|
2588
|
+
/**
|
|
2589
|
+
* The current usage of this resource.
|
|
2590
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2591
|
+
*/
|
|
2592
|
+
readonly currentCount?: number;
|
|
2593
|
+
};
|
|
2594
|
+
|
|
2595
|
+
/** Result of the GetQuotas operation. It contains a list of quotas for the subscription in a particular region. */
|
|
2596
|
+
export declare interface SubscriptionQuotasListResult {
|
|
2597
|
+
/**
|
|
2598
|
+
* List of quotas for the subscription in a particular region.
|
|
2599
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2600
|
+
*/
|
|
2601
|
+
readonly value?: SubscriptionQuota[];
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
/** Interface representing a Subscriptions. */
|
|
2605
|
+
export declare interface Subscriptions {
|
|
2606
|
+
/**
|
|
2607
|
+
* Retrieves the subscription's current quota information in a particular region.
|
|
2608
|
+
* @param location The region in which to retrieve the subscription's quota information. You can find
|
|
2609
|
+
* out which regions Azure Stream Analytics is supported in here:
|
|
2610
|
+
* https://azure.microsoft.com/en-us/regions/
|
|
2611
|
+
* @param options The options parameters.
|
|
2612
|
+
*/
|
|
2613
|
+
listQuotas(location: string, options?: SubscriptionsListQuotasOptionalParams): Promise<SubscriptionsListQuotasResponse>;
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
/** Optional parameters. */
|
|
2617
|
+
export declare interface SubscriptionsListQuotasOptionalParams extends coreClient.OperationOptions {
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
/** Contains response data for the listQuotas operation. */
|
|
2621
|
+
export declare type SubscriptionsListQuotasResponse = SubscriptionQuotasListResult;
|
|
2622
|
+
|
|
2623
|
+
/** The resource model definition for a ARM tracked top level resource */
|
|
2624
|
+
export declare type TrackedResource = Resource & {
|
|
2625
|
+
/** Resource tags. */
|
|
2626
|
+
tags?: {
|
|
2627
|
+
[propertyName: string]: string;
|
|
2628
|
+
};
|
|
2629
|
+
/** The geo-location where the resource lives */
|
|
2630
|
+
location?: string;
|
|
2631
|
+
};
|
|
2632
|
+
|
|
2633
|
+
/** A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job. */
|
|
2634
|
+
export declare type Transformation = SubResource & {
|
|
2635
|
+
/** Specifies the number of streaming units that the streaming job uses. */
|
|
2636
|
+
streamingUnits?: number;
|
|
2637
|
+
/** Specifies the valid streaming units a streaming job can scale to. */
|
|
2638
|
+
validStreamingUnits?: number[];
|
|
2639
|
+
/** Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests. */
|
|
2640
|
+
query?: string;
|
|
2641
|
+
/**
|
|
2642
|
+
* The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
|
|
2643
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2644
|
+
*/
|
|
2645
|
+
readonly etag?: string;
|
|
2646
|
+
};
|
|
2647
|
+
|
|
2648
|
+
/** Interface representing a Transformations. */
|
|
2649
|
+
export declare interface Transformations {
|
|
2650
|
+
/**
|
|
2651
|
+
* Creates a transformation or replaces an already existing transformation under an existing streaming
|
|
2652
|
+
* job.
|
|
2653
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2654
|
+
* @param jobName The name of the streaming job.
|
|
2655
|
+
* @param transformationName The name of the transformation.
|
|
2656
|
+
* @param transformation The definition of the transformation that will be used to create a new
|
|
2657
|
+
* transformation or replace the existing one under the streaming job.
|
|
2658
|
+
* @param options The options parameters.
|
|
2659
|
+
*/
|
|
2660
|
+
createOrReplace(resourceGroupName: string, jobName: string, transformationName: string, transformation: Transformation, options?: TransformationsCreateOrReplaceOptionalParams): Promise<TransformationsCreateOrReplaceResponse>;
|
|
2661
|
+
/**
|
|
2662
|
+
* Updates an existing transformation under an existing streaming job. This can be used to partially
|
|
2663
|
+
* update (ie. update one or two properties) a transformation without affecting the rest the job or
|
|
2664
|
+
* transformation definition.
|
|
2665
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2666
|
+
* @param jobName The name of the streaming job.
|
|
2667
|
+
* @param transformationName The name of the transformation.
|
|
2668
|
+
* @param transformation A Transformation object. The properties specified here will overwrite the
|
|
2669
|
+
* corresponding properties in the existing transformation (ie. Those properties will be updated). Any
|
|
2670
|
+
* properties that are set to null here will mean that the corresponding property in the existing
|
|
2671
|
+
* transformation will remain the same and not change as a result of this PATCH operation.
|
|
2672
|
+
* @param options The options parameters.
|
|
2673
|
+
*/
|
|
2674
|
+
update(resourceGroupName: string, jobName: string, transformationName: string, transformation: Transformation, options?: TransformationsUpdateOptionalParams): Promise<TransformationsUpdateResponse>;
|
|
2675
|
+
/**
|
|
2676
|
+
* Gets details about the specified transformation.
|
|
2677
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2678
|
+
* @param jobName The name of the streaming job.
|
|
2679
|
+
* @param transformationName The name of the transformation.
|
|
2680
|
+
* @param options The options parameters.
|
|
2681
|
+
*/
|
|
2682
|
+
get(resourceGroupName: string, jobName: string, transformationName: string, options?: TransformationsGetOptionalParams): Promise<TransformationsGetResponse>;
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
/** Defines headers for Transformations_createOrReplace operation. */
|
|
2686
|
+
export declare interface TransformationsCreateOrReplaceHeaders {
|
|
2687
|
+
/** The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
2688
|
+
eTag?: string;
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
/** Optional parameters. */
|
|
2692
|
+
export declare interface TransformationsCreateOrReplaceOptionalParams extends coreClient.OperationOptions {
|
|
2693
|
+
/** The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
2694
|
+
ifMatch?: string;
|
|
2695
|
+
/** Set to '*' to allow a new transformation to be created, but to prevent updating an existing transformation. Other values will result in a 412 Pre-condition Failed response. */
|
|
2696
|
+
ifNoneMatch?: string;
|
|
2697
|
+
}
|
|
2698
|
+
|
|
2699
|
+
/** Contains response data for the createOrReplace operation. */
|
|
2700
|
+
export declare type TransformationsCreateOrReplaceResponse = TransformationsCreateOrReplaceHeaders & Transformation;
|
|
2701
|
+
|
|
2702
|
+
/** Defines headers for Transformations_get operation. */
|
|
2703
|
+
export declare interface TransformationsGetHeaders {
|
|
2704
|
+
/** The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
2705
|
+
eTag?: string;
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
/** Optional parameters. */
|
|
2709
|
+
export declare interface TransformationsGetOptionalParams extends coreClient.OperationOptions {
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
/** Contains response data for the get operation. */
|
|
2713
|
+
export declare type TransformationsGetResponse = TransformationsGetHeaders & Transformation;
|
|
2714
|
+
|
|
2715
|
+
/** Defines headers for Transformations_update operation. */
|
|
2716
|
+
export declare interface TransformationsUpdateHeaders {
|
|
2717
|
+
/** The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
|
|
2718
|
+
eTag?: string;
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
/** Optional parameters. */
|
|
2722
|
+
export declare interface TransformationsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2723
|
+
/** The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
|
|
2724
|
+
ifMatch?: string;
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
/** Contains response data for the update operation. */
|
|
2728
|
+
export declare type TransformationsUpdateResponse = TransformationsUpdateHeaders & Transformation;
|
|
2729
|
+
|
|
2730
|
+
export { }
|