@azure/arm-networkfunction 1.0.0-alpha.20220714.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +1809 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.js +44 -0
  11. package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.js.map +1 -0
  12. package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.js +43 -0
  15. package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.js.map +1 -0
  16. package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.js +37 -0
  19. package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.js.map +1 -0
  20. package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.js +31 -0
  23. package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.js.map +1 -0
  24. package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.js +31 -0
  27. package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.js.map +1 -0
  28. package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.js +32 -0
  31. package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.js.map +1 -0
  32. package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.js +32 -0
  35. package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.js.map +1 -0
  36. package/dist-esm/samples-dev/collectorPoliciesDeleteSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/collectorPoliciesDeleteSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/collectorPoliciesDeleteSample.js +32 -0
  39. package/dist-esm/samples-dev/collectorPoliciesDeleteSample.js.map +1 -0
  40. package/dist-esm/samples-dev/collectorPoliciesGetSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/collectorPoliciesGetSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/collectorPoliciesGetSample.js +32 -0
  43. package/dist-esm/samples-dev/collectorPoliciesGetSample.js.map +1 -0
  44. package/dist-esm/samples-dev/collectorPoliciesListSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/collectorPoliciesListSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/collectorPoliciesListSample.js +45 -0
  47. package/dist-esm/samples-dev/collectorPoliciesListSample.js.map +1 -0
  48. package/dist-esm/samples-dev/networkFunctionListOperationsSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/networkFunctionListOperationsSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/networkFunctionListOperationsSample.js +43 -0
  51. package/dist-esm/samples-dev/networkFunctionListOperationsSample.js.map +1 -0
  52. package/dist-esm/src/azureTrafficCollectorClient.d.ts +24 -0
  53. package/dist-esm/src/azureTrafficCollectorClient.d.ts.map +1 -0
  54. package/dist-esm/src/azureTrafficCollectorClient.js +102 -0
  55. package/dist-esm/src/azureTrafficCollectorClient.js.map +1 -0
  56. package/dist-esm/src/index.d.ts +5 -0
  57. package/dist-esm/src/index.d.ts.map +1 -0
  58. package/dist-esm/src/index.js +12 -0
  59. package/dist-esm/src/index.js.map +1 -0
  60. package/dist-esm/src/lroImpl.d.ts +16 -0
  61. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  62. package/dist-esm/src/lroImpl.js +29 -0
  63. package/dist-esm/src/lroImpl.js.map +1 -0
  64. package/dist-esm/src/models/index.d.ts +414 -0
  65. package/dist-esm/src/models/index.d.ts.map +1 -0
  66. package/dist-esm/src/models/index.js +56 -0
  67. package/dist-esm/src/models/index.js.map +1 -0
  68. package/dist-esm/src/models/mappers.d.ts +22 -0
  69. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  70. package/dist-esm/src/models/mappers.js +531 -0
  71. package/dist-esm/src/models/mappers.js.map +1 -0
  72. package/dist-esm/src/models/parameters.d.ts +18 -0
  73. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  74. package/dist-esm/src/models/parameters.js +132 -0
  75. package/dist-esm/src/models/parameters.js.map +1 -0
  76. package/dist-esm/src/operations/azureTrafficCollectors.d.ts +57 -0
  77. package/dist-esm/src/operations/azureTrafficCollectors.d.ts.map +1 -0
  78. package/dist-esm/src/operations/azureTrafficCollectors.js +255 -0
  79. package/dist-esm/src/operations/azureTrafficCollectors.js.map +1 -0
  80. package/dist-esm/src/operations/azureTrafficCollectorsByResourceGroup.d.ts +35 -0
  81. package/dist-esm/src/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
  82. package/dist-esm/src/operations/azureTrafficCollectorsByResourceGroup.js +132 -0
  83. package/dist-esm/src/operations/azureTrafficCollectorsByResourceGroup.js.map +1 -0
  84. package/dist-esm/src/operations/azureTrafficCollectorsBySubscription.d.ts +32 -0
  85. package/dist-esm/src/operations/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
  86. package/dist-esm/src/operations/azureTrafficCollectorsBySubscription.js +124 -0
  87. package/dist-esm/src/operations/azureTrafficCollectorsBySubscription.js.map +1 -0
  88. package/dist-esm/src/operations/collectorPolicies.d.ts +79 -0
  89. package/dist-esm/src/operations/collectorPolicies.d.ts.map +1 -0
  90. package/dist-esm/src/operations/collectorPolicies.js +356 -0
  91. package/dist-esm/src/operations/collectorPolicies.js.map +1 -0
  92. package/dist-esm/src/operations/index.d.ts +6 -0
  93. package/dist-esm/src/operations/index.d.ts.map +1 -0
  94. package/dist-esm/src/operations/index.js +13 -0
  95. package/dist-esm/src/operations/index.js.map +1 -0
  96. package/dist-esm/src/operations/networkFunction.d.ts +26 -0
  97. package/dist-esm/src/operations/networkFunction.d.ts.map +1 -0
  98. package/dist-esm/src/operations/networkFunction.js +90 -0
  99. package/dist-esm/src/operations/networkFunction.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/azureTrafficCollectors.d.ts +49 -0
  101. package/dist-esm/src/operationsInterfaces/azureTrafficCollectors.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/azureTrafficCollectors.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/azureTrafficCollectors.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +12 -0
  105. package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +11 -0
  109. package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsBySubscription.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/collectorPolicies.d.ts +54 -0
  113. package/dist-esm/src/operationsInterfaces/collectorPolicies.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/collectorPolicies.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/collectorPolicies.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  117. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  119. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/networkFunction.d.ts +11 -0
  121. package/dist-esm/src/operationsInterfaces/networkFunction.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/networkFunction.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/networkFunction.js.map +1 -0
  124. package/dist-esm/test/sampleTest.d.ts +2 -0
  125. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  126. package/dist-esm/test/sampleTest.js +38 -0
  127. package/dist-esm/test/sampleTest.js.map +1 -0
  128. package/package.json +121 -0
  129. package/review/arm-networkfunction.api.md +375 -0
  130. package/rollup.config.js +122 -0
  131. package/src/azureTrafficCollectorClient.ts +158 -0
  132. package/src/index.ts +12 -0
  133. package/src/lroImpl.ts +34 -0
  134. package/src/models/index.ts +477 -0
  135. package/src/models/mappers.ts +569 -0
  136. package/src/models/parameters.ts +157 -0
  137. package/src/operations/azureTrafficCollectors.ts +358 -0
  138. package/src/operations/azureTrafficCollectorsByResourceGroup.ts +163 -0
  139. package/src/operations/azureTrafficCollectorsBySubscription.ts +143 -0
  140. package/src/operations/collectorPolicies.ts +498 -0
  141. package/src/operations/index.ts +13 -0
  142. package/src/operations/networkFunction.ts +101 -0
  143. package/src/operationsInterfaces/azureTrafficCollectors.ts +96 -0
  144. package/src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.ts +27 -0
  145. package/src/operationsInterfaces/azureTrafficCollectorsBySubscription.ts +25 -0
  146. package/src/operationsInterfaces/collectorPolicies.ts +105 -0
  147. package/src/operationsInterfaces/index.ts +13 -0
  148. package/src/operationsInterfaces/networkFunction.ts +25 -0
  149. package/tsconfig.json +33 -0
  150. package/types/arm-networkfunction.d.ts +624 -0
  151. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,624 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } from '@azure/core-lro';
