@azure/arm-datalake-analytics 1.1.1 → 2.0.0-alpha.20211220.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +69 -91
- package/dist/index.js +4780 -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/dataLakeAnalyticsAccountManagementClient.d.ts +22 -0
- package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.d.ts.map +1 -0
- package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.js +29 -0
- package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.js.map +1 -0
- package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.d.ts +17 -0
- package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.js +50 -0
- package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1346 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +31 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +56 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1439 -1205
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +32 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +254 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/accounts.d.ts +120 -0
- package/dist-esm/src/operations/accounts.d.ts.map +1 -0
- package/dist-esm/src/operations/accounts.js +569 -0
- package/dist-esm/src/operations/accounts.js.map +1 -0
- package/dist-esm/src/operations/computePolicies.d.ts +76 -0
- package/dist-esm/src/operations/computePolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/computePolicies.js +280 -0
- package/dist-esm/src/operations/computePolicies.js.map +1 -0
- package/dist-esm/src/operations/dataLakeStoreAccounts.d.ts +64 -0
- package/dist-esm/src/operations/dataLakeStoreAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/dataLakeStoreAccounts.js +250 -0
- package/dist-esm/src/operations/dataLakeStoreAccounts.js.map +1 -0
- package/dist-esm/src/operations/firewallRules.d.ts +72 -0
- package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
- package/dist-esm/src/operations/firewallRules.js +270 -0
- package/dist-esm/src/operations/firewallRules.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/locations.d.ts +20 -0
- package/dist-esm/src/operations/locations.d.ts.map +1 -0
- package/dist-esm/src/operations/locations.js +53 -0
- package/dist-esm/src/operations/locations.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/storageAccounts.d.ts +153 -0
- package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/storageAccounts.js +594 -0
- package/dist-esm/src/operations/storageAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/accounts.js} +2 -1
- package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/computePolicies.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/computePolicies.d.ts.map +1 -0
- package/{src/models/locationsMappers.ts → dist-esm/src/operationsInterfaces/computePolicies.js} +2 -7
- package/dist-esm/src/operationsInterfaces/computePolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +1 -0
- package/{esm/models/locationsMappers.js → dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.js} +2 -2
- package/dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/firewallRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +15 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.js +9 -0
- package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -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/storageAccounts.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +4 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +89 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -22
- package/review/arm-datalake-analytics.api.md +935 -0
- package/rollup.config.js +181 -30
- package/src/dataLakeAnalyticsAccountManagementClient.ts +45 -44
- package/src/dataLakeAnalyticsAccountManagementClientContext.ts +46 -43
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1160 -1948
- package/src/models/mappers.ts +1446 -1179
- package/src/models/parameters.ts +183 -93
- package/src/operations/accounts.ts +540 -372
- package/src/operations/computePolicies.ts +225 -254
- package/src/operations/dataLakeStoreAccounts.ts +213 -220
- package/src/operations/firewallRules.ts +222 -255
- package/src/operations/index.ts +1 -2
- package/src/operations/locations.ts +32 -44
- package/src/operations/operations.ts +24 -38
- package/src/operations/storageAccounts.ts +562 -476
- package/src/operationsInterfaces/accounts.ts +155 -0
- package/src/operationsInterfaces/computePolicies.ts +95 -0
- package/src/operationsInterfaces/dataLakeStoreAccounts.ts +73 -0
- package/src/operationsInterfaces/firewallRules.ts +92 -0
- package/src/operationsInterfaces/index.ts +15 -0
- package/src/operationsInterfaces/locations.ts +26 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/src/operationsInterfaces/storageAccounts.ts +147 -0
- package/tsconfig.json +3 -3
- package/types/arm-datalake-analytics.d.ts +1829 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-datalake-analytics.js +0 -4239
- package/dist/arm-datalake-analytics.js.map +0 -1
- package/dist/arm-datalake-analytics.min.js +0 -1
- package/dist/arm-datalake-analytics.min.js.map +0 -1
- package/esm/dataLakeAnalyticsAccountManagementClient.d.ts +0 -31
- package/esm/dataLakeAnalyticsAccountManagementClient.d.ts.map +0 -1
- package/esm/dataLakeAnalyticsAccountManagementClient.js +0 -44
- package/esm/dataLakeAnalyticsAccountManagementClient.js.map +0 -1
- package/esm/dataLakeAnalyticsAccountManagementClientContext.d.ts +0 -23
- package/esm/dataLakeAnalyticsAccountManagementClientContext.d.ts.map +0 -1
- package/esm/dataLakeAnalyticsAccountManagementClientContext.js +0 -61
- package/esm/dataLakeAnalyticsAccountManagementClientContext.js.map +0 -1
- package/esm/models/accountsMappers.d.ts +0 -2
- package/esm/models/accountsMappers.d.ts.map +0 -1
- package/esm/models/accountsMappers.js +0 -9
- package/esm/models/accountsMappers.js.map +0 -1
- package/esm/models/computePoliciesMappers.d.ts +0 -2
- package/esm/models/computePoliciesMappers.d.ts.map +0 -1
- package/esm/models/computePoliciesMappers.js +0 -9
- package/esm/models/computePoliciesMappers.js.map +0 -1
- package/esm/models/dataLakeStoreAccountsMappers.d.ts +0 -2
- package/esm/models/dataLakeStoreAccountsMappers.d.ts.map +0 -1
- package/esm/models/dataLakeStoreAccountsMappers.js +0 -9
- package/esm/models/dataLakeStoreAccountsMappers.js.map +0 -1
- package/esm/models/firewallRulesMappers.d.ts +0 -2
- package/esm/models/firewallRulesMappers.d.ts.map +0 -1
- package/esm/models/firewallRulesMappers.js +0 -9
- package/esm/models/firewallRulesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2162
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/locationsMappers.d.ts +0 -2
- package/esm/models/locationsMappers.d.ts.map +0 -1
- package/esm/models/locationsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -56
- 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/parameters.d.ts +0 -20
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -208
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/storageAccountsMappers.d.ts +0 -2
- package/esm/models/storageAccountsMappers.d.ts.map +0 -1
- package/esm/models/storageAccountsMappers.js +0 -9
- package/esm/models/storageAccountsMappers.js.map +0 -1
- package/esm/operations/accounts.d.ts +0 -188
- package/esm/operations/accounts.d.ts.map +0 -1
- package/esm/operations/accounts.js +0 -406
- package/esm/operations/accounts.js.map +0 -1
- package/esm/operations/computePolicies.d.ts +0 -158
- package/esm/operations/computePolicies.d.ts.map +0 -1
- package/esm/operations/computePolicies.js +0 -230
- package/esm/operations/computePolicies.js.map +0 -1
- package/esm/operations/dataLakeStoreAccounts.d.ts +0 -128
- package/esm/operations/dataLakeStoreAccounts.d.ts.map +0 -1
- package/esm/operations/dataLakeStoreAccounts.js +0 -200
- package/esm/operations/dataLakeStoreAccounts.js.map +0 -1
- package/esm/operations/firewallRules.d.ts +0 -152
- package/esm/operations/firewallRules.d.ts.map +0 -1
- package/esm/operations/firewallRules.js +0 -230
- package/esm/operations/firewallRules.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/locations.d.ts +0 -32
- package/esm/operations/locations.d.ts.map +0 -1
- package/esm/operations/locations.js +0 -56
- package/esm/operations/locations.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -50
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/storageAccounts.d.ts +0 -293
- package/esm/operations/storageAccounts.d.ts.map +0 -1
- package/esm/operations/storageAccounts.js +0 -398
- package/esm/operations/storageAccounts.js.map +0 -1
- package/src/models/accountsMappers.ts +0 -38
- package/src/models/computePoliciesMappers.ts +0 -28
- package/src/models/dataLakeStoreAccountsMappers.ts +0 -27
- package/src/models/firewallRulesMappers.ts +0 -28
- package/src/models/operationsMappers.ts +0 -21
- package/src/models/storageAccountsMappers.ts +0 -31
|
@@ -3,96 +3,147 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { DataLakeStoreAccounts } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
14
|
import { DataLakeAnalyticsAccountManagementClientContext } from "../dataLakeAnalyticsAccountManagementClientContext";
|
|
15
|
+
import {
|
|
16
|
+
DataLakeStoreAccountInformation,
|
|
17
|
+
DataLakeStoreAccountsListByAccountNextOptionalParams,
|
|
18
|
+
DataLakeStoreAccountsListByAccountOptionalParams,
|
|
19
|
+
DataLakeStoreAccountsListByAccountResponse,
|
|
20
|
+
DataLakeStoreAccountsAddOptionalParams,
|
|
21
|
+
DataLakeStoreAccountsGetOptionalParams,
|
|
22
|
+
DataLakeStoreAccountsGetResponse,
|
|
23
|
+
DataLakeStoreAccountsDeleteOptionalParams,
|
|
24
|
+
DataLakeStoreAccountsListByAccountNextResponse
|
|
25
|
+
} from "../models";
|
|
15
26
|
|
|
16
|
-
|
|
17
|
-
|
|
27
|
+
/// <reference lib="esnext.asynciterable" />
|
|
28
|
+
/** Class containing DataLakeStoreAccounts operations. */
|
|
29
|
+
export class DataLakeStoreAccountsImpl implements DataLakeStoreAccounts {
|
|
18
30
|
private readonly client: DataLakeAnalyticsAccountManagementClientContext;
|
|
19
31
|
|
|
20
32
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
33
|
+
* Initialize a new instance of the class DataLakeStoreAccounts class.
|
|
34
|
+
* @param client Reference to the service client
|
|
23
35
|
*/
|
|
24
36
|
constructor(client: DataLakeAnalyticsAccountManagementClientContext) {
|
|
25
37
|
this.client = client;
|
|
26
38
|
}
|
|
27
39
|
|
|
28
40
|
/**
|
|
29
|
-
* Gets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics
|
|
30
|
-
*
|
|
41
|
+
* Gets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics account.
|
|
42
|
+
* The response includes a link to the next page, if any.
|
|
31
43
|
* @param resourceGroupName The name of the Azure resource group.
|
|
32
44
|
* @param accountName The name of the Data Lake Analytics account.
|
|
33
|
-
* @param
|
|
34
|
-
* @returns Promise<Models.DataLakeStoreAccountsListByAccountResponse>
|
|
45
|
+
* @param options The options parameters.
|
|
35
46
|
*/
|
|
36
|
-
listByAccount(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
public listByAccount(
|
|
48
|
+
resourceGroupName: string,
|
|
49
|
+
accountName: string,
|
|
50
|
+
options?: DataLakeStoreAccountsListByAccountOptionalParams
|
|
51
|
+
): PagedAsyncIterableIterator<DataLakeStoreAccountInformation> {
|
|
52
|
+
const iter = this.listByAccountPagingAll(
|
|
53
|
+
resourceGroupName,
|
|
54
|
+
accountName,
|
|
55
|
+
options
|
|
56
|
+
);
|
|
57
|
+
return {
|
|
58
|
+
next() {
|
|
59
|
+
return iter.next();
|
|
60
|
+
},
|
|
61
|
+
[Symbol.asyncIterator]() {
|
|
62
|
+
return this;
|
|
63
|
+
},
|
|
64
|
+
byPage: () => {
|
|
65
|
+
return this.listByAccountPagingPage(
|
|
66
|
+
resourceGroupName,
|
|
67
|
+
accountName,
|
|
68
|
+
options
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
private async *listByAccountPagingPage(
|
|
75
|
+
resourceGroupName: string,
|
|
76
|
+
accountName: string,
|
|
77
|
+
options?: DataLakeStoreAccountsListByAccountOptionalParams
|
|
78
|
+
): AsyncIterableIterator<DataLakeStoreAccountInformation[]> {
|
|
79
|
+
let result = await this._listByAccount(
|
|
80
|
+
resourceGroupName,
|
|
81
|
+
accountName,
|
|
82
|
+
options
|
|
83
|
+
);
|
|
84
|
+
yield result.value || [];
|
|
85
|
+
let continuationToken = result.nextLink;
|
|
86
|
+
while (continuationToken) {
|
|
87
|
+
result = await this._listByAccountNext(
|
|
53
88
|
resourceGroupName,
|
|
54
89
|
accountName,
|
|
90
|
+
continuationToken,
|
|
55
91
|
options
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
92
|
+
);
|
|
93
|
+
continuationToken = result.nextLink;
|
|
94
|
+
yield result.value || [];
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
private async *listByAccountPagingAll(
|
|
99
|
+
resourceGroupName: string,
|
|
100
|
+
accountName: string,
|
|
101
|
+
options?: DataLakeStoreAccountsListByAccountOptionalParams
|
|
102
|
+
): AsyncIterableIterator<DataLakeStoreAccountInformation> {
|
|
103
|
+
for await (const page of this.listByAccountPagingPage(
|
|
104
|
+
resourceGroupName,
|
|
105
|
+
accountName,
|
|
106
|
+
options
|
|
107
|
+
)) {
|
|
108
|
+
yield* page;
|
|
109
|
+
}
|
|
59
110
|
}
|
|
60
111
|
|
|
61
112
|
/**
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* @param resourceGroupName The name of the Azure resource group.
|
|
65
|
-
* @param accountName The name of the Data Lake Analytics account.
|
|
66
|
-
* @param dataLakeStoreAccountName The name of the Data Lake Store account to add.
|
|
67
|
-
* @param [options] The optional parameters
|
|
68
|
-
* @returns Promise<msRest.RestResponse>
|
|
69
|
-
*/
|
|
70
|
-
add(resourceGroupName: string, accountName: string, dataLakeStoreAccountName: string, options?: Models.DataLakeStoreAccountsAddOptionalParams): Promise<msRest.RestResponse>;
|
|
71
|
-
/**
|
|
113
|
+
* Gets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics account.
|
|
114
|
+
* The response includes a link to the next page, if any.
|
|
72
115
|
* @param resourceGroupName The name of the Azure resource group.
|
|
73
116
|
* @param accountName The name of the Data Lake Analytics account.
|
|
74
|
-
* @param
|
|
75
|
-
* @param callback The callback
|
|
117
|
+
* @param options The options parameters.
|
|
76
118
|
*/
|
|
77
|
-
|
|
119
|
+
private _listByAccount(
|
|
120
|
+
resourceGroupName: string,
|
|
121
|
+
accountName: string,
|
|
122
|
+
options?: DataLakeStoreAccountsListByAccountOptionalParams
|
|
123
|
+
): Promise<DataLakeStoreAccountsListByAccountResponse> {
|
|
124
|
+
return this.client.sendOperationRequest(
|
|
125
|
+
{ resourceGroupName, accountName, options },
|
|
126
|
+
listByAccountOperationSpec
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
|
|
78
130
|
/**
|
|
131
|
+
* Updates the specified Data Lake Analytics account to include the additional Data Lake Store account.
|
|
79
132
|
* @param resourceGroupName The name of the Azure resource group.
|
|
80
133
|
* @param accountName The name of the Data Lake Analytics account.
|
|
81
134
|
* @param dataLakeStoreAccountName The name of the Data Lake Store account to add.
|
|
82
|
-
* @param options The
|
|
83
|
-
* @param callback The callback
|
|
135
|
+
* @param options The options parameters.
|
|
84
136
|
*/
|
|
85
|
-
add(
|
|
86
|
-
|
|
137
|
+
add(
|
|
138
|
+
resourceGroupName: string,
|
|
139
|
+
accountName: string,
|
|
140
|
+
dataLakeStoreAccountName: string,
|
|
141
|
+
options?: DataLakeStoreAccountsAddOptionalParams
|
|
142
|
+
): Promise<void> {
|
|
87
143
|
return this.client.sendOperationRequest(
|
|
88
|
-
{
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
dataLakeStoreAccountName,
|
|
92
|
-
options
|
|
93
|
-
},
|
|
94
|
-
addOperationSpec,
|
|
95
|
-
callback);
|
|
144
|
+
{ resourceGroupName, accountName, dataLakeStoreAccountName, options },
|
|
145
|
+
addOperationSpec
|
|
146
|
+
);
|
|
96
147
|
}
|
|
97
148
|
|
|
98
149
|
/**
|
|
@@ -100,114 +151,73 @@ export class DataLakeStoreAccounts {
|
|
|
100
151
|
* @param resourceGroupName The name of the Azure resource group.
|
|
101
152
|
* @param accountName The name of the Data Lake Analytics account.
|
|
102
153
|
* @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve
|
|
103
|
-
* @param
|
|
104
|
-
* @returns Promise<Models.DataLakeStoreAccountsGetResponse>
|
|
105
|
-
*/
|
|
106
|
-
get(resourceGroupName: string, accountName: string, dataLakeStoreAccountName: string, options?: msRest.RequestOptionsBase): Promise<Models.DataLakeStoreAccountsGetResponse>;
|
|
107
|
-
/**
|
|
108
|
-
* @param resourceGroupName The name of the Azure resource group.
|
|
109
|
-
* @param accountName The name of the Data Lake Analytics account.
|
|
110
|
-
* @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve
|
|
111
|
-
* @param callback The callback
|
|
112
|
-
*/
|
|
113
|
-
get(resourceGroupName: string, accountName: string, dataLakeStoreAccountName: string, callback: msRest.ServiceCallback<Models.DataLakeStoreAccountInformation>): void;
|
|
114
|
-
/**
|
|
115
|
-
* @param resourceGroupName The name of the Azure resource group.
|
|
116
|
-
* @param accountName The name of the Data Lake Analytics account.
|
|
117
|
-
* @param dataLakeStoreAccountName The name of the Data Lake Store account to retrieve
|
|
118
|
-
* @param options The optional parameters
|
|
119
|
-
* @param callback The callback
|
|
154
|
+
* @param options The options parameters.
|
|
120
155
|
*/
|
|
121
|
-
get(
|
|
122
|
-
|
|
156
|
+
get(
|
|
157
|
+
resourceGroupName: string,
|
|
158
|
+
accountName: string,
|
|
159
|
+
dataLakeStoreAccountName: string,
|
|
160
|
+
options?: DataLakeStoreAccountsGetOptionalParams
|
|
161
|
+
): Promise<DataLakeStoreAccountsGetResponse> {
|
|
123
162
|
return this.client.sendOperationRequest(
|
|
124
|
-
{
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
dataLakeStoreAccountName,
|
|
128
|
-
options
|
|
129
|
-
},
|
|
130
|
-
getOperationSpec,
|
|
131
|
-
callback) as Promise<Models.DataLakeStoreAccountsGetResponse>;
|
|
163
|
+
{ resourceGroupName, accountName, dataLakeStoreAccountName, options },
|
|
164
|
+
getOperationSpec
|
|
165
|
+
);
|
|
132
166
|
}
|
|
133
167
|
|
|
134
168
|
/**
|
|
135
|
-
* Updates the Data Lake Analytics account specified to remove the specified Data Lake Store
|
|
136
|
-
* account.
|
|
137
|
-
* @param resourceGroupName The name of the Azure resource group.
|
|
138
|
-
* @param accountName The name of the Data Lake Analytics account.
|
|
139
|
-
* @param dataLakeStoreAccountName The name of the Data Lake Store account to remove
|
|
140
|
-
* @param [options] The optional parameters
|
|
141
|
-
* @returns Promise<msRest.RestResponse>
|
|
142
|
-
*/
|
|
143
|
-
deleteMethod(resourceGroupName: string, accountName: string, dataLakeStoreAccountName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
144
|
-
/**
|
|
169
|
+
* Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account.
|
|
145
170
|
* @param resourceGroupName The name of the Azure resource group.
|
|
146
171
|
* @param accountName The name of the Data Lake Analytics account.
|
|
147
172
|
* @param dataLakeStoreAccountName The name of the Data Lake Store account to remove
|
|
148
|
-
* @param
|
|
173
|
+
* @param options The options parameters.
|
|
149
174
|
*/
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
* @param callback The callback
|
|
157
|
-
*/
|
|
158
|
-
deleteMethod(resourceGroupName: string, accountName: string, dataLakeStoreAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
159
|
-
deleteMethod(resourceGroupName: string, accountName: string, dataLakeStoreAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
175
|
+
delete(
|
|
176
|
+
resourceGroupName: string,
|
|
177
|
+
accountName: string,
|
|
178
|
+
dataLakeStoreAccountName: string,
|
|
179
|
+
options?: DataLakeStoreAccountsDeleteOptionalParams
|
|
180
|
+
): Promise<void> {
|
|
160
181
|
return this.client.sendOperationRequest(
|
|
161
|
-
{
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
dataLakeStoreAccountName,
|
|
165
|
-
options
|
|
166
|
-
},
|
|
167
|
-
deleteMethodOperationSpec,
|
|
168
|
-
callback);
|
|
182
|
+
{ resourceGroupName, accountName, dataLakeStoreAccountName, options },
|
|
183
|
+
deleteOperationSpec
|
|
184
|
+
);
|
|
169
185
|
}
|
|
170
186
|
|
|
171
187
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* @param
|
|
175
|
-
* @param
|
|
176
|
-
* @
|
|
177
|
-
*/
|
|
178
|
-
listByAccountNext(nextPageLink: string, options?: Models.DataLakeStoreAccountsListByAccountNextOptionalParams): Promise<Models.DataLakeStoreAccountsListByAccountNextResponse>;
|
|
179
|
-
/**
|
|
180
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
181
|
-
* @param callback The callback
|
|
182
|
-
*/
|
|
183
|
-
listByAccountNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DataLakeStoreAccountInformationListResult>): void;
|
|
184
|
-
/**
|
|
185
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
186
|
-
* @param options The optional parameters
|
|
187
|
-
* @param callback The callback
|
|
188
|
+
* ListByAccountNext
|
|
189
|
+
* @param resourceGroupName The name of the Azure resource group.
|
|
190
|
+
* @param accountName The name of the Data Lake Analytics account.
|
|
191
|
+
* @param nextLink The nextLink from the previous successful call to the ListByAccount method.
|
|
192
|
+
* @param options The options parameters.
|
|
188
193
|
*/
|
|
189
|
-
|
|
190
|
-
|
|
194
|
+
private _listByAccountNext(
|
|
195
|
+
resourceGroupName: string,
|
|
196
|
+
accountName: string,
|
|
197
|
+
nextLink: string,
|
|
198
|
+
options?: DataLakeStoreAccountsListByAccountNextOptionalParams
|
|
199
|
+
): Promise<DataLakeStoreAccountsListByAccountNextResponse> {
|
|
191
200
|
return this.client.sendOperationRequest(
|
|
192
|
-
{
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
},
|
|
196
|
-
listByAccountNextOperationSpec,
|
|
197
|
-
callback) as Promise<Models.DataLakeStoreAccountsListByAccountNextResponse>;
|
|
201
|
+
{ resourceGroupName, accountName, nextLink, options },
|
|
202
|
+
listByAccountNextOperationSpec
|
|
203
|
+
);
|
|
198
204
|
}
|
|
199
205
|
}
|
|
200
|
-
|
|
201
206
|
// Operation Specifications
|
|
202
|
-
const serializer =
|
|
203
|
-
|
|
207
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
208
|
+
|
|
209
|
+
const listByAccountOperationSpec: coreClient.OperationSpec = {
|
|
210
|
+
path:
|
|
211
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts",
|
|
204
212
|
httpMethod: "GET",
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
213
|
+
responses: {
|
|
214
|
+
200: {
|
|
215
|
+
bodyMapper: Mappers.DataLakeStoreAccountInformationListResult
|
|
216
|
+
},
|
|
217
|
+
default: {
|
|
218
|
+
bodyMapper: Mappers.ErrorResponse
|
|
219
|
+
}
|
|
220
|
+
},
|
|
211
221
|
queryParameters: [
|
|
212
222
|
Parameters.filter,
|
|
213
223
|
Parameters.top,
|
|
@@ -217,66 +227,42 @@ const listByAccountOperationSpec: msRest.OperationSpec = {
|
|
|
217
227
|
Parameters.count,
|
|
218
228
|
Parameters.apiVersion
|
|
219
229
|
],
|
|
220
|
-
headerParameters: [
|
|
221
|
-
Parameters.acceptLanguage
|
|
222
|
-
],
|
|
223
|
-
responses: {
|
|
224
|
-
200: {
|
|
225
|
-
bodyMapper: Mappers.DataLakeStoreAccountInformationListResult
|
|
226
|
-
},
|
|
227
|
-
default: {
|
|
228
|
-
bodyMapper: Mappers.ErrorResponse
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
serializer
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
const addOperationSpec: msRest.OperationSpec = {
|
|
235
|
-
httpMethod: "PUT",
|
|
236
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
|
|
237
230
|
urlParameters: [
|
|
231
|
+
Parameters.$host,
|
|
238
232
|
Parameters.subscriptionId,
|
|
239
233
|
Parameters.resourceGroupName,
|
|
240
|
-
Parameters.accountName
|
|
241
|
-
Parameters.dataLakeStoreAccountName
|
|
242
|
-
],
|
|
243
|
-
queryParameters: [
|
|
244
|
-
Parameters.apiVersion
|
|
245
|
-
],
|
|
246
|
-
headerParameters: [
|
|
247
|
-
Parameters.acceptLanguage
|
|
234
|
+
Parameters.accountName
|
|
248
235
|
],
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
236
|
+
headerParameters: [Parameters.accept],
|
|
237
|
+
serializer
|
|
238
|
+
};
|
|
239
|
+
const addOperationSpec: coreClient.OperationSpec = {
|
|
240
|
+
path:
|
|
241
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
|
|
242
|
+
httpMethod: "PUT",
|
|
256
243
|
responses: {
|
|
257
244
|
200: {},
|
|
258
245
|
default: {
|
|
259
246
|
bodyMapper: Mappers.ErrorResponse
|
|
260
247
|
}
|
|
261
248
|
},
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
266
|
-
httpMethod: "GET",
|
|
267
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
|
|
249
|
+
requestBody: Parameters.parameters3,
|
|
250
|
+
queryParameters: [Parameters.apiVersion],
|
|
268
251
|
urlParameters: [
|
|
252
|
+
Parameters.$host,
|
|
269
253
|
Parameters.subscriptionId,
|
|
270
254
|
Parameters.resourceGroupName,
|
|
271
255
|
Parameters.accountName,
|
|
272
256
|
Parameters.dataLakeStoreAccountName
|
|
273
257
|
],
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
258
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
259
|
+
mediaType: "json",
|
|
260
|
+
serializer
|
|
261
|
+
};
|
|
262
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
263
|
+
path:
|
|
264
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
|
|
265
|
+
httpMethod: "GET",
|
|
280
266
|
responses: {
|
|
281
267
|
200: {
|
|
282
268
|
bodyMapper: Mappers.DataLakeStoreAccountInformation
|
|
@@ -285,40 +271,50 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
285
271
|
bodyMapper: Mappers.ErrorResponse
|
|
286
272
|
}
|
|
287
273
|
},
|
|
288
|
-
|
|
289
|
-
};
|
|
290
|
-
|
|
291
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
292
|
-
httpMethod: "DELETE",
|
|
293
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
|
|
274
|
+
queryParameters: [Parameters.apiVersion],
|
|
294
275
|
urlParameters: [
|
|
276
|
+
Parameters.$host,
|
|
295
277
|
Parameters.subscriptionId,
|
|
296
278
|
Parameters.resourceGroupName,
|
|
297
279
|
Parameters.accountName,
|
|
298
280
|
Parameters.dataLakeStoreAccountName
|
|
299
281
|
],
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
282
|
+
headerParameters: [Parameters.accept],
|
|
283
|
+
serializer
|
|
284
|
+
};
|
|
285
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
286
|
+
path:
|
|
287
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
|
|
288
|
+
httpMethod: "DELETE",
|
|
306
289
|
responses: {
|
|
307
290
|
200: {},
|
|
291
|
+
204: {},
|
|
308
292
|
default: {
|
|
309
293
|
bodyMapper: Mappers.ErrorResponse
|
|
310
294
|
}
|
|
311
295
|
},
|
|
296
|
+
queryParameters: [Parameters.apiVersion],
|
|
297
|
+
urlParameters: [
|
|
298
|
+
Parameters.$host,
|
|
299
|
+
Parameters.subscriptionId,
|
|
300
|
+
Parameters.resourceGroupName,
|
|
301
|
+
Parameters.accountName,
|
|
302
|
+
Parameters.dataLakeStoreAccountName
|
|
303
|
+
],
|
|
304
|
+
headerParameters: [Parameters.accept],
|
|
312
305
|
serializer
|
|
313
306
|
};
|
|
314
|
-
|
|
315
|
-
const listByAccountNextOperationSpec: msRest.OperationSpec = {
|
|
316
|
-
httpMethod: "GET",
|
|
317
|
-
baseUrl: "https://management.azure.com",
|
|
307
|
+
const listByAccountNextOperationSpec: coreClient.OperationSpec = {
|
|
318
308
|
path: "{nextLink}",
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
309
|
+
httpMethod: "GET",
|
|
310
|
+
responses: {
|
|
311
|
+
200: {
|
|
312
|
+
bodyMapper: Mappers.DataLakeStoreAccountInformationListResult
|
|
313
|
+
},
|
|
314
|
+
default: {
|
|
315
|
+
bodyMapper: Mappers.ErrorResponse
|
|
316
|
+
}
|
|
317
|
+
},
|
|
322
318
|
queryParameters: [
|
|
323
319
|
Parameters.filter,
|
|
324
320
|
Parameters.top,
|
|
@@ -328,16 +324,13 @@ const listByAccountNextOperationSpec: msRest.OperationSpec = {
|
|
|
328
324
|
Parameters.count,
|
|
329
325
|
Parameters.apiVersion
|
|
330
326
|
],
|
|
331
|
-
|
|
332
|
-
Parameters
|
|
327
|
+
urlParameters: [
|
|
328
|
+
Parameters.$host,
|
|
329
|
+
Parameters.subscriptionId,
|
|
330
|
+
Parameters.resourceGroupName,
|
|
331
|
+
Parameters.accountName,
|
|
332
|
+
Parameters.nextLink
|
|
333
333
|
],
|
|
334
|
-
|
|
335
|
-
200: {
|
|
336
|
-
bodyMapper: Mappers.DataLakeStoreAccountInformationListResult
|
|
337
|
-
},
|
|
338
|
-
default: {
|
|
339
|
-
bodyMapper: Mappers.ErrorResponse
|
|
340
|
-
}
|
|
341
|
-
},
|
|
334
|
+
headerParameters: [Parameters.accept],
|
|
342
335
|
serializer
|
|
343
336
|
};
|