@azure/arm-managedapplications 2.0.0-beta.1 → 2.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 +6 -11
- package/README.md +15 -9
- package/dist/index.js +145 -929
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/{esm → dist-esm/src}/applicationClient.d.ts +7 -19
- package/dist-esm/src/applicationClient.d.ts.map +1 -0
- package/{esm → dist-esm/src}/applicationClient.js +31 -74
- package/dist-esm/src/applicationClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/index.js +0 -1
- 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/{esm → dist-esm/src}/models/index.d.ts +39 -59
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/index.js +0 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.d.ts +2 -2
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +34 -34
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.d.ts +0 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +0 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/applicationDefinitions.d.ts +4 -22
- package/dist-esm/src/operations/applicationDefinitions.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/applicationDefinitions.js +23 -93
- package/dist-esm/src/operations/applicationDefinitions.js.map +1 -0
- package/{esm → dist-esm/src}/operations/applications.d.ts +4 -36
- package/dist-esm/src/operations/applications.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/applications.js +23 -170
- package/dist-esm/src/operations/applications.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 +0 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/{esm → dist-esm/src}/operationsInterfaces/applicationDefinitions.d.ts +1 -9
- package/dist-esm/src/operationsInterfaces/applicationDefinitions.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operationsInterfaces/applicationDefinitions.js +1 -1
- package/dist-esm/src/operationsInterfaces/applicationDefinitions.js.map +1 -0
- package/{esm → dist-esm/src}/operationsInterfaces/applications.d.ts +1 -15
- package/dist-esm/src/operationsInterfaces/applications.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operationsInterfaces/applications.js +1 -1
- package/dist-esm/src/operationsInterfaces/applications.js.map +1 -0
- package/{esm → dist-esm/src}/operationsInterfaces/index.d.ts +0 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operationsInterfaces/index.js +0 -0
- package/dist-esm/src/operationsInterfaces/index.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 +27 -33
- package/review/arm-managedapplications.api.md +20 -58
- package/src/applicationClient.ts +56 -94
- package/src/index.ts +0 -1
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +37 -65
- package/src/models/mappers.ts +34 -34
- package/src/operations/applicationDefinitions.ts +27 -128
- package/src/operations/applications.ts +27 -217
- package/src/operationsInterfaces/applicationDefinitions.ts +0 -13
- package/src/operationsInterfaces/applications.ts +0 -23
- package/tsconfig.json +2 -3
- package/{esm/index.d.ts → types/arm-managedapplications.d.ts} +19 -91
- package/types/tsdoc-metadata.json +11 -0
- package/esm/applicationClient.d.ts.map +0 -1
- package/esm/applicationClient.js.map +0 -1
- package/esm/applicationClientContext.d.ts +0 -16
- package/esm/applicationClientContext.d.ts.map +0 -1
- package/esm/applicationClientContext.js +0 -49
- package/esm/applicationClientContext.js.map +0 -1
- package/esm/coreClientLro.d.ts +0 -26
- package/esm/coreClientLro.d.ts.map +0 -1
- package/esm/coreClientLro.js +0 -186
- package/esm/coreClientLro.js.map +0 -1
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/lro/azureAsyncPolling.d.ts +0 -3
- package/esm/lro/azureAsyncPolling.d.ts.map +0 -1
- package/esm/lro/azureAsyncPolling.js +0 -67
- package/esm/lro/azureAsyncPolling.js.map +0 -1
- package/esm/lro/bodyPolling.d.ts +0 -8
- package/esm/lro/bodyPolling.d.ts.map +0 -1
- package/esm/lro/bodyPolling.js +0 -37
- package/esm/lro/bodyPolling.js.map +0 -1
- package/esm/lro/index.d.ts +0 -4
- package/esm/lro/index.d.ts.map +0 -1
- package/esm/lro/index.js +0 -12
- package/esm/lro/index.js.map +0 -1
- package/esm/lro/locationPolling.d.ts +0 -3
- package/esm/lro/locationPolling.d.ts.map +0 -1
- package/esm/lro/locationPolling.js +0 -19
- package/esm/lro/locationPolling.js.map +0 -1
- package/esm/lro/lroEngine.d.ts +0 -14
- package/esm/lro/lroEngine.d.ts.map +0 -1
- package/esm/lro/lroEngine.js +0 -41
- package/esm/lro/lroEngine.js.map +0 -1
- package/esm/lro/models.d.ts +0 -138
- package/esm/lro/models.d.ts.map +0 -1
- package/esm/lro/models.js +0 -14
- package/esm/lro/models.js.map +0 -1
- package/esm/lro/operation.d.ts +0 -36
- package/esm/lro/operation.d.ts.map +0 -1
- package/esm/lro/operation.js +0 -82
- package/esm/lro/operation.js.map +0 -1
- package/esm/lro/passthrough.d.ts +0 -3
- package/esm/lro/passthrough.d.ts.map +0 -1
- package/esm/lro/passthrough.js +0 -15
- package/esm/lro/passthrough.js.map +0 -1
- package/esm/lro/requestUtils.d.ts +0 -16
- package/esm/lro/requestUtils.d.ts.map +0 -1
- package/esm/lro/requestUtils.js +0 -73
- package/esm/lro/requestUtils.js.map +0 -1
- package/esm/lro/stateMachine.d.ts +0 -18
- package/esm/lro/stateMachine.d.ts.map +0 -1
- package/esm/lro/stateMachine.js +0 -84
- package/esm/lro/stateMachine.js.map +0 -1
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/applicationDefinitions.d.ts.map +0 -1
- package/esm/operations/applicationDefinitions.js.map +0 -1
- package/esm/operations/applications.d.ts.map +0 -1
- package/esm/operations/applications.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operationsInterfaces/applicationDefinitions.d.ts.map +0 -1
- package/esm/operationsInterfaces/applicationDefinitions.js.map +0 -1
- package/esm/operationsInterfaces/applications.d.ts.map +0 -1
- package/esm/operationsInterfaces/applications.js.map +0 -1
- package/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/esm/operationsInterfaces/index.js.map +0 -1
- package/src/applicationClientContext.ts +0 -70
- package/src/coreClientLro.ts +0 -323
- package/src/lro/azureAsyncPolling.ts +0 -96
- package/src/lro/bodyPolling.ts +0 -54
- package/src/lro/index.ts +0 -26
- package/src/lro/locationPolling.ts +0 -30
- package/src/lro/lroEngine.ts +0 -61
- package/src/lro/models.ts +0 -173
- package/src/lro/operation.ts +0 -120
- package/src/lro/passthrough.ts +0 -23
- package/src/lro/requestUtils.ts +0 -105
- package/src/lro/stateMachine.ts +0 -138
|
@@ -6,12 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import "@azure/core-paging";
|
|
10
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
10
|
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
12
11
|
import {
|
|
13
12
|
ApplicationDefinition,
|
|
14
|
-
ApplicationDefinitionsListByResourceGroupNextOptionalParams,
|
|
15
13
|
ApplicationDefinitionsListByResourceGroupOptionalParams,
|
|
16
14
|
ApplicationDefinitionsGetOptionalParams,
|
|
17
15
|
ApplicationDefinitionsGetResponse,
|
|
@@ -37,17 +35,6 @@ export interface ApplicationDefinitions {
|
|
|
37
35
|
resourceGroupName: string,
|
|
38
36
|
options?: ApplicationDefinitionsListByResourceGroupOptionalParams
|
|
39
37
|
): PagedAsyncIterableIterator<ApplicationDefinition>;
|
|
40
|
-
/**
|
|
41
|
-
* ListByResourceGroupNext
|
|
42
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
43
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
44
|
-
* @param options The options parameters.
|
|
45
|
-
*/
|
|
46
|
-
listByResourceGroupNext(
|
|
47
|
-
resourceGroupName: string,
|
|
48
|
-
nextLink: string,
|
|
49
|
-
options?: ApplicationDefinitionsListByResourceGroupNextOptionalParams
|
|
50
|
-
): PagedAsyncIterableIterator<ApplicationDefinition>;
|
|
51
38
|
/**
|
|
52
39
|
* Gets the managed application definition.
|
|
53
40
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -6,14 +6,11 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import "@azure/core-paging";
|
|
10
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
10
|
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
12
11
|
import {
|
|
13
12
|
Application,
|
|
14
|
-
ApplicationsListByResourceGroupNextOptionalParams,
|
|
15
13
|
ApplicationsListByResourceGroupOptionalParams,
|
|
16
|
-
ApplicationsListBySubscriptionNextOptionalParams,
|
|
17
14
|
ApplicationsListBySubscriptionOptionalParams,
|
|
18
15
|
ApplicationsGetOptionalParams,
|
|
19
16
|
ApplicationsGetResponse,
|
|
@@ -50,26 +47,6 @@ export interface Applications {
|
|
|
50
47
|
listBySubscription(
|
|
51
48
|
options?: ApplicationsListBySubscriptionOptionalParams
|
|
52
49
|
): PagedAsyncIterableIterator<Application>;
|
|
53
|
-
/**
|
|
54
|
-
* ListByResourceGroupNext
|
|
55
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
56
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
57
|
-
* @param options The options parameters.
|
|
58
|
-
*/
|
|
59
|
-
listByResourceGroupNext(
|
|
60
|
-
resourceGroupName: string,
|
|
61
|
-
nextLink: string,
|
|
62
|
-
options?: ApplicationsListByResourceGroupNextOptionalParams
|
|
63
|
-
): PagedAsyncIterableIterator<Application>;
|
|
64
|
-
/**
|
|
65
|
-
* ListBySubscriptionNext
|
|
66
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
67
|
-
* @param options The options parameters.
|
|
68
|
-
*/
|
|
69
|
-
listBySubscriptionNext(
|
|
70
|
-
nextLink: string,
|
|
71
|
-
options?: ApplicationsListBySubscriptionNextOptionalParams
|
|
72
|
-
): PagedAsyncIterableIterator<Application>;
|
|
73
50
|
/**
|
|
74
51
|
* Gets the managed application.
|
|
75
52
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
package/tsconfig.json
CHANGED
|
@@ -9,12 +9,11 @@
|
|
|
9
9
|
"esModuleInterop": true,
|
|
10
10
|
"allowSyntheticDefaultImports": true,
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"preserveConstEnums": true,
|
|
13
12
|
"lib": ["es6", "dom"],
|
|
14
13
|
"declaration": true,
|
|
15
|
-
"outDir": "./esm",
|
|
14
|
+
"outDir": "./dist-esm",
|
|
16
15
|
"importHelpers": true
|
|
17
16
|
},
|
|
18
|
-
"include": ["./src/**/*.ts"],
|
|
17
|
+
"include": ["./src/**/*.ts", "./test/**/*.ts"],
|
|
19
18
|
"exclude": ["node_modules"]
|
|
20
19
|
}
|
|
@@ -41,7 +41,10 @@ export declare interface ApplicationArtifact {
|
|
|
41
41
|
/** Defines values for ApplicationArtifactType. */
|
|
42
42
|
export declare type ApplicationArtifactType = "Template" | "Custom";
|
|
43
43
|
|
|
44
|
-
export declare class ApplicationClient extends
|
|
44
|
+
export declare class ApplicationClient extends coreClient.ServiceClient {
|
|
45
|
+
$host: string;
|
|
46
|
+
apiVersion: string;
|
|
47
|
+
subscriptionId: string;
|
|
45
48
|
/**
|
|
46
49
|
* Initializes a new instance of the ApplicationClient class.
|
|
47
50
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -53,17 +56,9 @@ export declare class ApplicationClient extends ApplicationClientContext {
|
|
|
53
56
|
* Lists all of the available Microsoft.Solutions REST API operations.
|
|
54
57
|
* @param options The options parameters.
|
|
55
58
|
*/
|
|
56
|
-
listOperations(options?:
|
|
59
|
+
listOperations(options?: ListOperationsOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
57
60
|
private listOperationsPagingPage;
|
|
58
61
|
private listOperationsPagingAll;
|
|
59
|
-
/**
|
|
60
|
-
* ListOperationsNext
|
|
61
|
-
* @param nextLink The nextLink from the previous successful call to the ListOperations method.
|
|
62
|
-
* @param options The options parameters.
|
|
63
|
-
*/
|
|
64
|
-
listOperationsNext(nextLink: string, options?: ApplicationClientListOperationsNextOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
65
|
-
private listOperationsNextPagingPage;
|
|
66
|
-
private listOperationsNextPagingAll;
|
|
67
62
|
/**
|
|
68
63
|
* Lists all of the available Microsoft.Solutions REST API operations.
|
|
69
64
|
* @param options The options parameters.
|
|
@@ -75,50 +70,10 @@ export declare class ApplicationClient extends ApplicationClientContext {
|
|
|
75
70
|
* @param options The options parameters.
|
|
76
71
|
*/
|
|
77
72
|
private _listOperationsNext;
|
|
78
|
-
/**
|
|
79
|
-
* ListOperationsNextNext
|
|
80
|
-
* @param nextLink The nextLink from the previous successful call to the ListOperationsNext method.
|
|
81
|
-
* @param options The options parameters.
|
|
82
|
-
*/
|
|
83
|
-
private _listOperationsNextNext;
|
|
84
73
|
applications: Applications;
|
|
85
74
|
applicationDefinitions: ApplicationDefinitions;
|
|
86
75
|
}
|
|
87
76
|
|
|
88
|
-
export declare class ApplicationClientContext extends coreClient.ServiceClient {
|
|
89
|
-
$host: string;
|
|
90
|
-
apiVersion: string;
|
|
91
|
-
subscriptionId: string;
|
|
92
|
-
/**
|
|
93
|
-
* Initializes a new instance of the ApplicationClientContext class.
|
|
94
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
95
|
-
* @param subscriptionId The ID of the target subscription.
|
|
96
|
-
* @param options The parameter options
|
|
97
|
-
*/
|
|
98
|
-
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ApplicationClientOptionalParams);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/** Optional parameters. */
|
|
102
|
-
export declare interface ApplicationClientListOperationsNextNextOptionalParams extends coreClient.OperationOptions {
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/** Contains response data for the listOperationsNextNext operation. */
|
|
106
|
-
export declare type ApplicationClientListOperationsNextNextResponse = OperationListResult;
|
|
107
|
-
|
|
108
|
-
/** Optional parameters. */
|
|
109
|
-
export declare interface ApplicationClientListOperationsNextOptionalParams extends coreClient.OperationOptions {
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/** Contains response data for the listOperationsNext operation. */
|
|
113
|
-
export declare type ApplicationClientListOperationsNextResponse = OperationListResult;
|
|
114
|
-
|
|
115
|
-
/** Optional parameters. */
|
|
116
|
-
export declare interface ApplicationClientListOperationsOptionalParams extends coreClient.OperationOptions {
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/** Contains response data for the listOperations operation. */
|
|
120
|
-
export declare type ApplicationClientListOperationsResponse = OperationListResult;
|
|
121
|
-
|
|
122
77
|
/** Optional parameters. */
|
|
123
78
|
export declare interface ApplicationClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
124
79
|
/** server parameter */
|
|
@@ -167,13 +122,6 @@ export declare interface ApplicationDefinitions {
|
|
|
167
122
|
* @param options The options parameters.
|
|
168
123
|
*/
|
|
169
124
|
listByResourceGroup(resourceGroupName: string, options?: ApplicationDefinitionsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ApplicationDefinition>;
|
|
170
|
-
/**
|
|
171
|
-
* ListByResourceGroupNext
|
|
172
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
173
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
174
|
-
* @param options The options parameters.
|
|
175
|
-
*/
|
|
176
|
-
listByResourceGroupNext(resourceGroupName: string, nextLink: string, options?: ApplicationDefinitionsListByResourceGroupNextOptionalParams): PagedAsyncIterableIterator<ApplicationDefinition>;
|
|
177
125
|
/**
|
|
178
126
|
* Gets the managed application definition.
|
|
179
127
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -302,13 +250,6 @@ export declare interface ApplicationDefinitionsGetOptionalParams extends coreCli
|
|
|
302
250
|
/** Contains response data for the get operation. */
|
|
303
251
|
export declare type ApplicationDefinitionsGetResponse = ApplicationDefinition;
|
|
304
252
|
|
|
305
|
-
/** Optional parameters. */
|
|
306
|
-
export declare interface ApplicationDefinitionsListByResourceGroupNextNextOptionalParams extends coreClient.OperationOptions {
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
/** Contains response data for the listByResourceGroupNextNext operation. */
|
|
310
|
-
export declare type ApplicationDefinitionsListByResourceGroupNextNextResponse = ApplicationDefinitionListResult;
|
|
311
|
-
|
|
312
253
|
/** Optional parameters. */
|
|
313
254
|
export declare interface ApplicationDefinitionsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
314
255
|
}
|
|
@@ -379,19 +320,6 @@ export declare interface Applications {
|
|
|
379
320
|
* @param options The options parameters.
|
|
380
321
|
*/
|
|
381
322
|
listBySubscription(options?: ApplicationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Application>;
|
|
382
|
-
/**
|
|
383
|
-
* ListByResourceGroupNext
|
|
384
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
385
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
386
|
-
* @param options The options parameters.
|
|
387
|
-
*/
|
|
388
|
-
listByResourceGroupNext(resourceGroupName: string, nextLink: string, options?: ApplicationsListByResourceGroupNextOptionalParams): PagedAsyncIterableIterator<Application>;
|
|
389
|
-
/**
|
|
390
|
-
* ListBySubscriptionNext
|
|
391
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
392
|
-
* @param options The options parameters.
|
|
393
|
-
*/
|
|
394
|
-
listBySubscriptionNext(nextLink: string, options?: ApplicationsListBySubscriptionNextOptionalParams): PagedAsyncIterableIterator<Application>;
|
|
395
323
|
/**
|
|
396
324
|
* Gets the managed application.
|
|
397
325
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -542,13 +470,6 @@ export declare interface ApplicationsGetOptionalParams extends coreClient.Operat
|
|
|
542
470
|
/** Contains response data for the get operation. */
|
|
543
471
|
export declare type ApplicationsGetResponse = Application;
|
|
544
472
|
|
|
545
|
-
/** Optional parameters. */
|
|
546
|
-
export declare interface ApplicationsListByResourceGroupNextNextOptionalParams extends coreClient.OperationOptions {
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
/** Contains response data for the listByResourceGroupNextNext operation. */
|
|
550
|
-
export declare type ApplicationsListByResourceGroupNextNextResponse = ApplicationListResult;
|
|
551
|
-
|
|
552
473
|
/** Optional parameters. */
|
|
553
474
|
export declare interface ApplicationsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
554
475
|
}
|
|
@@ -563,13 +484,6 @@ export declare interface ApplicationsListByResourceGroupOptionalParams extends c
|
|
|
563
484
|
/** Contains response data for the listByResourceGroup operation. */
|
|
564
485
|
export declare type ApplicationsListByResourceGroupResponse = ApplicationListResult;
|
|
565
486
|
|
|
566
|
-
/** Optional parameters. */
|
|
567
|
-
export declare interface ApplicationsListBySubscriptionNextNextOptionalParams extends coreClient.OperationOptions {
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
/** Contains response data for the listBySubscriptionNextNext operation. */
|
|
571
|
-
export declare type ApplicationsListBySubscriptionNextNextResponse = ApplicationListResult;
|
|
572
|
-
|
|
573
487
|
/** Optional parameters. */
|
|
574
488
|
export declare interface ApplicationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
575
489
|
}
|
|
@@ -653,6 +567,20 @@ export declare enum KnownProvisioningState {
|
|
|
653
567
|
Updating = "Updating"
|
|
654
568
|
}
|
|
655
569
|
|
|
570
|
+
/** Optional parameters. */
|
|
571
|
+
export declare interface ListOperationsNextOptionalParams extends coreClient.OperationOptions {
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/** Contains response data for the listOperationsNext operation. */
|
|
575
|
+
export declare type ListOperationsNextResponse = OperationListResult;
|
|
576
|
+
|
|
577
|
+
/** Optional parameters. */
|
|
578
|
+
export declare interface ListOperationsOptionalParams extends coreClient.OperationOptions {
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/** Contains response data for the listOperations operation. */
|
|
582
|
+
export declare type ListOperationsResponse = OperationListResult;
|
|
583
|
+
|
|
656
584
|
/** Microsoft.Solutions operation */
|
|
657
585
|
export declare interface Operation {
|
|
658
586
|
/** Operation name: {provider}/{resource}/{operation} */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.18.19"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applicationClient.d.ts","sourceRoot":"","sources":["../src/applicationClient.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,oBAAoB,CAAC;AAC5B,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAG9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EACL,+BAA+B,EAC/B,SAAS,EACT,iDAAiD,EACjD,6CAA6C,EAK9C,MAAM,UAAU,CAAC;AAGlB,qBAAa,iBAAkB,SAAQ,wBAAwB;IAC7D;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B;IAO3C;;;OAGG;IACI,cAAc,CACnB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,SAAS,CAAC;YAezB,wBAAwB;YAaxB,uBAAuB;IAQtC;;;;OAIG;IACI,kBAAkB,CACvB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,0BAA0B,CAAC,SAAS,CAAC;YAezB,4BAA4B;YAc5B,2BAA2B;IAY1C;;;OAGG;IACH,OAAO,CAAC,eAAe;IAMvB;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAU3B;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B,YAAY,EAAE,YAAY,CAAC;IAC3B,sBAAsB,EAAE,sBAAsB,CAAC;CAChD"}
|
|
@@ -1 +0,0 @@
|
|
|
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E,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as coreClient from "@azure/core-client";
|
|
2
|
-
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { ApplicationClientOptionalParams } from "./models";
|
|
4
|
-
export declare class ApplicationClientContext extends coreClient.ServiceClient {
|
|
5
|
-
$host: string;
|
|
6
|
-
apiVersion: string;
|
|
7
|
-
subscriptionId: string;
|
|
8
|
-
/**
|
|
9
|
-
* Initializes a new instance of the ApplicationClientContext class.
|
|
10
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
11
|
-
* @param subscriptionId The ID of the target subscription.
|
|
12
|
-
* @param options The parameter options
|
|
13
|
-
*/
|
|
14
|
-
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ApplicationClientOptionalParams);
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=applicationClientContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applicationClientContext.d.ts","sourceRoot":"","sources":["../src/applicationClientContext.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAC;AAE3D,qBAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B;CA2C5C"}
|
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
import * as coreClient from "@azure/core-client";
|
|
9
|
-
export class ApplicationClientContext extends coreClient.ServiceClient {
|
|
10
|
-
/**
|
|
11
|
-
* Initializes a new instance of the ApplicationClientContext class.
|
|
12
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
13
|
-
* @param subscriptionId The ID of the target subscription.
|
|
14
|
-
* @param options The parameter options
|
|
15
|
-
*/
|
|
16
|
-
constructor(credentials, subscriptionId, options) {
|
|
17
|
-
if (credentials === undefined) {
|
|
18
|
-
throw new Error("'credentials' cannot be null");
|
|
19
|
-
}
|
|
20
|
-
if (subscriptionId === undefined) {
|
|
21
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
22
|
-
}
|
|
23
|
-
// Initializing default values for options
|
|
24
|
-
if (!options) {
|
|
25
|
-
options = {};
|
|
26
|
-
}
|
|
27
|
-
const defaults = {
|
|
28
|
-
requestContentType: "application/json; charset=utf-8",
|
|
29
|
-
credential: credentials
|
|
30
|
-
};
|
|
31
|
-
const packageDetails = `azsdk-js-arm-managedapplications/2.0.0-beta.1`;
|
|
32
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
33
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
34
|
-
: `${packageDetails}`;
|
|
35
|
-
if (!options.credentialScopes) {
|
|
36
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
37
|
-
}
|
|
38
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
39
|
-
userAgentPrefix
|
|
40
|
-
}, baseUri: options.endpoint || "https://management.azure.com" });
|
|
41
|
-
super(optionsWithDefaults);
|
|
42
|
-
// Parameter assignments
|
|
43
|
-
this.subscriptionId = subscriptionId;
|
|
44
|
-
// Assigning values to Constant parameters
|
|
45
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
46
|
-
this.apiVersion = options.apiVersion || "2018-06-01";
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=applicationClientContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applicationClientContext.js","sourceRoot":"","sources":["../src/applicationClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAIjD,MAAM,OAAO,wBAAyB,SAAQ,UAAU,CAAC,a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@@
|
|
|
1
|
-
import { OperationArguments, OperationSpec, FullOperationResponse } from "@azure/core-client";
|
|
2
|
-
import { LroResourceLocationConfig, GetLroStatusFromResponse, LongRunningOperation, LroConfig, LroMode, LroResponse, LroStatus, RawResponse } from "./lro";
|
|
3
|
-
export declare const successStates: string[];
|
|
4
|
-
export declare const failureStates: string[];
|
|
5
|
-
export declare const terminalStates: string[];
|
|
6
|
-
export declare type SendOperationFn<T> = (args: OperationArguments, spec: OperationSpec) => Promise<LroResponse<T>>;
|
|
7
|
-
export declare function createPollingMethod<TResult>(sendOperationFn: SendOperationFn<TResult>, GetLroStatusFromResponse: GetLroStatusFromResponse<TResult>, args: OperationArguments, spec: OperationSpec, mode?: LroMode): (path?: string) => Promise<LroStatus<TResult>>;
|
|
8
|
-
/**
|
|
9
|
-
* We need to selectively deserialize our responses, only deserializing if we
|
|
10
|
-
* are in a final Lro response, not deserializing any polling non-terminal responses
|
|
11
|
-
*/
|
|
12
|
-
export declare function shouldDeserializeLro(lroResourceLocationConfig?: string): (response: FullOperationResponse) => boolean;
|
|
13
|
-
export declare function getSpecPath(spec: OperationSpec): string;
|
|
14
|
-
export declare class CoreClientLro<T> implements LongRunningOperation<T> {
|
|
15
|
-
private sendOperationFn;
|
|
16
|
-
private args;
|
|
17
|
-
private spec;
|
|
18
|
-
private lroResourceLocationConfig?;
|
|
19
|
-
requestPath: string;
|
|
20
|
-
requestMethod: string;
|
|
21
|
-
constructor(sendOperationFn: SendOperationFn<T>, args: OperationArguments, spec: OperationSpec, lroResourceLocationConfig?: LroResourceLocationConfig | undefined, requestPath?: string, requestMethod?: string);
|
|
22
|
-
sendInitialRequest(initializeState: (rawResponse: RawResponse, flatResponse: unknown) => boolean): Promise<LroResponse<T>>;
|
|
23
|
-
sendPollRequest(config: LroConfig, path: string): Promise<LroStatus<T>>;
|
|
24
|
-
retrieveAzureAsyncResource(path?: string): Promise<LroResponse<T>>;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=coreClientL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E,MAAM;IACnB,aAAa,EAAE,MAAM;gBALpB,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC,EACnC,IAAI,EAAE,kBAAkB,EACxB,IAAI,EAAE,aAAa,EACnB,yBAAyB,CAAC,uCAA2B,EACtD,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,CAC7B,eAAe,EAAE,CACf,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,OAAO,KAClB,OAAO,GACX,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IA6Bb,eAAe,CAC1B,MAAM,EAAE,SAAS,EACjB,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAeX,0BAA0B,CACrC,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAgB3B"}
|
package/esm/coreClientLro.js
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
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
|
-
import { __awaiter, __rest } from "tslib";
|
|
9
|
-
import { createGetLroStatusFromResponse } from "./lro";
|
|
10
|
-
export const successStates = ["succeeded"];
|
|
11
|
-
export const failureStates = ["failed", "canceled", "cancelled"];
|
|
12
|
-
export const terminalStates = successStates.concat(failureStates);
|
|
13
|
-
export function createPollingMethod(sendOperationFn, GetLroStatusFromResponse, args, spec, mode) {
|
|
14
|
-
var _a;
|
|
15
|
-
/**
|
|
16
|
-
* Polling calls will always return a status object i.e. {"status": "success"}
|
|
17
|
-
* these intermediate responses are not described in the swagger so we need to
|
|
18
|
-
* pass custom mappers at runtime.
|
|
19
|
-
* This function replaces all the existing mappers to be able to deserialize a status object
|
|
20
|
-
* @param responses Original set of responses defined in the operation
|
|
21
|
-
*/
|
|
22
|
-
function getCompositeMappers(responses) {
|
|
23
|
-
return Object.keys(responses).reduce((acc, statusCode) => {
|
|
24
|
-
return Object.assign(Object.assign({}, acc), { [statusCode]: Object.assign(Object.assign({}, responses[statusCode]), { bodyMapper: {
|
|
25
|
-
type: {
|
|
26
|
-
name: "Composite",
|
|
27
|
-
modelProperties: {
|
|
28
|
-
status: {
|
|
29
|
-
serializedName: "status",
|
|
30
|
-
type: {
|
|
31
|
-
name: "String"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
} }) });
|
|
37
|
-
}, {});
|
|
38
|
-
}
|
|
39
|
-
let response = undefined;
|
|
40
|
-
const customerCallback = (_a = args === null || args === void 0 ? void 0 : args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
41
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: (rawResponse, flatResponse) => {
|
|
42
|
-
response = GetLroStatusFromResponse({
|
|
43
|
-
statusCode: rawResponse.status,
|
|
44
|
-
body: rawResponse.parsedBody,
|
|
45
|
-
headers: rawResponse.headers.toJSON()
|
|
46
|
-
}, flatResponse);
|
|
47
|
-
if (response.done) {
|
|
48
|
-
customerCallback === null || customerCallback === void 0 ? void 0 : customerCallback(rawResponse, flatResponse);
|
|
49
|
-
}
|
|
50
|
-
} }) });
|
|
51
|
-
// Make sure we don't send any body to the get request
|
|
52
|
-
const { requestBody, responses } = spec, restSpec = __rest(spec, ["requestBody", "responses"]);
|
|
53
|
-
if (mode === "AzureAsync") {
|
|
54
|
-
return (path) => __awaiter(this, void 0, void 0, function* () {
|
|
55
|
-
yield sendOperationFn(updatedArgs, Object.assign(Object.assign(Object.assign({}, restSpec), { responses: getCompositeMappers(responses), httpMethod: "GET" }), (path && { path })));
|
|
56
|
-
return response;
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
return (path) => __awaiter(this, void 0, void 0, function* () {
|
|
60
|
-
yield sendOperationFn(updatedArgs, Object.assign(Object.assign(Object.assign({}, restSpec), { responses: responses, httpMethod: "GET" }), (path && { path })));
|
|
61
|
-
return response;
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* We need to selectively deserialize our responses, only deserializing if we
|
|
66
|
-
* are in a final Lro response, not deserializing any polling non-terminal responses
|
|
67
|
-
*/
|
|
68
|
-
export function shouldDeserializeLro(lroResourceLocationConfig) {
|
|
69
|
-
let initialOperationInfo;
|
|
70
|
-
let isInitialRequest = true;
|
|
71
|
-
return (response) => {
|
|
72
|
-
if (response.status < 200 || response.status >= 300) {
|
|
73
|
-
return true;
|
|
74
|
-
}
|
|
75
|
-
if (!initialOperationInfo) {
|
|
76
|
-
initialOperationInfo = getLroData(response);
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
isInitialRequest = false;
|
|
80
|
-
}
|
|
81
|
-
if (initialOperationInfo.azureAsyncOperation ||
|
|
82
|
-
initialOperationInfo.operationLocation) {
|
|
83
|
-
return (!isInitialRequest &&
|
|
84
|
-
isAsyncOperationFinalResponse(response, initialOperationInfo, lroResourceLocationConfig));
|
|
85
|
-
}
|
|
86
|
-
if (initialOperationInfo.location) {
|
|
87
|
-
return isLocationFinalResponse(response);
|
|
88
|
-
}
|
|
89
|
-
if (initialOperationInfo.requestMethod === "PUT") {
|
|
90
|
-
return isBodyPollingFinalResponse(response);
|
|
91
|
-
}
|
|
92
|
-
return true;
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
function isAsyncOperationFinalResponse(response, initialOperationInfo, lroResourceLocationConfig) {
|
|
96
|
-
var _a;
|
|
97
|
-
const status = ((_a = response.parsedBody) === null || _a === void 0 ? void 0 : _a.status) || "Succeeded";
|
|
98
|
-
if (!terminalStates.includes(status.toLowerCase())) {
|
|
99
|
-
return false;
|
|
100
|
-
}
|
|
101
|
-
if (initialOperationInfo.requestMethod === "DELETE") {
|
|
102
|
-
return true;
|
|
103
|
-
}
|
|
104
|
-
if (initialOperationInfo.requestMethod === "PUT" &&
|
|
105
|
-
lroResourceLocationConfig &&
|
|
106
|
-
lroResourceLocationConfig.toLowerCase() === "azure-asyncoperation") {
|
|
107
|
-
return true;
|
|
108
|
-
}
|
|
109
|
-
if (initialOperationInfo.requestMethod !== "PUT" &&
|
|
110
|
-
!initialOperationInfo.location) {
|
|
111
|
-
return true;
|
|
112
|
-
}
|
|
113
|
-
return false;
|
|
114
|
-
}
|
|
115
|
-
function isLocationFinalResponse(response) {
|
|
116
|
-
return response.status !== 202;
|
|
117
|
-
}
|
|
118
|
-
function isBodyPollingFinalResponse(response) {
|
|
119
|
-
var _a, _b;
|
|
120
|
-
const provisioningState = ((_b = (_a = response.parsedBody) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.provisioningState) || "Succeeded";
|
|
121
|
-
if (terminalStates.includes(provisioningState.toLowerCase())) {
|
|
122
|
-
return true;
|
|
123
|
-
}
|
|
124
|
-
return false;
|
|
125
|
-
}
|
|
126
|
-
function getLroData(result) {
|
|
127
|
-
return {
|
|
128
|
-
azureAsyncOperation: result.headers.get("azure-asyncoperation"),
|
|
129
|
-
operationLocation: result.headers.get("operation-location"),
|
|
130
|
-
location: result.headers.get("location"),
|
|
131
|
-
requestMethod: result.request.method
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
export function getSpecPath(spec) {
|
|
135
|
-
if (spec.path) {
|
|
136
|
-
return spec.path;
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
throw Error("Bad spec: request path is not found!");
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
export class CoreClientLro {
|
|
143
|
-
constructor(sendOperationFn, args, spec, lroResourceLocationConfig, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
144
|
-
this.sendOperationFn = sendOperationFn;
|
|
145
|
-
this.args = args;
|
|
146
|
-
this.spec = spec;
|
|
147
|
-
this.lroResourceLocationConfig = lroResourceLocationConfig;
|
|
148
|
-
this.requestPath = requestPath;
|
|
149
|
-
this.requestMethod = requestMethod;
|
|
150
|
-
}
|
|
151
|
-
sendInitialRequest(initializeState) {
|
|
152
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
-
const _a = this.args.options || {}, { onResponse } = _a, restOptions = __rest(_a, ["onResponse"]);
|
|
154
|
-
return this.sendOperationFn(Object.assign(Object.assign({}, this.args), { options: Object.assign(Object.assign({}, restOptions), { onResponse: (rawResponse, flatResponse) => {
|
|
155
|
-
const isCompleted = initializeState({
|
|
156
|
-
statusCode: rawResponse.status,
|
|
157
|
-
body: rawResponse.parsedBody,
|
|
158
|
-
headers: rawResponse.headers.toJSON()
|
|
159
|
-
}, flatResponse);
|
|
160
|
-
if (isCompleted) {
|
|
161
|
-
onResponse === null || onResponse === void 0 ? void 0 : onResponse(rawResponse, flatResponse);
|
|
162
|
-
}
|
|
163
|
-
} }) }), this.spec);
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
sendPollRequest(config, path) {
|
|
167
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
-
const getLroStatusFromResponse = createGetLroStatusFromResponse(this, config, this.lroResourceLocationConfig);
|
|
169
|
-
return createPollingMethod(this.sendOperationFn, getLroStatusFromResponse, this.args, this.spec, config.mode)(path);
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
retrieveAzureAsyncResource(path) {
|
|
173
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
174
|
-
const updatedArgs = Object.assign({}, this.args);
|
|
175
|
-
if (updatedArgs.options) {
|
|
176
|
-
updatedArgs.options.shouldDeserialize = true;
|
|
177
|
-
}
|
|
178
|
-
return createPollingMethod(this.sendOperationFn, (rawResponse, flatResponse) => ({
|
|
179
|
-
rawResponse,
|
|
180
|
-
flatResponse,
|
|
181
|
-
done: true
|
|
182
|
-
}), updatedArgs, this.spec)(path);
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
//# sourceMappingURL=coreClientLro.js.map
|
package/esm/coreClientLro.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"coreClientLro.js","sourceRoot":"","sources":["../src/coreClientLro.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAWH,OAAO,EAQL,8BAA8B,EAE/B,MAAM,OAAO,CAAC;AAEf,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,WAAW,CAAC,CAAC;AAC3C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,QAAQ,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC;AACjE,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;AAOlE,MAAM,UAAU,mBAAmB,CACjC,eAAyC,EACzC,wBAA2D,EAC3D,IAAwB,EACxB,IAAmB,EACnB,IAAc;;IAEd;;;;;;OAMG;IACH,SAAS,mBAAmB,CAAC,SAE5B;QAGC,OAAO,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,UAAU,EAAE,EAAE;YACvD,uCACK,GAAG,KACN,CAAC,UAAU,CAAC,kCACP,SAAS,CAAC,UAAU,CAAC,KACxB,UAAU,EAAE;wBACV,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,eAAe,EAAE;gCACf,MAAM,EAAE;oCACN,cAAc,EAAE,QAAQ;oCACxB,IAAI,EAAE;wCACJ,IAAI,EAAE,QAAQ;qCACf;iCACF;6BACF;yBACF;qBACF,OAEH;QACJ,CAAC,EAAE,EAAsD,CAAC,CAAC;IAC7D,CAAC;IACD,IAAI,QAAQ,GAAmC,SAAS,CAAC;IACzD,MAAM,gBAAgB,GAAG,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,UAAU,CAAC;IACnD,MAAM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OAAe,CAAC,iBAAiB,GAAG,IAAI,CAAC;aACvD;YACD,OAAO,mBAAmB,CACxB,IAAI,CAAC,eAAe,EACpB,CAAC,WAAW,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;gBAC9B,WAAW;gBACX,YAAY;gBACZ,IAAI,EAAE,IAAI;aACX,CAAC,EACF,WAAW,EACX,IAAI,CAAC,IAAI,CACV,CAAC,IAAI,CAAC,CAAC;QACV,CAAC;KAAA;CACF"}
|
package/esm/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AASA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,cAAc,wBAAwB,CAAC"}
|
package/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { LroResourceLocationConfig, LongRunningOperation, LroStatus, RawResponse } from "./models";
|
|
2
|
-
export declare function processAzureAsyncOperationResult<TResult>(lro: LongRunningOperation<TResult>, resourceLocation?: string, lroResourceLocationConfig?: LroResourceLocationConfig): (rawResponse: RawResponse, flatResponse: TResult) => LroStatus<TResult>;
|
|
3
|
-
//# sourceMappingURL=azureAsyncPolling.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"azureAsyncPolling.d.ts","sourceRoot":"","sources":["../../src/lro/azureAsyncPolling.ts"],"names":[],"mappings":"AAWA,OAAO,EAEL,yBAAyB,EACzB,oBAAoB,EAGpB,SAAS,EACT,WAAW,EAEZ,MAAM,UAAU,CAAC;AAmClB,wBAAgB,gCAAgC,CAAC,OAAO,EACtD,GAAG,EAAE,oBAAoB,CAAC,OAAO,CAAC,EAClC,gBAAgB,CAAC,EAAE,MAAM,EACzB,yBAAyB,CAAC,EAAE,yBAAyB,GACpD,CAAC,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,KAAK,SAAS,CAAC,OAAO,CAAC,CAoCzE"}
|