@azure/arm-networkfunction 2.0.2-alpha.20260302.1 → 2.0.2-alpha.20260304.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 +135 -115
- package/dist/commonjs/azureTrafficCollectorClient.js.map +7 -1
- package/dist/commonjs/index.js +35 -19
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/lroImpl.js +44 -35
- package/dist/commonjs/lroImpl.js.map +7 -1
- package/dist/commonjs/models/index.js +74 -69
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/mappers.js +524 -473
- package/dist/commonjs/models/mappers.js.map +7 -1
- package/dist/commonjs/models/parameters.js +179 -132
- package/dist/commonjs/models/parameters.js.map +7 -1
- package/dist/commonjs/operations/azureTrafficCollectors.js +297 -249
- package/dist/commonjs/operations/azureTrafficCollectors.js.map +7 -1
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js +156 -122
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js.map +7 -1
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js +141 -114
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js.map +7 -1
- package/dist/commonjs/operations/collectorPolicies.js +458 -381
- package/dist/commonjs/operations/collectorPolicies.js.map +7 -1
- package/dist/commonjs/operations/index.js +29 -16
- package/dist/commonjs/operations/index.js.map +7 -1
- package/dist/commonjs/operations/networkFunction.js +104 -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 +29 -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 +39 -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,263 +1,311 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var azureTrafficCollectors_exports = {};
|
|
29
|
+
__export(azureTrafficCollectors_exports, {
|
|
30
|
+
AzureTrafficCollectorsImpl: () => AzureTrafficCollectorsImpl
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(azureTrafficCollectors_exports);
|
|
33
|
+
var coreClient = __toESM(require("@azure/core-client"));
|
|
34
|
+
var Mappers = __toESM(require("../models/mappers.js"));
|
|
35
|
+
var Parameters = __toESM(require("../models/parameters.js"));
|
|
36
|
+
var import_core_lro = require("@azure/core-lro");
|
|
37
|
+
var import_lroImpl = require("../lroImpl.js");
|
|
18
38
|
class AzureTrafficCollectorsImpl {
|
|
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
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
39
|
+
client;
|
|
40
|
+
/**
|
|
41
|
+
* Initialize a new instance of the class AzureTrafficCollectors class.
|
|
42
|
+
* @param client Reference to the service client
|
|
43
|
+
*/
|
|
44
|
+
constructor(client) {
|
|
45
|
+
this.client = client;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Gets the specified Azure Traffic Collector in a specified resource group
|
|
49
|
+
* @param resourceGroupName The name of the resource group.
|
|
50
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
get(resourceGroupName, azureTrafficCollectorName, options) {
|
|
54
|
+
return this.client.sendOperationRequest(
|
|
55
|
+
{ resourceGroupName, azureTrafficCollectorName, options },
|
|
56
|
+
getOperationSpec
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Creates or updates a Azure Traffic Collector resource
|
|
61
|
+
* @param resourceGroupName The name of the resource group.
|
|
62
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
63
|
+
* @param location Resource location.
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
async beginCreateOrUpdate(resourceGroupName, azureTrafficCollectorName, location, options) {
|
|
67
|
+
const directSendOperation = async (args, spec) => {
|
|
68
|
+
return this.client.sendOperationRequest(args, spec);
|
|
69
|
+
};
|
|
70
|
+
const sendOperation = async (args, spec) => {
|
|
71
|
+
let currentRawResponse = void 0;
|
|
72
|
+
const providedCallback = args.options?.onResponse;
|
|
73
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
74
|
+
currentRawResponse = rawResponse;
|
|
75
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
76
|
+
};
|
|
77
|
+
const updatedArgs = {
|
|
78
|
+
...args,
|
|
79
|
+
options: {
|
|
80
|
+
...args.options,
|
|
81
|
+
onResponse: callback
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
85
|
+
return {
|
|
86
|
+
flatResponse,
|
|
87
|
+
rawResponse: {
|
|
88
|
+
statusCode: currentRawResponse.status,
|
|
89
|
+
body: currentRawResponse.parsedBody,
|
|
90
|
+
headers: currentRawResponse.headers.toJSON()
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
const lro = new import_lroImpl.LroImpl(
|
|
95
|
+
sendOperation,
|
|
96
|
+
{ resourceGroupName, azureTrafficCollectorName, location, options },
|
|
97
|
+
createOrUpdateOperationSpec
|
|
98
|
+
);
|
|
99
|
+
const poller = new import_core_lro.LroEngine(lro, {
|
|
100
|
+
resumeFrom: options?.resumeFrom,
|
|
101
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
102
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
103
|
+
});
|
|
104
|
+
await poller.poll();
|
|
105
|
+
return poller;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Creates or updates a Azure Traffic Collector resource
|
|
109
|
+
* @param resourceGroupName The name of the resource group.
|
|
110
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
111
|
+
* @param location Resource location.
|
|
112
|
+
* @param options The options parameters.
|
|
113
|
+
*/
|
|
114
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, azureTrafficCollectorName, location, options) {
|
|
115
|
+
const poller = await this.beginCreateOrUpdate(
|
|
116
|
+
resourceGroupName,
|
|
117
|
+
azureTrafficCollectorName,
|
|
118
|
+
location,
|
|
119
|
+
options
|
|
120
|
+
);
|
|
121
|
+
return poller.pollUntilDone();
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Deletes a specified Azure Traffic Collector resource.
|
|
125
|
+
* @param resourceGroupName The name of the resource group.
|
|
126
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
127
|
+
* @param options The options parameters.
|
|
128
|
+
*/
|
|
129
|
+
async beginDelete(resourceGroupName, azureTrafficCollectorName, options) {
|
|
130
|
+
const directSendOperation = async (args, spec) => {
|
|
131
|
+
return this.client.sendOperationRequest(args, spec);
|
|
132
|
+
};
|
|
133
|
+
const sendOperation = async (args, spec) => {
|
|
134
|
+
let currentRawResponse = void 0;
|
|
135
|
+
const providedCallback = args.options?.onResponse;
|
|
136
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
137
|
+
currentRawResponse = rawResponse;
|
|
138
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
139
|
+
};
|
|
140
|
+
const updatedArgs = {
|
|
141
|
+
...args,
|
|
142
|
+
options: {
|
|
143
|
+
...args.options,
|
|
144
|
+
onResponse: callback
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
148
|
+
return {
|
|
149
|
+
flatResponse,
|
|
150
|
+
rawResponse: {
|
|
151
|
+
statusCode: currentRawResponse.status,
|
|
152
|
+
body: currentRawResponse.parsedBody,
|
|
153
|
+
headers: currentRawResponse.headers.toJSON()
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
const lro = new import_lroImpl.LroImpl(
|
|
158
|
+
sendOperation,
|
|
159
|
+
{ resourceGroupName, azureTrafficCollectorName, options },
|
|
160
|
+
deleteOperationSpec
|
|
161
|
+
);
|
|
162
|
+
const poller = new import_core_lro.LroEngine(lro, {
|
|
163
|
+
resumeFrom: options?.resumeFrom,
|
|
164
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
165
|
+
lroResourceLocationConfig: "location"
|
|
166
|
+
});
|
|
167
|
+
await poller.poll();
|
|
168
|
+
return poller;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Deletes a specified Azure Traffic Collector resource.
|
|
172
|
+
* @param resourceGroupName The name of the resource group.
|
|
173
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
174
|
+
* @param options The options parameters.
|
|
175
|
+
*/
|
|
176
|
+
async beginDeleteAndWait(resourceGroupName, azureTrafficCollectorName, options) {
|
|
177
|
+
const poller = await this.beginDelete(
|
|
178
|
+
resourceGroupName,
|
|
179
|
+
azureTrafficCollectorName,
|
|
180
|
+
options
|
|
181
|
+
);
|
|
182
|
+
return poller.pollUntilDone();
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Updates the specified Azure Traffic Collector tags.
|
|
186
|
+
* @param resourceGroupName The name of the resource group.
|
|
187
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
188
|
+
* @param parameters Parameters supplied to update Azure Traffic Collector tags.
|
|
189
|
+
* @param options The options parameters.
|
|
190
|
+
*/
|
|
191
|
+
updateTags(resourceGroupName, azureTrafficCollectorName, parameters, options) {
|
|
192
|
+
return this.client.sendOperationRequest(
|
|
193
|
+
{ resourceGroupName, azureTrafficCollectorName, parameters, options },
|
|
194
|
+
updateTagsOperationSpec
|
|
195
|
+
);
|
|
196
|
+
}
|
|
154
197
|
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
198
|
+
const serializer = coreClient.createSerializer(
|
|
199
|
+
Mappers,
|
|
200
|
+
/* isXml */
|
|
201
|
+
false
|
|
202
|
+
);
|
|
158
203
|
const getOperationSpec = {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
},
|
|
165
|
-
default: {
|
|
166
|
-
bodyMapper: Mappers.CloudError
|
|
167
|
-
}
|
|
204
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
205
|
+
httpMethod: "GET",
|
|
206
|
+
responses: {
|
|
207
|
+
200: {
|
|
208
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
168
209
|
},
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
210
|
+
default: {
|
|
211
|
+
bodyMapper: Mappers.CloudError
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
queryParameters: [Parameters.apiVersion],
|
|
215
|
+
urlParameters: [
|
|
216
|
+
Parameters.$host,
|
|
217
|
+
Parameters.subscriptionId,
|
|
218
|
+
Parameters.resourceGroupName,
|
|
219
|
+
Parameters.azureTrafficCollectorName
|
|
220
|
+
],
|
|
221
|
+
headerParameters: [Parameters.accept],
|
|
222
|
+
serializer
|
|
178
223
|
};
|
|
179
224
|
const createOrUpdateOperationSpec = {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
},
|
|
195
|
-
default: {
|
|
196
|
-
bodyMapper: Mappers.CloudError
|
|
197
|
-
}
|
|
225
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
226
|
+
httpMethod: "PUT",
|
|
227
|
+
responses: {
|
|
228
|
+
200: {
|
|
229
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
230
|
+
},
|
|
231
|
+
201: {
|
|
232
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
233
|
+
},
|
|
234
|
+
202: {
|
|
235
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
236
|
+
},
|
|
237
|
+
204: {
|
|
238
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
198
239
|
},
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
240
|
+
default: {
|
|
241
|
+
bodyMapper: Mappers.CloudError
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
requestBody: {
|
|
245
|
+
parameterPath: {
|
|
246
|
+
location: ["location"],
|
|
247
|
+
tags: ["options", "tags"],
|
|
248
|
+
virtualHub: ["options", "virtualHub"]
|
|
206
249
|
},
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
250
|
+
mapper: { ...Mappers.AzureTrafficCollector, required: true }
|
|
251
|
+
},
|
|
252
|
+
queryParameters: [Parameters.apiVersion],
|
|
253
|
+
urlParameters: [
|
|
254
|
+
Parameters.$host,
|
|
255
|
+
Parameters.subscriptionId,
|
|
256
|
+
Parameters.resourceGroupName,
|
|
257
|
+
Parameters.azureTrafficCollectorName
|
|
258
|
+
],
|
|
259
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
260
|
+
mediaType: "json",
|
|
261
|
+
serializer
|
|
217
262
|
};
|
|
218
263
|
const deleteOperationSpec = {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
264
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
265
|
+
httpMethod: "DELETE",
|
|
266
|
+
responses: {
|
|
267
|
+
200: {},
|
|
268
|
+
201: {},
|
|
269
|
+
202: {},
|
|
270
|
+
204: {},
|
|
271
|
+
default: {
|
|
272
|
+
bodyMapper: Mappers.CloudError
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
queryParameters: [Parameters.apiVersion],
|
|
276
|
+
urlParameters: [
|
|
277
|
+
Parameters.$host,
|
|
278
|
+
Parameters.subscriptionId,
|
|
279
|
+
Parameters.resourceGroupName,
|
|
280
|
+
Parameters.azureTrafficCollectorName
|
|
281
|
+
],
|
|
282
|
+
headerParameters: [Parameters.accept],
|
|
283
|
+
serializer
|
|
239
284
|
};
|
|
240
285
|
const updateTagsOperationSpec = {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
},
|
|
247
|
-
default: {
|
|
248
|
-
bodyMapper: Mappers.CloudError
|
|
249
|
-
}
|
|
286
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
287
|
+
httpMethod: "PATCH",
|
|
288
|
+
responses: {
|
|
289
|
+
200: {
|
|
290
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
250
291
|
},
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
292
|
+
default: {
|
|
293
|
+
bodyMapper: Mappers.CloudError
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
requestBody: Parameters.parameters1,
|
|
297
|
+
queryParameters: [Parameters.apiVersion],
|
|
298
|
+
urlParameters: [
|
|
299
|
+
Parameters.$host,
|
|
300
|
+
Parameters.subscriptionId,
|
|
301
|
+
Parameters.resourceGroupName,
|
|
302
|
+
Parameters.azureTrafficCollectorName
|
|
303
|
+
],
|
|
304
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
305
|
+
mediaType: "json",
|
|
306
|
+
serializer
|
|
262
307
|
};
|
|
263
|
-
|
|
308
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
309
|
+
0 && (module.exports = {
|
|
310
|
+
AzureTrafficCollectorsImpl
|
|
311
|
+
});
|