@azure/arm-networkfunction 2.0.2-alpha.20260302.1 → 2.0.2-alpha.20260303.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/dist/commonjs/azureTrafficCollectorClient.js +131 -115
- package/dist/commonjs/azureTrafficCollectorClient.js.map +7 -1
- package/dist/commonjs/index.js +28 -19
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/lroImpl.js +40 -35
- package/dist/commonjs/lroImpl.js.map +7 -1
- package/dist/commonjs/models/index.js +64 -69
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/mappers.js +502 -473
- package/dist/commonjs/models/mappers.js.map +7 -1
- package/dist/commonjs/models/parameters.js +154 -127
- package/dist/commonjs/models/parameters.js.map +7 -1
- package/dist/commonjs/operations/azureTrafficCollectors.js +293 -249
- package/dist/commonjs/operations/azureTrafficCollectors.js.map +7 -1
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js +152 -122
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js.map +7 -1
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js +137 -114
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js.map +7 -1
- package/dist/commonjs/operations/collectorPolicies.js +454 -381
- package/dist/commonjs/operations/collectorPolicies.js.map +7 -1
- package/dist/commonjs/operations/index.js +21 -16
- package/dist/commonjs/operations/index.js.map +7 -1
- package/dist/commonjs/operations/networkFunction.js +100 -77
- package/dist/commonjs/operations/networkFunction.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js +15 -10
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +15 -10
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js +15 -10
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/collectorPolicies.js +15 -10
- package/dist/commonjs/operationsInterfaces/collectorPolicies.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/index.js +21 -16
- package/dist/commonjs/operationsInterfaces/index.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/networkFunction.js +15 -10
- package/dist/commonjs/operationsInterfaces/networkFunction.js.map +7 -1
- package/dist/commonjs/pagingHelper.js +34 -30
- package/dist/commonjs/pagingHelper.js.map +7 -1
- package/dist/esm/azureTrafficCollectorClient.js +107 -109
- package/dist/esm/azureTrafficCollectorClient.js.map +7 -1
- package/dist/esm/index.js +6 -11
- package/dist/esm/index.js.map +7 -1
- package/dist/esm/lroImpl.js +22 -32
- package/dist/esm/lroImpl.js.map +7 -1
- package/dist/esm/models/index.js +45 -66
- package/dist/esm/models/index.js.map +7 -1
- package/dist/esm/models/mappers.js +483 -470
- package/dist/esm/models/mappers.js.map +7 -1
- package/dist/esm/models/parameters.js +143 -128
- package/dist/esm/models/parameters.js.map +7 -1
- package/dist/esm/operations/azureTrafficCollectors.js +260 -240
- package/dist/esm/operations/azureTrafficCollectors.js.map +7 -1
- package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js +120 -114
- package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js.map +7 -1
- package/dist/esm/operations/azureTrafficCollectorsBySubscription.js +105 -106
- package/dist/esm/operations/azureTrafficCollectorsBySubscription.js.map +7 -1
- package/dist/esm/operations/collectorPolicies.js +420 -371
- package/dist/esm/operations/collectorPolicies.js.map +7 -1
- package/dist/esm/operations/index.js +0 -8
- package/dist/esm/operations/index.js.map +7 -1
- package/dist/esm/operations/networkFunction.js +69 -70
- package/dist/esm/operations/networkFunction.js.map +7 -1
- package/dist/esm/operationsInterfaces/azureTrafficCollectors.js +0 -9
- package/dist/esm/operationsInterfaces/azureTrafficCollectors.js.map +7 -1
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +0 -9
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +7 -1
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js +0 -9
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +7 -1
- package/dist/esm/operationsInterfaces/collectorPolicies.js +0 -9
- package/dist/esm/operationsInterfaces/collectorPolicies.js.map +7 -1
- package/dist/esm/operationsInterfaces/index.js +0 -8
- package/dist/esm/operationsInterfaces/index.js.map +7 -1
- package/dist/esm/operationsInterfaces/networkFunction.js +0 -9
- package/dist/esm/operationsInterfaces/networkFunction.js.map +7 -1
- package/dist/esm/pagingHelper.js +17 -28
- package/dist/esm/pagingHelper.js.map +7 -1
- package/package.json +4 -21
|
@@ -1,258 +1,278 @@
|
|
|
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
1
|
import * as coreClient from "@azure/core-client";
|
|
9
2
|
import * as Mappers from "../models/mappers.js";
|
|
10
3
|
import * as Parameters from "../models/parameters.js";
|
|
11
4
|
import { LroEngine } from "@azure/core-lro";
|
|
12
5
|
import { LroImpl } from "../lroImpl.js";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
6
|
+
class AzureTrafficCollectorsImpl {
|
|
7
|
+
client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class AzureTrafficCollectors class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client) {
|
|
13
|
+
this.client = client;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Gets the specified Azure Traffic Collector in a specified resource group
|
|
17
|
+
* @param resourceGroupName The name of the resource group.
|
|
18
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
get(resourceGroupName, azureTrafficCollectorName, options) {
|
|
22
|
+
return this.client.sendOperationRequest(
|
|
23
|
+
{ resourceGroupName, azureTrafficCollectorName, options },
|
|
24
|
+
getOperationSpec
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Creates or updates a Azure Traffic Collector resource
|
|
29
|
+
* @param resourceGroupName The name of the resource group.
|
|
30
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
31
|
+
* @param location Resource location.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
async beginCreateOrUpdate(resourceGroupName, azureTrafficCollectorName, location, options) {
|
|
35
|
+
const directSendOperation = async (args, spec) => {
|
|
36
|
+
return this.client.sendOperationRequest(args, spec);
|
|
37
|
+
};
|
|
38
|
+
const sendOperation = async (args, spec) => {
|
|
39
|
+
let currentRawResponse = void 0;
|
|
40
|
+
const providedCallback = args.options?.onResponse;
|
|
41
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
42
|
+
currentRawResponse = rawResponse;
|
|
43
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
44
|
+
};
|
|
45
|
+
const updatedArgs = {
|
|
46
|
+
...args,
|
|
47
|
+
options: {
|
|
48
|
+
...args.options,
|
|
49
|
+
onResponse: callback
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
53
|
+
return {
|
|
54
|
+
flatResponse,
|
|
55
|
+
rawResponse: {
|
|
56
|
+
statusCode: currentRawResponse.status,
|
|
57
|
+
body: currentRawResponse.parsedBody,
|
|
58
|
+
headers: currentRawResponse.headers.toJSON()
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
const lro = new LroImpl(
|
|
63
|
+
sendOperation,
|
|
64
|
+
{ resourceGroupName, azureTrafficCollectorName, location, options },
|
|
65
|
+
createOrUpdateOperationSpec
|
|
66
|
+
);
|
|
67
|
+
const poller = new LroEngine(lro, {
|
|
68
|
+
resumeFrom: options?.resumeFrom,
|
|
69
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
70
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
71
|
+
});
|
|
72
|
+
await poller.poll();
|
|
73
|
+
return poller;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Creates or updates a Azure Traffic Collector resource
|
|
77
|
+
* @param resourceGroupName The name of the resource group.
|
|
78
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
79
|
+
* @param location Resource location.
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, azureTrafficCollectorName, location, options) {
|
|
83
|
+
const poller = await this.beginCreateOrUpdate(
|
|
84
|
+
resourceGroupName,
|
|
85
|
+
azureTrafficCollectorName,
|
|
86
|
+
location,
|
|
87
|
+
options
|
|
88
|
+
);
|
|
89
|
+
return poller.pollUntilDone();
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Deletes a specified Azure Traffic Collector resource.
|
|
93
|
+
* @param resourceGroupName The name of the resource group.
|
|
94
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
async beginDelete(resourceGroupName, azureTrafficCollectorName, options) {
|
|
98
|
+
const directSendOperation = async (args, spec) => {
|
|
99
|
+
return this.client.sendOperationRequest(args, spec);
|
|
100
|
+
};
|
|
101
|
+
const sendOperation = async (args, spec) => {
|
|
102
|
+
let currentRawResponse = void 0;
|
|
103
|
+
const providedCallback = args.options?.onResponse;
|
|
104
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
105
|
+
currentRawResponse = rawResponse;
|
|
106
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
107
|
+
};
|
|
108
|
+
const updatedArgs = {
|
|
109
|
+
...args,
|
|
110
|
+
options: {
|
|
111
|
+
...args.options,
|
|
112
|
+
onResponse: callback
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
116
|
+
return {
|
|
117
|
+
flatResponse,
|
|
118
|
+
rawResponse: {
|
|
119
|
+
statusCode: currentRawResponse.status,
|
|
120
|
+
body: currentRawResponse.parsedBody,
|
|
121
|
+
headers: currentRawResponse.headers.toJSON()
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
const lro = new LroImpl(
|
|
126
|
+
sendOperation,
|
|
127
|
+
{ resourceGroupName, azureTrafficCollectorName, options },
|
|
128
|
+
deleteOperationSpec
|
|
129
|
+
);
|
|
130
|
+
const poller = new LroEngine(lro, {
|
|
131
|
+
resumeFrom: options?.resumeFrom,
|
|
132
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
133
|
+
lroResourceLocationConfig: "location"
|
|
134
|
+
});
|
|
135
|
+
await poller.poll();
|
|
136
|
+
return poller;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Deletes a specified Azure Traffic Collector resource.
|
|
140
|
+
* @param resourceGroupName The name of the resource group.
|
|
141
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
142
|
+
* @param options The options parameters.
|
|
143
|
+
*/
|
|
144
|
+
async beginDeleteAndWait(resourceGroupName, azureTrafficCollectorName, options) {
|
|
145
|
+
const poller = await this.beginDelete(
|
|
146
|
+
resourceGroupName,
|
|
147
|
+
azureTrafficCollectorName,
|
|
148
|
+
options
|
|
149
|
+
);
|
|
150
|
+
return poller.pollUntilDone();
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Updates the specified Azure Traffic Collector tags.
|
|
154
|
+
* @param resourceGroupName The name of the resource group.
|
|
155
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
156
|
+
* @param parameters Parameters supplied to update Azure Traffic Collector tags.
|
|
157
|
+
* @param options The options parameters.
|
|
158
|
+
*/
|
|
159
|
+
updateTags(resourceGroupName, azureTrafficCollectorName, parameters, options) {
|
|
160
|
+
return this.client.sendOperationRequest(
|
|
161
|
+
{ resourceGroupName, azureTrafficCollectorName, parameters, options },
|
|
162
|
+
updateTagsOperationSpec
|
|
163
|
+
);
|
|
164
|
+
}
|
|
150
165
|
}
|
|
151
|
-
|
|
152
|
-
|
|
166
|
+
const serializer = coreClient.createSerializer(
|
|
167
|
+
Mappers,
|
|
168
|
+
/* isXml */
|
|
169
|
+
false
|
|
170
|
+
);
|
|
153
171
|
const getOperationSpec = {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
},
|
|
160
|
-
default: {
|
|
161
|
-
bodyMapper: Mappers.CloudError
|
|
162
|
-
}
|
|
172
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
173
|
+
httpMethod: "GET",
|
|
174
|
+
responses: {
|
|
175
|
+
200: {
|
|
176
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
163
177
|
},
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
178
|
+
default: {
|
|
179
|
+
bodyMapper: Mappers.CloudError
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
queryParameters: [Parameters.apiVersion],
|
|
183
|
+
urlParameters: [
|
|
184
|
+
Parameters.$host,
|
|
185
|
+
Parameters.subscriptionId,
|
|
186
|
+
Parameters.resourceGroupName,
|
|
187
|
+
Parameters.azureTrafficCollectorName
|
|
188
|
+
],
|
|
189
|
+
headerParameters: [Parameters.accept],
|
|
190
|
+
serializer
|
|
173
191
|
};
|
|
174
192
|
const createOrUpdateOperationSpec = {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
},
|
|
184
|
-
202: {
|
|
185
|
-
bodyMapper: Mappers.AzureTrafficCollector
|
|
186
|
-
},
|
|
187
|
-
204: {
|
|
188
|
-
bodyMapper: Mappers.AzureTrafficCollector
|
|
189
|
-
},
|
|
190
|
-
default: {
|
|
191
|
-
bodyMapper: Mappers.CloudError
|
|
192
|
-
}
|
|
193
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
194
|
+
httpMethod: "PUT",
|
|
195
|
+
responses: {
|
|
196
|
+
200: {
|
|
197
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
198
|
+
},
|
|
199
|
+
201: {
|
|
200
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
193
201
|
},
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
202
|
+
202: {
|
|
203
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
204
|
+
},
|
|
205
|
+
204: {
|
|
206
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
207
|
+
},
|
|
208
|
+
default: {
|
|
209
|
+
bodyMapper: Mappers.CloudError
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
requestBody: {
|
|
213
|
+
parameterPath: {
|
|
214
|
+
location: ["location"],
|
|
215
|
+
tags: ["options", "tags"],
|
|
216
|
+
virtualHub: ["options", "virtualHub"]
|
|
201
217
|
},
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
218
|
+
mapper: { ...Mappers.AzureTrafficCollector, required: true }
|
|
219
|
+
},
|
|
220
|
+
queryParameters: [Parameters.apiVersion],
|
|
221
|
+
urlParameters: [
|
|
222
|
+
Parameters.$host,
|
|
223
|
+
Parameters.subscriptionId,
|
|
224
|
+
Parameters.resourceGroupName,
|
|
225
|
+
Parameters.azureTrafficCollectorName
|
|
226
|
+
],
|
|
227
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
228
|
+
mediaType: "json",
|
|
229
|
+
serializer
|
|
212
230
|
};
|
|
213
231
|
const deleteOperationSpec = {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
232
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
233
|
+
httpMethod: "DELETE",
|
|
234
|
+
responses: {
|
|
235
|
+
200: {},
|
|
236
|
+
201: {},
|
|
237
|
+
202: {},
|
|
238
|
+
204: {},
|
|
239
|
+
default: {
|
|
240
|
+
bodyMapper: Mappers.CloudError
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
queryParameters: [Parameters.apiVersion],
|
|
244
|
+
urlParameters: [
|
|
245
|
+
Parameters.$host,
|
|
246
|
+
Parameters.subscriptionId,
|
|
247
|
+
Parameters.resourceGroupName,
|
|
248
|
+
Parameters.azureTrafficCollectorName
|
|
249
|
+
],
|
|
250
|
+
headerParameters: [Parameters.accept],
|
|
251
|
+
serializer
|
|
234
252
|
};
|
|
235
253
|
const updateTagsOperationSpec = {
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
},
|
|
242
|
-
default: {
|
|
243
|
-
bodyMapper: Mappers.CloudError
|
|
244
|
-
}
|
|
254
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
255
|
+
httpMethod: "PATCH",
|
|
256
|
+
responses: {
|
|
257
|
+
200: {
|
|
258
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
245
259
|
},
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
260
|
+
default: {
|
|
261
|
+
bodyMapper: Mappers.CloudError
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
requestBody: Parameters.parameters1,
|
|
265
|
+
queryParameters: [Parameters.apiVersion],
|
|
266
|
+
urlParameters: [
|
|
267
|
+
Parameters.$host,
|
|
268
|
+
Parameters.subscriptionId,
|
|
269
|
+
Parameters.resourceGroupName,
|
|
270
|
+
Parameters.azureTrafficCollectorName
|
|
271
|
+
],
|
|
272
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
273
|
+
mediaType: "json",
|
|
274
|
+
serializer
|
|
275
|
+
};
|
|
276
|
+
export {
|
|
277
|
+
AzureTrafficCollectorsImpl
|
|
257
278
|
};
|
|
258
|
-
//# sourceMappingURL=azureTrafficCollectors.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{"version":3,"file":"azureTrafficCollectors.js","sourceRoot":"","sources":["../../../src/operations/azureTrafficCollectors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAYxC,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IACpB,MAAM,CAA8B;IAErD;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,yBAAiC,EACjC,OAAiD;QAEjD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,OAAO,EAAE,EACzD,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,mBAAmB,CACvB,iBAAyB,EACzB,yBAAiC,EACjC,QAAgB,EAChB,OAA4D;QAO5D,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EACyB,EAAE;YACzD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACtD,CAAC,CAAC;QACF,MAAM,aAAa,GAAG,KAAK,EACzB,IAAmC,EACnC,IAA8B,EAC9B,EAAE;YACF,IAAI,kBAAkB,GAEN,SAAS,CAAC;YAC1B,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,EAAE,UAAU,CAAC;YA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AAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,yBAAyB;KACrC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EACF,2JAA2J;IAC7J,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,yBAAyB;KACrC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { AzureTrafficCollectors } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n AzureTrafficCollectorsGetOptionalParams,\n AzureTrafficCollectorsGetResponse,\n AzureTrafficCollectorsCreateOrUpdateOptionalParams,\n AzureTrafficCollectorsCreateOrUpdateResponse,\n AzureTrafficCollectorsDeleteOptionalParams,\n TagsObject,\n AzureTrafficCollectorsUpdateTagsOptionalParams,\n AzureTrafficCollectorsUpdateTagsResponse\n} from \"../models/index.js\";\n\n/** Class containing AzureTrafficCollectors operations. */\nexport class AzureTrafficCollectorsImpl implements AzureTrafficCollectors {\n private readonly client: AzureTrafficCollectorClient;\n\n /**\n * Initialize a new instance of the class AzureTrafficCollectors class.\n * @param client Reference to the service client\n */\n constructor(client: AzureTrafficCollectorClient) {\n this.client = client;\n }\n\n /**\n * Gets the specified Azure Traffic Collector in a specified resource group\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsGetOptionalParams\n ): Promise<AzureTrafficCollectorsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, azureTrafficCollectorName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a Azure Traffic Collector resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param location Resource location.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n location: string,\n options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<AzureTrafficCollectorsCreateOrUpdateResponse>,\n AzureTrafficCollectorsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AzureTrafficCollectorsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, azureTrafficCollectorName, location, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a Azure Traffic Collector resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param location Resource location.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n location: string,\n options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams\n ): Promise<AzureTrafficCollectorsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n azureTrafficCollectorName,\n location,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a specified Azure Traffic Collector resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, azureTrafficCollectorName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a specified Azure Traffic Collector resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n azureTrafficCollectorName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the specified Azure Traffic Collector tags.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param parameters Parameters supplied to update Azure Traffic Collector tags.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n parameters: TagsObject,\n options?: AzureTrafficCollectorsUpdateTagsOptionalParams\n ): Promise<AzureTrafficCollectorsUpdateTagsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, azureTrafficCollectorName, parameters, options },\n updateTagsOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n 201: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n 202: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n 204: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: {\n parameterPath: {\n location: [\"location\"],\n tags: [\"options\", \"tags\"],\n virtualHub: [\"options\", \"virtualHub\"]\n },\n mapper: { ...Mappers.AzureTrafficCollector, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateTagsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/networkfunction/arm-networkfunction/src/operations/azureTrafficCollectors.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { AzureTrafficCollectors } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n AzureTrafficCollectorsGetOptionalParams,\n AzureTrafficCollectorsGetResponse,\n AzureTrafficCollectorsCreateOrUpdateOptionalParams,\n AzureTrafficCollectorsCreateOrUpdateResponse,\n AzureTrafficCollectorsDeleteOptionalParams,\n TagsObject,\n AzureTrafficCollectorsUpdateTagsOptionalParams,\n AzureTrafficCollectorsUpdateTagsResponse\n} from \"../models/index.js\";\n\n/** Class containing AzureTrafficCollectors operations. */\nexport class AzureTrafficCollectorsImpl implements AzureTrafficCollectors {\n private readonly client: AzureTrafficCollectorClient;\n\n /**\n * Initialize a new instance of the class AzureTrafficCollectors class.\n * @param client Reference to the service client\n */\n constructor(client: AzureTrafficCollectorClient) {\n this.client = client;\n }\n\n /**\n * Gets the specified Azure Traffic Collector in a specified resource group\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsGetOptionalParams\n ): Promise<AzureTrafficCollectorsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, azureTrafficCollectorName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a Azure Traffic Collector resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param location Resource location.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n location: string,\n options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<AzureTrafficCollectorsCreateOrUpdateResponse>,\n AzureTrafficCollectorsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AzureTrafficCollectorsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, azureTrafficCollectorName, location, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a Azure Traffic Collector resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param location Resource location.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n location: string,\n options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams\n ): Promise<AzureTrafficCollectorsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n azureTrafficCollectorName,\n location,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a specified Azure Traffic Collector resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, azureTrafficCollectorName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a specified Azure Traffic Collector resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n azureTrafficCollectorName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the specified Azure Traffic Collector tags.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param parameters Parameters supplied to update Azure Traffic Collector tags.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n parameters: TagsObject,\n options?: AzureTrafficCollectorsUpdateTagsOptionalParams\n ): Promise<AzureTrafficCollectorsUpdateTagsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, azureTrafficCollectorName, parameters, options },\n updateTagsOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n 201: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n 202: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n 204: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: {\n parameterPath: {\n location: [\"location\"],\n tags: [\"options\", \"tags\"],\n virtualHub: [\"options\", \"virtualHub\"]\n },\n mapper: { ...Mappers.AzureTrafficCollector, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateTagsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"],
|
|
5
|
+
"mappings": "AASA,YAAY,gBAAgB;AAC5B,YAAY,aAAa;AACzB,YAAY,gBAAgB;AAE5B,SAAyC,iBAAiB;AAC1D,SAAS,eAAe;AAajB,MAAM,2BAA6D;AAAA,EACvD;AAAA;AAAA;AAAA;AAAA;AAAA,EAMjB,YAAY,QAAqC;AAC/C,SAAK,SAAS;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,IACE,mBACA,2BACA,SAC4C;AAC5C,WAAO,KAAK,OAAO;AAAA,MACjB,EAAE,mBAAmB,2BAA2B,QAAQ;AAAA,MACxD;AAAA,IACF;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,MAAM,oBACJ,mBACA,2BACA,UACA,SAMA;AACA,UAAM,sBAAsB,OAC1B,MACA,SAC0D;AAC1D,aAAO,KAAK,OAAO,qBAAqB,MAAM,IAAI;AAAA,IACpD;AACA,UAAM,gBAAgB,OACpB,MACA,SACG;AACH,UAAI,qBAEY;A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