6
+
7
+ /** Azure Traffic Collector resource. */
8
+ export declare interface AzureTrafficCollector extends TrackedResource {
9
+ /**
10
+ * A unique read-only string that changes whenever the resource is updated.
11
+ * NOTE: This property will not be serialized. It can only be populated by the server.
12
+ */
13
+ readonly etag?: string;
14
+ /** Collector Policies for Azure Traffic Collector. */
15
+ collectorPolicies?: CollectorPolicy[];
16
+ /** The virtualHub to which the Azure Traffic Collector belongs. */
17
+ virtualHub?: ResourceReference;
18
+ /**
19
+ * The provisioning state of the application rule collection resource.
20
+ * NOTE: This property will not be serialized. It can only be populated by the server.
21
+ */
22
+ readonly provisioningState?: ProvisioningState;
23
+ }
24
+
25
+ export declare class AzureTrafficCollectorClient extends coreClient.ServiceClient {
26
+ $host: string;
27
+ apiVersion: string;
28
+ subscriptionId: string;
29
+ /**
30
+ * Initializes a new instance of the AzureTrafficCollectorClient class.
31
+ * @param credentials Subscription credentials which uniquely identify client subscription.
32
+ * @param subscriptionId Azure Subscription ID.
33
+ * @param options The parameter options
34
+ */
35
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureTrafficCollectorClientOptionalParams);
36
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
37
+ private addCustomApiVersionPolicy;
38
+ networkFunction: NetworkFunction;
39
+ azureTrafficCollectorsBySubscription: AzureTrafficCollectorsBySubscription;
40
+ azureTrafficCollectorsByResourceGroup: AzureTrafficCollectorsByResourceGroup;
41
+ azureTrafficCollectors: AzureTrafficCollectors;
42
+ collectorPolicies: CollectorPolicies;
43
+ }
44
+
45
+ /** Optional parameters. */
46
+ export declare interface AzureTrafficCollectorClientOptionalParams extends coreClient.ServiceClientOptions {
47
+ /** server parameter */
48
+ $host?: string;
49
+ /** Api Version */
50
+ apiVersion?: string;
51
+ /** Overrides client endpoint. */
52
+ endpoint?: string;
53
+ }
54
+
55
+ /** Response for the ListTrafficCollectors API service call. */
56
+ export declare interface AzureTrafficCollectorListResult {
57
+ /** A list of Traffic Collector resources. */
58
+ value?: AzureTrafficCollector[];
59
+ /**
60
+ * The URL to get the next set of results.
61
+ * NOTE: This property will not be serialized. It can only be populated by the server.
62
+ */
63
+ readonly nextLink?: string;
64
+ }
65
+
66
+ /** Interface representing a AzureTrafficCollectors. */
67
+ export declare interface AzureTrafficCollectors {
68
+ /**
69
+ * Gets the specified Azure Traffic Collector in a specified resource group
70
+ * @param resourceGroupName The name of the resource group.
71
+ * @param azureTrafficCollectorName Azure Traffic Collector name
72
+ * @param options The options parameters.
73
+ */
74
+ get(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsGetOptionalParams): Promise<AzureTrafficCollectorsGetResponse>;
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 options The options parameters.
80
+ */
81
+ beginCreateOrUpdate(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureTrafficCollectorsCreateOrUpdateResponse>, AzureTrafficCollectorsCreateOrUpdateResponse>>;
82
+ /**
83
+ * Creates or updates a Azure Traffic Collector resource
84
+ * @param resourceGroupName The name of the resource group.
85
+ * @param azureTrafficCollectorName Azure Traffic Collector name
86
+ * @param options The options parameters.
87
+ */
88
+ beginCreateOrUpdateAndWait(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams): Promise<AzureTrafficCollectorsCreateOrUpdateResponse>;
89
+ /**
90
+ * Deletes a specified Azure Traffic Collector resource.
91
+ * @param resourceGroupName The name of the resource group.
92
+ * @param azureTrafficCollectorName Azure Traffic Collector name
93
+ * @param options The options parameters.
94
+ */
95
+ beginDelete(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
96
+ /**
97
+ * Deletes a specified Azure Traffic Collector resource.
98
+ * @param resourceGroupName The name of the resource group.
99
+ * @param azureTrafficCollectorName Azure Traffic Collector name
100
+ * @param options The options parameters.
101
+ */
102
+ beginDeleteAndWait(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsDeleteOptionalParams): Promise<void>;
103
+ /**
104
+ * Updates the specified Azure Traffic Collector tags.
105
+ * @param resourceGroupName The name of the resource group.
106
+ * @param azureTrafficCollectorName Azure Traffic Collector name
107
+ * @param parameters Parameters supplied to update Azure Traffic Collector tags.
108
+ * @param options The options parameters.
109
+ */
110
+ updateTags(resourceGroupName: string, azureTrafficCollectorName: string, parameters: TagsObject, options?: AzureTrafficCollectorsUpdateTagsOptionalParams): Promise<AzureTrafficCollectorsUpdateTagsResponse>;
111
+ }
112
+
113
+ /** Interface representing a AzureTrafficCollectorsByResourceGroup. */
114
+ export declare interface AzureTrafficCollectorsByResourceGroup {
115
+ /**
116
+ * Return list of Azure Traffic Collectors in a Resource Group
117
+ * @param resourceGroupName The name of the resource group.
118
+ * @param options The options parameters.
119
+ */
120
+ list(resourceGroupName: string, options?: AzureTrafficCollectorsByResourceGroupListOptionalParams): PagedAsyncIterableIterator<AzureTrafficCollector>;
121
+ }
122
+
123
+ /** Optional parameters. */
124
+ export declare interface AzureTrafficCollectorsByResourceGroupListNextOptionalParams extends coreClient.OperationOptions {
125
+ }
126
+
127
+ /** Contains response data for the listNext operation. */
128
+ export declare type AzureTrafficCollectorsByResourceGroupListNextResponse = AzureTrafficCollectorListResult;
129
+
130
+ /** Optional parameters. */
131
+ export declare interface AzureTrafficCollectorsByResourceGroupListOptionalParams extends coreClient.OperationOptions {
132
+ }
133
+
134
+ /** Contains response data for the list operation. */
135
+ export declare type AzureTrafficCollectorsByResourceGroupListResponse = AzureTrafficCollectorListResult;
136
+
137
+ /** Interface representing a AzureTrafficCollectorsBySubscription. */
138
+ export declare interface AzureTrafficCollectorsBySubscription {
139
+ /**
140
+ * Return list of Azure Traffic Collectors in a subscription
141
+ * @param options The options parameters.
142
+ */
143
+ list(options?: AzureTrafficCollectorsBySubscriptionListOptionalParams): PagedAsyncIterableIterator<AzureTrafficCollector>;
144
+ }
145
+
146
+ /** Optional parameters. */
147
+ export declare interface AzureTrafficCollectorsBySubscriptionListNextOptionalParams extends coreClient.OperationOptions {
148
+ }
149
+
150
+ /** Contains response data for the listNext operation. */
151
+ export declare type AzureTrafficCollectorsBySubscriptionListNextResponse = AzureTrafficCollectorListResult;
152
+
153
+ /** Optional parameters. */
154
+ export declare interface AzureTrafficCollectorsBySubscriptionListOptionalParams extends coreClient.OperationOptions {
155
+ }
156
+
157
+ /** Contains response data for the list operation. */
158
+ export declare type AzureTrafficCollectorsBySubscriptionListResponse = AzureTrafficCollectorListResult;
159
+
160
+ /** Optional parameters. */
161
+ export declare interface AzureTrafficCollectorsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
162
+ /** Resource location. */
163
+ location?: string;
164
+ /** Resource tags. */
165
+ tags?: {
166
+ [propertyName: string]: string;
167
+ };
168
+ /** Collector Policies for Azure Traffic Collector. */
169
+ collectorPolicies?: CollectorPolicy[];
170
+ /** The virtualHub to which the Azure Traffic Collector belongs. */
171
+ virtualHub?: ResourceReference;
172
+ /** Delay to wait until next poll, in milliseconds. */
173
+ updateIntervalInMs?: number;
174
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
175
+ resumeFrom?: string;
176
+ }
177
+
178
+ /** Contains response data for the createOrUpdate operation. */
179
+ export declare type AzureTrafficCollectorsCreateOrUpdateResponse = AzureTrafficCollector;
180
+
181
+ /** Optional parameters. */
182
+ export declare interface AzureTrafficCollectorsDeleteOptionalParams extends coreClient.OperationOptions {
183
+ /** Delay to wait until next poll, in milliseconds. */
184
+ updateIntervalInMs?: number;
185
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
186
+ resumeFrom?: string;
187
+ }
188
+
189
+ /** Optional parameters. */
190
+ export declare interface AzureTrafficCollectorsGetOptionalParams extends coreClient.OperationOptions {
191
+ }
192
+
193
+ /** Contains response data for the get operation. */
194
+ export declare type AzureTrafficCollectorsGetResponse = AzureTrafficCollector;
195
+
196
+ /** Optional parameters. */
197
+ export declare interface AzureTrafficCollectorsUpdateTagsOptionalParams extends coreClient.OperationOptions {
198
+ }
199
+
200
+ /** Contains response data for the updateTags operation. */
201
+ export declare type AzureTrafficCollectorsUpdateTagsResponse = AzureTrafficCollector;
202
+
203
+ /** An error response from the service. */
204
+ export declare interface CloudError {
205
+ /** An error response from the service. */
206
+ error?: CloudErrorBody;
207
+ }
208
+
209
+ /** An error response from the service. */
210
+ export declare interface CloudErrorBody {
211
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
212
+ code?: string;
213
+ /** A message describing the error, intended to be suitable for display in a user interface. */
214
+ message?: string;
215
+ /** The target of the particular error. For example, the name of the property in error. */
216
+ target?: string;
217
+ /** A list of additional details about the error. */
218
+ details?: CloudErrorBody[];
219
+ }
220
+
221
+ /** Interface representing a CollectorPolicies. */
222
+ export declare interface CollectorPolicies {
223
+ /**
224
+ * Return list of Collector policies in a Azure Traffic Collector
225
+ * @param resourceGroupName The name of the resource group.
226
+ * @param azureTrafficCollectorName Azure Traffic Collector name
227
+ * @param options The options parameters.
228
+ */
229
+ list(resourceGroupName: string, azureTrafficCollectorName: string, options?: CollectorPoliciesListOptionalParams): PagedAsyncIterableIterator<CollectorPolicy>;
230
+ /**
231
+ * Gets the collector policy in a specified Traffic Collector
232
+ * @param resourceGroupName The name of the resource group.
233
+ * @param azureTrafficCollectorName Azure Traffic Collector name
234
+ * @param collectorPolicyName Collector Policy Name
235
+ * @param options The options parameters.
236
+ */
237
+ get(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesGetOptionalParams): Promise<CollectorPoliciesGetResponse>;
238
+ /**
239
+ * Creates or updates a Collector Policy resource
240
+ * @param resourceGroupName The name of the resource group.
241
+ * @param azureTrafficCollectorName Azure Traffic Collector name
242
+ * @param collectorPolicyName Collector Policy Name
243
+ * @param options The options parameters.
244
+ */
245
+ beginCreateOrUpdate(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<CollectorPoliciesCreateOrUpdateResponse>, CollectorPoliciesCreateOrUpdateResponse>>;
246
+ /**
247
+ * Creates or updates a Collector Policy resource
248
+ * @param resourceGroupName The name of the resource group.
249
+ * @param azureTrafficCollectorName Azure Traffic Collector name
250
+ * @param collectorPolicyName Collector Policy Name
251
+ * @param options The options parameters.
252
+ */
253
+ beginCreateOrUpdateAndWait(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesCreateOrUpdateOptionalParams): Promise<CollectorPoliciesCreateOrUpdateResponse>;
254
+ /**
255
+ * Deletes a specified Collector Policy resource.
256
+ * @param resourceGroupName The name of the resource group.
257
+ * @param azureTrafficCollectorName Azure Traffic Collector name
258
+ * @param collectorPolicyName Collector Policy Name
259
+ * @param options The options parameters.
260
+ */
261
+ beginDelete(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
262
+ /**
263
+ * Deletes a specified Collector Policy resource.
264
+ * @param resourceGroupName The name of the resource group.
265
+ * @param azureTrafficCollectorName Azure Traffic Collector name
266
+ * @param collectorPolicyName Collector Policy Name
267
+ * @param options The options parameters.
268
+ */
269
+ beginDeleteAndWait(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams): Promise<void>;
270
+ }
271
+
272
+ /** Optional parameters. */
273
+ export declare interface CollectorPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
274
+ /** Ingestion policies. */
275
+ ingestionPolicy?: IngestionPolicyPropertiesFormat;
276
+ /** Emission policies. */
277
+ emissionPolicies?: EmissionPoliciesPropertiesFormat[];
278
+ /** Delay to wait until next poll, in milliseconds. */
279
+ updateIntervalInMs?: number;
280
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
281
+ resumeFrom?: string;
282
+ }
283
+
284
+ /** Contains response data for the createOrUpdate operation. */
285
+ export declare type CollectorPoliciesCreateOrUpdateResponse = CollectorPolicy;
286
+
287
+ /** Optional parameters. */
288
+ export declare interface CollectorPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
289
+ /** Delay to wait until next poll, in milliseconds. */
290
+ updateIntervalInMs?: number;
291
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
292
+ resumeFrom?: string;
293
+ }
294
+
295
+ /** Optional parameters. */
296
+ export declare interface CollectorPoliciesGetOptionalParams extends coreClient.OperationOptions {
297
+ }
298
+
299
+ /** Contains response data for the get operation. */
300
+ export declare type CollectorPoliciesGetResponse = CollectorPolicy;
301
+
302
+ /** Optional parameters. */
303
+ export declare interface CollectorPoliciesListNextOptionalParams extends coreClient.OperationOptions {
304
+ }
305
+
306
+ /** Contains response data for the listNext operation. */
307
+ export declare type CollectorPoliciesListNextResponse = CollectorPolicyListResult;
308
+
309
+ /** Optional parameters. */
310
+ export declare interface CollectorPoliciesListOptionalParams extends coreClient.OperationOptions {
311
+ }
312
+
313
+ /** Contains response data for the list operation. */
314
+ export declare type CollectorPoliciesListResponse = CollectorPolicyListResult;
315
+
316
+ /** Collector policy resource. */
317
+ export declare interface CollectorPolicy extends ProxyResource {
318
+ /**
319
+ * A unique read-only string that changes whenever the resource is updated.
320
+ * NOTE: This property will not be serialized. It can only be populated by the server.
321
+ */
322
+ readonly etag?: string;
323
+ /**
324
+ * Metadata pertaining to creation and last modification of the resource.
325
+ * NOTE: This property will not be serialized. It can only be populated by the server.
326
+ */
327
+ readonly systemData?: CollectorPolicySystemData;
328
+ /** Ingestion policies. */
329
+ ingestionPolicy?: IngestionPolicyPropertiesFormat;
330
+ /** Emission policies. */
331
+ emissionPolicies?: EmissionPoliciesPropertiesFormat[];
332
+ /**
333
+ * The provisioning state.
334
+ * NOTE: This property will not be serialized. It can only be populated by the server.
335
+ */
336
+ readonly provisioningState?: ProvisioningState;
337
+ }
338
+
339
+ /** Response for the ListCollectorPolicies API service call. */
340
+ export declare interface CollectorPolicyListResult {
341
+ /** A list of collection policies. */
342
+ value?: CollectorPolicy[];
343
+ /**
344
+ * The URL to get the next set of results.
345
+ * NOTE: This property will not be serialized. It can only be populated by the server.
346
+ */
347
+ readonly nextLink?: string;
348
+ }
349
+
350
+ /** Metadata pertaining to creation and last modification of the resource. */
351
+ export declare interface CollectorPolicySystemData extends SystemData {
352
+ }
353
+
354
+ /**
355
+ * Defines values for CreatedByType. \
356
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
357
+ * this enum contains the known values that the service supports.
358
+ * ### Known values supported by the service
359
+ * **User** \
360
+ * **Application** \
361
+ * **ManagedIdentity** \
362
+ * **Key**
363
+ */
364
+ export declare type CreatedByType = string;
365
+
366
+ /**
367
+ * Defines values for DestinationType. \
368
+ * {@link KnownDestinationType} can be used interchangeably with DestinationType,
369
+ * this enum contains the known values that the service supports.
370
+ * ### Known values supported by the service
371
+ * **AzureMonitor**
372
+ */
373
+ export declare type DestinationType = string;
374
+
375
+ /** Emission policy properties. */
376
+ export declare interface EmissionPoliciesPropertiesFormat {
377
+ /** Emission format type. */
378
+ emissionType?: EmissionType;
379
+ /** Emission policy destinations. */
380
+ emissionDestinations?: EmissionPolicyDestination[];
381
+ }
382
+
383
+ /** Emission policy destination properties. */
384
+ export declare interface EmissionPolicyDestination {
385
+ /** Emission destination type. */
386
+ destinationType?: DestinationType;
387
+ }
388
+
389
+ /**
390
+ * Defines values for EmissionType. \
391
+ * {@link KnownEmissionType} can be used interchangeably with EmissionType,
392
+ * this enum contains the known values that the service supports.
393
+ * ### Known values supported by the service
394
+ * **IPFIX**
395
+ */
396
+ export declare type EmissionType = string;
397
+
398
+ /** Ingestion Policy properties. */
399
+ export declare interface IngestionPolicyPropertiesFormat {
400
+ /** The ingestion type. */
401
+ ingestionType?: IngestionType;
402
+ /** Ingestion Sources. */
403
+ ingestionSources?: IngestionSourcesPropertiesFormat[];
404
+ }
405
+
406
+ /** Ingestion policy properties. */
407
+ export declare interface IngestionSourcesPropertiesFormat {
408
+ /** Ingestion source type. */
409
+ sourceType?: SourceType;
410
+ /** Resource ID. */
411
+ resourceId?: string;
412
+ }
413
+
414
+ /**
415
+ * Defines values for IngestionType. \
416
+ * {@link KnownIngestionType} can be used interchangeably with IngestionType,
417
+ * this enum contains the known values that the service supports.
418
+ * ### Known values supported by the service
419
+ * **IPFIX**
420
+ */
421
+ export declare type IngestionType = string;
422
+
423
+ /** Known values of {@link CreatedByType} that the service accepts. */
424
+ export declare enum KnownCreatedByType {
425
+ /** User */
426
+ User = "User",
427
+ /** Application */
428
+ Application = "Application",
429
+ /** ManagedIdentity */
430
+ ManagedIdentity = "ManagedIdentity",
431
+ /** Key */
432
+ Key = "Key"
433
+ }
434
+
435
+ /** Known values of {@link DestinationType} that the service accepts. */
436
+ export declare enum KnownDestinationType {
437
+ /** AzureMonitor */
438
+ AzureMonitor = "AzureMonitor"
439
+ }
440
+
441
+ /** Known values of {@link EmissionType} that the service accepts. */
442
+ export declare enum KnownEmissionType {
443
+ /** Ipfix */
444
+ Ipfix = "IPFIX"
445
+ }
446
+
447
+ /** Known values of {@link IngestionType} that the service accepts. */
448
+ export declare enum KnownIngestionType {
449
+ /** Ipfix */
450
+ Ipfix = "IPFIX"
451
+ }
452
+
453
+ /** Known values of {@link ProvisioningState} that the service accepts. */
454
+ export declare enum KnownProvisioningState {
455
+ /** Succeeded */
456
+ Succeeded = "Succeeded",
457
+ /** Updating */
458
+ Updating = "Updating",
459
+ /** Deleting */
460
+ Deleting = "Deleting",
461
+ /** Failed */
462
+ Failed = "Failed"
463
+ }
464
+
465
+ /** Known values of {@link SourceType} that the service accepts. */
466
+ export declare enum KnownSourceType {
467
+ /** Resource */
468
+ Resource = "Resource"
469
+ }
470
+
471
+ /** Interface representing a NetworkFunction. */
472
+ export declare interface NetworkFunction {
473
+ /**
474
+ * Lists all of the available NetworkFunction Rest API operations.
475
+ * @param options The options parameters.
476
+ */
477
+ listOperations(options?: NetworkFunctionListOperationsOptionalParams): PagedAsyncIterableIterator<Operation>;
478
+ }
479
+
480
+ /** Optional parameters. */
481
+ export declare interface NetworkFunctionListOperationsOptionalParams extends coreClient.OperationOptions {
482
+ }
483
+
484
+ /** Contains response data for the listOperations operation. */
485
+ export declare type NetworkFunctionListOperationsResponse = OperationListResult;
486
+
487
+ /** Azure Traffic Collector REST API operation definition. */
488
+ export declare interface Operation {
489
+ /** Operation name: {provider}/{resource}/{operation} */
490
+ name?: string;
491
+ /** Indicates whether the operation is a data action */
492
+ isDataAction?: boolean;
493
+ /** Display metadata associated with the operation. */
494
+ display?: OperationDisplay;
495
+ /** Origin of the operation */
496
+ origin?: string;
497
+ }
498
+
499
+ /** Display metadata associated with the operation. */
500
+ export declare interface OperationDisplay {
501
+ /** Service provider: Microsoft NetworkFunction. */
502
+ provider?: string;
503
+ /** Resource on which the operation is performed etc. */
504
+ resource?: string;
505
+ /** Type of operation: get, read, delete, etc. */
506
+ operation?: string;
507
+ /** Description of the operation. */
508
+ description?: string;
509
+ }
510
+
511
+ /** Result of the request to list Azure Traffic Collector operations. It contains a list of operations and a URL link to get the next set of results. */
512
+ export declare interface OperationListResult {
513
+ /** List of operations supported by the Azure Traffic Collector resource provider. */
514
+ value?: Operation[];
515
+ /** URL to get the next set of operation list results if there are any. */
516
+ nextLink?: string;
517
+ }
518
+
519
+ /**
520
+ * Defines values for ProvisioningState. \
521
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
522
+ * this enum contains the known values that the service supports.
523
+ * ### Known values supported by the service
524
+ * **Succeeded** \
525
+ * **Updating** \
526
+ * **Deleting** \
527
+ * **Failed**
528
+ */
529
+ export declare type ProvisioningState = string;
530
+
531
+ /** An azure resource object */
532
+ export declare interface ProxyResource {
533
+ /**
534
+ * Azure resource Id
535
+ * NOTE: This property will not be serialized. It can only be populated by the server.
536
+ */
537
+ readonly id?: string;
538
+ /**
539
+ * Azure resource type
540
+ * NOTE: This property will not be serialized. It can only be populated by the server.
541
+ */
542
+ readonly type?: string;
543
+ /**
544
+ * Azure resource name
545
+ * NOTE: This property will not be serialized. It can only be populated by the server.
546
+ */
547
+ readonly name?: string;
548
+ }
549
+
550
+ /** Resource reference properties. */
551
+ export declare interface ResourceReference {
552
+ /**
553
+ * Resource ID.
554
+ * NOTE: This property will not be serialized. It can only be populated by the server.
555
+ */
556
+ readonly id?: string;
557
+ }
558
+
559
+ /**
560
+ * Defines values for SourceType. \
561
+ * {@link KnownSourceType} can be used interchangeably with SourceType,
562
+ * this enum contains the known values that the service supports.
563
+ * ### Known values supported by the service
564
+ * **Resource**
565
+ */
566
+ export declare type SourceType = string;
567
+
568
+ /** Metadata pertaining to creation and last modification of the resource. */
569
+ export declare interface SystemData {
570
+ /** The identity that created the resource. */
571
+ createdBy?: string;
572
+ /** The type of identity that created the resource. */
573
+ createdByType?: CreatedByType;
574
+ /** The timestamp of resource creation (UTC). */
575
+ createdAt?: Date;
576
+ /** The identity that last modified the resource. */
577
+ lastModifiedBy?: string;
578
+ /** The type of identity that last modified the resource. */
579
+ lastModifiedByType?: CreatedByType;
580
+ }
581
+
582
+ /** Tags object for patch operations. */
583
+ export declare interface TagsObject {
584
+ /** Resource tags. */
585
+ tags?: {
586
+ [propertyName: string]: string;
587
+ };
588
+ }
589
+
590
+ /** Common resource representation. */
591
+ export declare interface TrackedResource {
592
+ /**
593
+ * Resource ID.
594
+ * NOTE: This property will not be serialized. It can only be populated by the server.
595
+ */
596
+ readonly id?: string;
597
+ /**
598
+ * Resource name.
599
+ * NOTE: This property will not be serialized. It can only be populated by the server.
600
+ */
601
+ readonly name?: string;
602
+ /**
603
+ * Resource type.
604
+ * NOTE: This property will not be serialized. It can only be populated by the server.
605
+ */
606
+ readonly type?: string;
607
+ /** Resource location. */
608
+ location?: string;
609
+ /** Resource tags. */
610
+ tags?: {
611
+ [propertyName: string]: string;
612
+ };
613
+ /**
614
+ * Metadata pertaining to creation and last modification of the resource.
615
+ * NOTE: This property will not be serialized. It can only be populated by the server.
616
+ */
617
+ readonly systemData?: TrackedResourceSystemData;
618
+ }
619
+
620
+ /** Metadata pertaining to creation and last modification of the resource. */
621
+ export declare interface TrackedResourceSystemData extends SystemData {
622
+ }
623
+
624
+ export { }
@@ -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.11"
9
+ }
10
+ ]
11
+ }