|
895 | 895 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog": { |
896 | 896 | "post": { |
897 | 897 | "tags": [ |
898 | | - "NetworkWatchers" |
| 898 | + "NetworkWatchers", |
| 899 | + "TrafficAnalytics" |
899 | 900 | ], |
900 | 901 | "operationId": "NetworkWatchers_SetFlowLogConfiguration", |
901 | 902 | "x-ms-long-running-operation": true, |
902 | | - "description": "Configures flow log on a specified resource.", |
| 903 | + "description": "Configures flow log and traffic analytics (optional) on a specified resource.", |
903 | 904 | "parameters": [ |
904 | 905 | { |
905 | 906 | "name": "resourceGroupName", |
|
933 | 934 | ], |
934 | 935 | "responses": { |
935 | 936 | "200": { |
936 | | - "description": "Successful request for setting flow log configuration.", |
| 937 | + "description": "Successful request for setting flow log and traffic analytics (optional) configuration.", |
937 | 938 | "schema": { |
938 | 939 | "$ref": "#/definitions/FlowLogInformation" |
939 | 940 | } |
|
950 | 951 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus": { |
951 | 952 | "post": { |
952 | 953 | "tags": [ |
953 | | - "NetworkWatchers" |
| 954 | + "NetworkWatchers", |
| 955 | + "TrafficAnalytics" |
954 | 956 | ], |
955 | 957 | "operationId": "NetworkWatchers_GetFlowLogStatus", |
956 | 958 | "x-ms-long-running-operation": true, |
957 | | - "description": "Queries status of flow log on a specified resource.", |
| 959 | + "description": "Queries status of flow log and traffic analytics (optional) on a specified resource.", |
958 | 960 | "parameters": [ |
959 | 961 | { |
960 | 962 | "name": "resourceGroupName", |
|
977 | 979 | "schema": { |
978 | 980 | "$ref": "#/definitions/FlowLogStatusParameters" |
979 | 981 | }, |
980 | | - "description": "Parameters that define a resource to query flow log status." |
| 982 | + "description": "Parameters that define a resource to query flow log and traffic analytics (optional) status." |
981 | 983 | }, |
982 | 984 | { |
983 | 985 | "$ref": "#/parameters/ApiVersionParameter" |
|
988 | 990 | ], |
989 | 991 | "responses": { |
990 | 992 | "200": { |
991 | | - "description": "Successful request for query flow log status.", |
| 993 | + "description": "Successful request for query flow log and traffic analytics (optional) status.", |
992 | 994 | "schema": { |
993 | 995 | "$ref": "#/definitions/FlowLogInformation" |
994 | 996 | } |
|
2252 | 2254 | } |
2253 | 2255 | }, |
2254 | 2256 | "FlowLogStatusParameters": { |
2255 | | - "description": "Parameters that define a resource to query flow log status.", |
| 2257 | + "description": "Parameters that define a resource to query flow log and traffic analytics (optional) status.", |
2256 | 2258 | "required": [ |
2257 | 2259 | "targetResourceId" |
2258 | 2260 | ], |
2259 | 2261 | "properties": { |
2260 | 2262 | "targetResourceId": { |
2261 | | - "description": "The target resource where getting the flow logging status.", |
| 2263 | + "description": "The target resource where getting the flow log and and traffic analytics (optional) status.", |
2262 | 2264 | "type": "string" |
2263 | 2265 | } |
2264 | 2266 | } |
|
2279 | 2281 | } |
2280 | 2282 | }, |
2281 | 2283 | "FlowLogInformation": { |
2282 | | - "description": "Information on the configuration of flow log.", |
| 2284 | + "description": "Information on the configuration of flow log and traffic analytics (optional) .", |
2283 | 2285 | "required": [ |
2284 | 2286 | "targetResourceId", |
2285 | 2287 | "properties" |
|
2292 | 2294 | "properties": { |
2293 | 2295 | "x-ms-client-flatten": true, |
2294 | 2296 | "$ref": "#/definitions/FlowLogProperties" |
| 2297 | + }, |
| 2298 | + "flowAnalyticsConfiguration": { |
| 2299 | + "$ref": "#/definitions/TrafficAnalyticsProperties" |
| 2300 | + } |
| 2301 | + } |
| 2302 | + }, |
| 2303 | + "TrafficAnalyticsProperties": { |
| 2304 | + "description": "Parameters that define the configuration of traffic analytics.", |
| 2305 | + "required": [ |
| 2306 | + "networkWatcherFlowAnalyticsConfiguration" |
| 2307 | + ], |
| 2308 | + "properties": { |
| 2309 | + "networkWatcherFlowAnalyticsConfiguration": { |
| 2310 | + "$ref": "#/definitions/TrafficAnalyticsConfigurationProperties" |
| 2311 | + } |
| 2312 | + } |
| 2313 | + }, |
| 2314 | + "TrafficAnalyticsConfigurationProperties": { |
| 2315 | + "description": "Parameters that define the configuration of traffic analytics.", |
| 2316 | + "required": [ |
| 2317 | + "enabled", |
| 2318 | + "workspaceId", |
| 2319 | + "workspaceRegion", |
| 2320 | + "workspaceResourceId" |
| 2321 | + ], |
| 2322 | + "properties": { |
| 2323 | + "enabled": { |
| 2324 | + "description": "Flag to enable/disable traffic analytics.", |
| 2325 | + "type": "boolean" |
| 2326 | + }, |
| 2327 | + "workspaceId": { |
| 2328 | + "description": "The resource guid of the attached workspace", |
| 2329 | + "type": "string" |
| 2330 | + }, |
| 2331 | + "workspaceRegion": { |
| 2332 | + "description": "The location of the attached workspace", |
| 2333 | + "type": "string" |
| 2334 | + }, |
| 2335 | + "workspaceResourceId": { |
| 2336 | + "description": "Resource Id of the attached workspace ", |
| 2337 | + "type": "string" |
2295 | 2338 | } |
2296 | 2339 | } |
2297 | 2340 | }, |
|
0 commit comments