diff --git a/lib/services/networkManagement2/lib/models/flowLogInformation.js b/lib/services/networkManagement2/lib/models/flowLogInformation.js index a3089aecb4..b1245be2e8 100644 --- a/lib/services/networkManagement2/lib/models/flowLogInformation.js +++ b/lib/services/networkManagement2/lib/models/flowLogInformation.js @@ -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() { } diff --git a/lib/services/networkManagement2/lib/models/index.d.ts b/lib/services/networkManagement2/lib/models/index.d.ts index dc5f4e40ee..adca326871 100644 --- a/lib/services/networkManagement2/lib/models/index.d.ts +++ b/lib/services/networkManagement2/lib/models/index.d.ts @@ -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; } /** @@ -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; @@ -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; diff --git a/lib/services/networkManagement2/lib/models/trafficAnalyticsConfigurationProperties.js b/lib/services/networkManagement2/lib/models/trafficAnalyticsConfigurationProperties.js index 58b762cb24..fc954d0d3c 100644 --- a/lib/services/networkManagement2/lib/models/trafficAnalyticsConfigurationProperties.js +++ b/lib/services/networkManagement2/lib/models/trafficAnalyticsConfigurationProperties.js @@ -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() { } @@ -66,6 +68,13 @@ class TrafficAnalyticsConfigurationProperties { type: { name: 'String' } + }, + trafficAnalyticsInterval: { + required: false, + serializedName: 'trafficAnalyticsInterval', + type: { + name: 'Number' + } } } } diff --git a/lib/services/networkManagement2/lib/models/trafficAnalyticsProperties.js b/lib/services/networkManagement2/lib/models/trafficAnalyticsProperties.js index e36bd54490..3dc1443d28 100644 --- a/lib/services/networkManagement2/lib/models/trafficAnalyticsProperties.js +++ b/lib/services/networkManagement2/lib/models/trafficAnalyticsProperties.js @@ -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() { } diff --git a/lib/services/networkManagement2/lib/operations/index.d.ts b/lib/services/networkManagement2/lib/operations/index.d.ts index 79d8a56aac..255604439d 100644 --- a/lib/services/networkManagement2/lib/operations/index.d.ts +++ b/lib/services/networkManagement2/lib/operations/index.d.ts @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/lib/services/networkManagement2/lib/operations/networkWatchers.js b/lib/services/networkManagement2/lib/operations/networkWatchers.js index 0b7a4cdf67..56466a02ac 100644 --- a/lib/services/networkManagement2/lib/operations/networkWatchers.js +++ b/lib/services/networkManagement2/lib/operations/networkWatchers.js @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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