@azure/arm-hanaonazure 4.0.0-beta.1 → 4.0.0-beta.3
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 +2 -2
- package/README.md +12 -1
- package/dist/index.js +203 -58
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/providerInstancesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerInstancesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerInstancesCreateSample.js +37 -0
- package/dist-esm/samples-dev/providerInstancesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/providerInstancesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerInstancesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerInstancesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/providerInstancesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/providerInstancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerInstancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerInstancesGetSample.js +32 -0
- package/dist-esm/samples-dev/providerInstancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/providerInstancesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerInstancesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerInstancesListSample.js +45 -0
- package/dist-esm/samples-dev/providerInstancesListSample.js.map +1 -0
- package/dist-esm/samples-dev/sapMonitorsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapMonitorsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapMonitorsCreateSample.js +40 -0
- package/dist-esm/samples-dev/sapMonitorsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/sapMonitorsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapMonitorsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapMonitorsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/sapMonitorsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sapMonitorsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapMonitorsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapMonitorsGetSample.js +31 -0
- package/dist-esm/samples-dev/sapMonitorsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sapMonitorsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapMonitorsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapMonitorsListSample.js +43 -0
- package/dist-esm/samples-dev/sapMonitorsListSample.js.map +1 -0
- package/dist-esm/samples-dev/sapMonitorsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapMonitorsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapMonitorsUpdateSample.js +51 -0
- package/dist-esm/samples-dev/sapMonitorsUpdateSample.js.map +1 -0
- package/dist-esm/src/hanaManagementClient.d.ts +2 -0
- package/dist-esm/src/hanaManagementClient.d.ts.map +1 -1
- package/dist-esm/src/hanaManagementClient.js +54 -5
- package/dist-esm/src/hanaManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +15 -7
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +7 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +8 -4
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/providerInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/providerInstances.js +25 -9
- package/dist-esm/src/operations/providerInstances.js.map +1 -1
- package/dist-esm/src/operations/sapMonitors.d.ts.map +1 -1
- package/dist-esm/src/operations/sapMonitors.js +25 -9
- package/dist-esm/src/operations/sapMonitors.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +51 -21
- package/review/arm-hanaonazure.api.md +18 -21
- package/rollup.config.js +6 -72
- package/src/hanaManagementClient.ts +70 -5
- package/src/index.ts +1 -0
- package/src/models/index.ts +14 -7
- package/src/operations/operations.ts +10 -5
- package/src/operations/providerInstances.ts +32 -10
- package/src/operations/sapMonitors.ts +27 -10
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +19 -5
- package/types/arm-hanaonazure.d.ts +26 -7
- package/types/tsdoc-metadata.json +1 -1
- package/LICENSE.txt +0 -21
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { ProviderInstances } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -60,8 +61,16 @@ export class ProviderInstancesImpl implements ProviderInstances {
|
|
|
60
61
|
[Symbol.asyncIterator]() {
|
|
61
62
|
return this;
|
|
62
63
|
},
|
|
63
|
-
byPage: () => {
|
|
64
|
-
|
|
64
|
+
byPage: (settings?: PageSettings) => {
|
|
65
|
+
if (settings?.maxPageSize) {
|
|
66
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
67
|
+
}
|
|
68
|
+
return this.listPagingPage(
|
|
69
|
+
resourceGroupName,
|
|
70
|
+
sapMonitorName,
|
|
71
|
+
options,
|
|
72
|
+
settings
|
|
73
|
+
);
|
|
65
74
|
}
|
|
66
75
|
};
|
|
67
76
|
}
|
|
@@ -69,11 +78,18 @@ export class ProviderInstancesImpl implements ProviderInstances {
|
|
|
69
78
|
private async *listPagingPage(
|
|
70
79
|
resourceGroupName: string,
|
|
71
80
|
sapMonitorName: string,
|
|
72
|
-
options?: ProviderInstancesListOptionalParams
|
|
81
|
+
options?: ProviderInstancesListOptionalParams,
|
|
82
|
+
settings?: PageSettings
|
|
73
83
|
): AsyncIterableIterator<ProviderInstance[]> {
|
|
74
|
-
let result
|
|
75
|
-
|
|
76
|
-
|
|
84
|
+
let result: ProviderInstancesListResponse;
|
|
85
|
+
let continuationToken = settings?.continuationToken;
|
|
86
|
+
if (!continuationToken) {
|
|
87
|
+
result = await this._list(resourceGroupName, sapMonitorName, options);
|
|
88
|
+
let page = result.value || [];
|
|
89
|
+
continuationToken = result.nextLink;
|
|
90
|
+
setContinuationToken(page, continuationToken);
|
|
91
|
+
yield page;
|
|
92
|
+
}
|
|
77
93
|
while (continuationToken) {
|
|
78
94
|
result = await this._listNext(
|
|
79
95
|
resourceGroupName,
|
|
@@ -82,7 +98,9 @@ export class ProviderInstancesImpl implements ProviderInstances {
|
|
|
82
98
|
options
|
|
83
99
|
);
|
|
84
100
|
continuationToken = result.nextLink;
|
|
85
|
-
|
|
101
|
+
let page = result.value || [];
|
|
102
|
+
setContinuationToken(page, continuationToken);
|
|
103
|
+
yield page;
|
|
86
104
|
}
|
|
87
105
|
}
|
|
88
106
|
|
|
@@ -209,10 +227,12 @@ export class ProviderInstancesImpl implements ProviderInstances {
|
|
|
209
227
|
},
|
|
210
228
|
createOperationSpec
|
|
211
229
|
);
|
|
212
|
-
|
|
230
|
+
const poller = new LroEngine(lro, {
|
|
213
231
|
resumeFrom: options?.resumeFrom,
|
|
214
232
|
intervalInMs: options?.updateIntervalInMs
|
|
215
233
|
});
|
|
234
|
+
await poller.poll();
|
|
235
|
+
return poller;
|
|
216
236
|
}
|
|
217
237
|
|
|
218
238
|
/**
|
|
@@ -299,10 +319,12 @@ export class ProviderInstancesImpl implements ProviderInstances {
|
|
|
299
319
|
{ resourceGroupName, sapMonitorName, providerInstanceName, options },
|
|
300
320
|
deleteOperationSpec
|
|
301
321
|
);
|
|
302
|
-
|
|
322
|
+
const poller = new LroEngine(lro, {
|
|
303
323
|
resumeFrom: options?.resumeFrom,
|
|
304
324
|
intervalInMs: options?.updateIntervalInMs
|
|
305
325
|
});
|
|
326
|
+
await poller.poll();
|
|
327
|
+
return poller;
|
|
306
328
|
}
|
|
307
329
|
|
|
308
330
|
/**
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { SapMonitors } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -59,22 +60,34 @@ export class SapMonitorsImpl implements SapMonitors {
|
|
|
59
60
|
[Symbol.asyncIterator]() {
|
|
60
61
|
return this;
|
|
61
62
|
},
|
|
62
|
-
byPage: () => {
|
|
63
|
-
|
|
63
|
+
byPage: (settings?: PageSettings) => {
|
|
64
|
+
if (settings?.maxPageSize) {
|
|
65
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
66
|
+
}
|
|
67
|
+
return this.listPagingPage(options, settings);
|
|
64
68
|
}
|
|
65
69
|
};
|
|
66
70
|
}
|
|
67
71
|
|
|
68
72
|
private async *listPagingPage(
|
|
69
|
-
options?: SapMonitorsListOptionalParams
|
|
73
|
+
options?: SapMonitorsListOptionalParams,
|
|
74
|
+
settings?: PageSettings
|
|
70
75
|
): AsyncIterableIterator<SapMonitor[]> {
|
|
71
|
-
let result
|
|
72
|
-
|
|
73
|
-
|
|
76
|
+
let result: SapMonitorsListResponse;
|
|
77
|
+
let continuationToken = settings?.continuationToken;
|
|
78
|
+
if (!continuationToken) {
|
|
79
|
+
result = await this._list(options);
|
|
80
|
+
let page = result.value || [];
|
|
81
|
+
continuationToken = result.nextLink;
|
|
82
|
+
setContinuationToken(page, continuationToken);
|
|
83
|
+
yield page;
|
|
84
|
+
}
|
|
74
85
|
while (continuationToken) {
|
|
75
86
|
result = await this._listNext(continuationToken, options);
|
|
76
87
|
continuationToken = result.nextLink;
|
|
77
|
-
|
|
88
|
+
let page = result.value || [];
|
|
89
|
+
setContinuationToken(page, continuationToken);
|
|
90
|
+
yield page;
|
|
78
91
|
}
|
|
79
92
|
}
|
|
80
93
|
|
|
@@ -176,10 +189,12 @@ export class SapMonitorsImpl implements SapMonitors {
|
|
|
176
189
|
{ resourceGroupName, sapMonitorName, sapMonitorParameter, options },
|
|
177
190
|
createOperationSpec
|
|
178
191
|
);
|
|
179
|
-
|
|
192
|
+
const poller = new LroEngine(lro, {
|
|
180
193
|
resumeFrom: options?.resumeFrom,
|
|
181
194
|
intervalInMs: options?.updateIntervalInMs
|
|
182
195
|
});
|
|
196
|
+
await poller.poll();
|
|
197
|
+
return poller;
|
|
183
198
|
}
|
|
184
199
|
|
|
185
200
|
/**
|
|
@@ -259,10 +274,12 @@ export class SapMonitorsImpl implements SapMonitors {
|
|
|
259
274
|
{ resourceGroupName, sapMonitorName, options },
|
|
260
275
|
deleteOperationSpec
|
|
261
276
|
);
|
|
262
|
-
|
|
277
|
+
const poller = new LroEngine(lro, {
|
|
263
278
|
resumeFrom: options?.resumeFrom,
|
|
264
279
|
intervalInMs: options?.updateIntervalInMs
|
|
265
280
|
});
|
|
281
|
+
await poller.poll();
|
|
282
|
+
return poller;
|
|
266
283
|
}
|
|
267
284
|
|
|
268
285
|
/**
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export interface PageInfo {
|
|
10
|
+
continuationToken?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const pageMap = new WeakMap<object, PageInfo>();
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Given a result page from a pageable operation, returns a
|
|
17
|
+
* continuation token that can be used to begin paging from
|
|
18
|
+
* that point later.
|
|
19
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
20
|
+
* @returns The continuation token that can be passed into byPage().
|
|
21
|
+
*/
|
|
22
|
+
export function getContinuationToken(page: unknown): string | undefined {
|
|
23
|
+
if (typeof page !== "object" || page === null) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
return pageMap.get(page)?.continuationToken;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function setContinuationToken(
|
|
30
|
+
page: unknown,
|
|
31
|
+
continuationToken: string | undefined
|
|
32
|
+
): void {
|
|
33
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
37
|
+
pageInfo.continuationToken = continuationToken;
|
|
38
|
+
pageMap.set(page, pageInfo);
|
|
39
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -9,11 +9,25 @@
|
|
|
9
9
|
"esModuleInterop": true,
|
|
10
10
|
"allowSyntheticDefaultImports": true,
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"lib": [
|
|
12
|
+
"lib": [
|
|
13
|
+
"es6",
|
|
14
|
+
"dom"
|
|
15
|
+
],
|
|
13
16
|
"declaration": true,
|
|
14
17
|
"outDir": "./dist-esm",
|
|
15
|
-
"importHelpers": true
|
|
18
|
+
"importHelpers": true,
|
|
19
|
+
"paths": {
|
|
20
|
+
"@azure/arm-hanaonazure": [
|
|
21
|
+
"./src/index"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
16
24
|
},
|
|
17
|
-
"include": [
|
|
18
|
-
|
|
19
|
-
|
|
25
|
+
"include": [
|
|
26
|
+
"./src/**/*.ts",
|
|
27
|
+
"./test/**/*.ts",
|
|
28
|
+
"samples-dev/**/*.ts"
|
|
29
|
+
],
|
|
30
|
+
"exclude": [
|
|
31
|
+
"node_modules"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -53,6 +53,15 @@ export declare interface ErrorResponseError {
|
|
|
53
53
|
readonly message?: string;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
/**
|
|
57
|
+
* Given a result page from a pageable operation, returns a
|
|
58
|
+
* continuation token that can be used to begin paging from
|
|
59
|
+
* that point later.
|
|
60
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
61
|
+
* @returns The continuation token that can be passed into byPage().
|
|
62
|
+
*/
|
|
63
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
64
|
+
|
|
56
65
|
export declare class HanaManagementClient extends coreClient.ServiceClient {
|
|
57
66
|
$host: string;
|
|
58
67
|
apiVersion: string;
|
|
@@ -65,6 +74,8 @@ export declare class HanaManagementClient extends coreClient.ServiceClient {
|
|
|
65
74
|
* @param options The parameter options
|
|
66
75
|
*/
|
|
67
76
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: HanaManagementClientOptionalParams);
|
|
77
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
78
|
+
private addCustomApiVersionPolicy;
|
|
68
79
|
operations: Operations;
|
|
69
80
|
sapMonitors: SapMonitors;
|
|
70
81
|
providerInstances: ProviderInstances;
|
|
@@ -97,12 +108,19 @@ export declare type HanaProvisioningStatesEnum = string;
|
|
|
97
108
|
|
|
98
109
|
/** Known values of {@link HanaProvisioningStatesEnum} that the service accepts. */
|
|
99
110
|
export declare enum KnownHanaProvisioningStatesEnum {
|
|
111
|
+
/** Accepted */
|
|
100
112
|
Accepted = "Accepted",
|
|
113
|
+
/** Creating */
|
|
101
114
|
Creating = "Creating",
|
|
115
|
+
/** Updating */
|
|
102
116
|
Updating = "Updating",
|
|
117
|
+
/** Failed */
|
|
103
118
|
Failed = "Failed",
|
|
119
|
+
/** Succeeded */
|
|
104
120
|
Succeeded = "Succeeded",
|
|
121
|
+
/** Deleting */
|
|
105
122
|
Deleting = "Deleting",
|
|
123
|
+
/** Migrating */
|
|
106
124
|
Migrating = "Migrating"
|
|
107
125
|
}
|
|
108
126
|
|
|
@@ -140,7 +158,7 @@ export declare interface OperationsListOptionalParams extends coreClient.Operati
|
|
|
140
158
|
export declare type OperationsListResponse = OperationList;
|
|
141
159
|
|
|
142
160
|
/** A provider instance associated with a SAP monitor. */
|
|
143
|
-
export declare
|
|
161
|
+
export declare interface ProviderInstance extends ProxyResource {
|
|
144
162
|
/** The type of provider instance. */
|
|
145
163
|
typePropertiesType?: string;
|
|
146
164
|
/** A JSON string containing the properties of the provider instance. */
|
|
@@ -152,7 +170,7 @@ export declare type ProviderInstance = ProxyResource & {
|
|
|
152
170
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
153
171
|
*/
|
|
154
172
|
readonly provisioningState?: HanaProvisioningStatesEnum;
|
|
155
|
-
}
|
|
173
|
+
}
|
|
156
174
|
|
|
157
175
|
/** The response from the List provider instances operation. */
|
|
158
176
|
export declare interface ProviderInstanceListResult {
|
|
@@ -262,7 +280,8 @@ export declare interface ProviderInstancesListOptionalParams extends coreClient.
|
|
|
262
280
|
export declare type ProviderInstancesListResponse = ProviderInstanceListResult;
|
|
263
281
|
|
|
264
282
|
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
265
|
-
export declare
|
|
283
|
+
export declare interface ProxyResource extends Resource {
|
|
284
|
+
}
|
|
266
285
|
|
|
267
286
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
268
287
|
export declare interface Resource {
|
|
@@ -284,7 +303,7 @@ export declare interface Resource {
|
|
|
284
303
|
}
|
|
285
304
|
|
|
286
305
|
/** SAP monitor info on Azure (ARM properties and SAP monitor properties) */
|
|
287
|
-
export declare
|
|
306
|
+
export declare interface SapMonitor extends TrackedResource {
|
|
288
307
|
/**
|
|
289
308
|
* State of provisioning of the HanaInstance
|
|
290
309
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -310,7 +329,7 @@ export declare type SapMonitor = TrackedResource & {
|
|
|
310
329
|
readonly sapMonitorCollectorVersion?: string;
|
|
311
330
|
/** The subnet which the SAP monitor will be deployed in */
|
|
312
331
|
monitorSubnet?: string;
|
|
313
|
-
}
|
|
332
|
+
}
|
|
314
333
|
|
|
315
334
|
/** The response from the List SAP monitors operation. */
|
|
316
335
|
export declare interface SapMonitorListResult {
|
|
@@ -432,13 +451,13 @@ export declare interface Tags {
|
|
|
432
451
|
}
|
|
433
452
|
|
|
434
453
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
435
|
-
export declare
|
|
454
|
+
export declare interface TrackedResource extends Resource {
|
|
436
455
|
/** Resource tags. */
|
|
437
456
|
tags?: {
|
|
438
457
|
[propertyName: string]: string;
|
|
439
458
|
};
|
|
440
459
|
/** The geo-location where the resource lives */
|
|
441
460
|
location: string;
|
|
442
|
-
}
|
|
461
|
+
}
|
|
443
462
|
|
|
444
463
|
export { }
|
package/LICENSE.txt
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Microsoft
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|