Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Generated from 66d8777357e2a0b786b9080fec049e7f172f7ac6
Browse files Browse the repository at this point in the history
[Network wathcer] add a new field trafficAnalyticsInterval for TA (#4420)
  • Loading branch information
AutorestCI committed Nov 7, 2018
1 parent a998112 commit f89a631
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ class FlowLogInformation {
* @member {string}
* [flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId]
* Resource Id of the attached workspace
* @member {number}
* [flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service
* should do flow analytics
*/
constructor() {
}
Expand Down
11 changes: 11 additions & 0 deletions lib/services/networkManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7363,12 +7363,15 @@ export interface FlowLogStatusParameters {
* @member {string} workspaceId The resource guid of the attached workspace
* @member {string} workspaceRegion The location of the attached workspace
* @member {string} workspaceResourceId Resource Id of the attached workspace
* @member {number} [trafficAnalyticsInterval] The interval in minutes which
* would decide how frequently TA service should do flow analytics
*/
export interface TrafficAnalyticsConfigurationProperties {
enabled: boolean;
workspaceId: string;
workspaceRegion: string;
workspaceResourceId: string;
trafficAnalyticsInterval?: number;
}

/**
Expand All @@ -7387,6 +7390,10 @@ export interface TrafficAnalyticsConfigurationProperties {
* @member {string}
* [networkWatcherFlowAnalyticsConfiguration.workspaceResourceId] Resource Id
* of the attached workspace
* @member {number}
* [networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval] The
* interval in minutes which would decide how frequently TA service should do
* flow analytics
*/
export interface TrafficAnalyticsProperties {
networkWatcherFlowAnalyticsConfiguration: TrafficAnalyticsConfigurationProperties;
Expand Down Expand Up @@ -7428,6 +7435,10 @@ export interface TrafficAnalyticsProperties {
* @member {string}
* [flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId]
* Resource Id of the attached workspace
* @member {number}
* [flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service should
* do flow analytics
*/
export interface FlowLogInformation {
targetResourceId: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class TrafficAnalyticsConfigurationProperties {
* @member {string} workspaceId The resource guid of the attached workspace
* @member {string} workspaceRegion The location of the attached workspace
* @member {string} workspaceResourceId Resource Id of the attached workspace
* @member {number} [trafficAnalyticsInterval] The interval in minutes which
* would decide how frequently TA service should do flow analytics
*/
constructor() {
}
Expand Down Expand Up @@ -66,6 +68,13 @@ class TrafficAnalyticsConfigurationProperties {
type: {
name: 'String'
}
},
trafficAnalyticsInterval: {
required: false,
serializedName: 'trafficAnalyticsInterval',
type: {
name: 'Number'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ class TrafficAnalyticsProperties {
* @member {string}
* [networkWatcherFlowAnalyticsConfiguration.workspaceResourceId] Resource Id
* of the attached workspace
* @member {number}
* [networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval] The
* interval in minutes which would decide how frequently TA service should do
* flow analytics
*/
constructor() {
}
Expand Down
20 changes: 20 additions & 0 deletions lib/services/networkManagement2/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22725,6 +22725,11 @@ export interface NetworkWatchers {
* parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId
* Resource Id of the attached workspace
*
* @param {number}
* [parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service should
* do flow analytics
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
Expand Down Expand Up @@ -22795,6 +22800,11 @@ export interface NetworkWatchers {
* parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId
* Resource Id of the attached workspace
*
* @param {number}
* [parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service should
* do flow analytics
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
Expand Down Expand Up @@ -23880,6 +23890,11 @@ export interface NetworkWatchers {
* parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId
* Resource Id of the attached workspace
*
* @param {number}
* [parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service should
* do flow analytics
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
Expand Down Expand Up @@ -23950,6 +23965,11 @@ export interface NetworkWatchers {
* parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId
* Resource Id of the attached workspace
*
* @param {number}
* [parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service should
* do flow analytics
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
Expand Down
30 changes: 30 additions & 0 deletions lib/services/networkManagement2/lib/operations/networkWatchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1542,6 +1542,11 @@ function _getTroubleshootingResult(resourceGroupName, networkWatcherName, parame
* parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId
* Resource Id of the attached workspace
*
* @param {number}
* [parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service should
* do flow analytics
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
Expand Down Expand Up @@ -3252,6 +3257,11 @@ function _beginGetTroubleshootingResult(resourceGroupName, networkWatcherName, p
* parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId
* Resource Id of the attached workspace
*
* @param {number}
* [parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service should
* do flow analytics
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
Expand Down Expand Up @@ -5738,6 +5748,11 @@ class NetworkWatchers {
* parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId
* Resource Id of the attached workspace
*
* @param {number}
* [parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service should
* do flow analytics
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
Expand Down Expand Up @@ -5820,6 +5835,11 @@ class NetworkWatchers {
* parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId
* Resource Id of the attached workspace
*
* @param {number}
* [parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service should
* do flow analytics
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
Expand Down Expand Up @@ -7217,6 +7237,11 @@ class NetworkWatchers {
* parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId
* Resource Id of the attached workspace
*
* @param {number}
* [parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service should
* do flow analytics
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
Expand Down Expand Up @@ -7299,6 +7324,11 @@ class NetworkWatchers {
* parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.workspaceResourceId
* Resource Id of the attached workspace
*
* @param {number}
* [parameters.flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration.trafficAnalyticsInterval]
* The interval in minutes which would decide how frequently TA service should
* do flow analytics
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
Expand Down

0 comments on commit f89a631

Please sign in to comment.