Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 0 additions & 41 deletions lib/services/networkManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5566,35 +5566,6 @@ export interface NetworkConfigurationDiagnosticResponse {
readonly results?: NetworkConfigurationDiagnosticResult[];
}

/**
* @class
* Initializes a new instance of the QueryConnectionMonitorsParameters class.
* @constructor
* Parameters to query connection monitors.
*
* @member {array} [connectionMonitorIds] List of connection monitors ID.
*/
export interface QueryConnectionMonitorsParameters {
connectionMonitorIds?: string[];
}

/**
* @class
* Initializes a new instance of the ConnectionMonitorsQueryResultItem class.
* @constructor
* Results of query particular connection monitor.
*
* @member {string} [resourceId] Connection monitor resource ID.
* @member {object} [report]
* @member {string} [report.sourceStatus] Status of connection monitor source.
* Possible values include: 'Uknown', 'Active', 'Inactive'
* @member {array} [report.states] Information about connection states.
*/
export interface ConnectionMonitorsQueryResultItem {
resourceId?: string;
report?: ConnectionMonitorQueryResult;
}

/**
* @class
* Initializes a new instance of the OperationDisplay class.
Expand Down Expand Up @@ -7420,18 +7391,6 @@ export interface SecurityRuleListResult extends Array<SecurityRule> {
export interface NetworkWatcherListResult extends Array<NetworkWatcher> {
}

/**
* @class
* Initializes a new instance of the QueryConnectionMonitorsResponse class.
* @constructor
* Results of query connection monitors.
*
* @member {string} [nextLink] URL to get the next set of results.
*/
export interface QueryConnectionMonitorsResponse extends Array<ConnectionMonitorsQueryResultItem> {
nextLink?: string;
}

/**
* @class
* Initializes a new instance of the PacketCaptureListResult class.
Expand Down
3 changes: 0 additions & 3 deletions lib/services/networkManagement2/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ exports.EvaluatedNetworkSecurityGroup = require('./evaluatedNetworkSecurityGroup
exports.NetworkSecurityGroupResult = require('./networkSecurityGroupResult');
exports.NetworkConfigurationDiagnosticResult = require('./networkConfigurationDiagnosticResult');
exports.NetworkConfigurationDiagnosticResponse = require('./networkConfigurationDiagnosticResponse');
exports.QueryConnectionMonitorsParameters = require('./queryConnectionMonitorsParameters');
exports.ConnectionMonitorsQueryResultItem = require('./connectionMonitorsQueryResultItem');
exports.OperationDisplay = require('./operationDisplay');
exports.Availability = require('./availability');
exports.Dimension = require('./dimension');
Expand Down Expand Up @@ -267,7 +265,6 @@ exports.NetworkInterfaceLoadBalancerListResult = require('./networkInterfaceLoad
exports.NetworkSecurityGroupListResult = require('./networkSecurityGroupListResult');
exports.SecurityRuleListResult = require('./securityRuleListResult');
exports.NetworkWatcherListResult = require('./networkWatcherListResult');
exports.QueryConnectionMonitorsResponse = require('./queryConnectionMonitorsResponse');
exports.PacketCaptureListResult = require('./packetCaptureListResult');
exports.ConnectionMonitorListResult = require('./connectionMonitorListResult');
exports.OperationListResult = require('./operationListResult');
Expand Down
260 changes: 0 additions & 260 deletions lib/services/networkManagement2/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17018,78 +17018,6 @@ export interface NetworkWatchers {
getNetworkConfigurationDiagnostic(resourceGroupName: string, networkWatcherName: string, parameters: models.NetworkConfigurationDiagnosticParameters, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.NetworkConfigurationDiagnosticResponse>): void;


/**
* Query connection monitors.
*
* @param {string} resourceGroupName The name of the resource group.
*
* @param {string} networkWatcherName The name of the network watcher.
*
* @param {object} parameters Parameters to get network configuration
* diagnostic.
*
* @param {array} [parameters.connectionMonitorIds] List of connection monitors
* ID.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @returns {Promise} A promise is returned
*
* @resolve {HttpOperationResponse<QueryConnectionMonitorsResponse>} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*/
queryConnectionMonitorsWithHttpOperationResponse(resourceGroupName: string, networkWatcherName: string, parameters: models.QueryConnectionMonitorsParameters, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<HttpOperationResponse<models.QueryConnectionMonitorsResponse>>;

/**
* Query connection monitors.
*
* @param {string} resourceGroupName The name of the resource group.
*
* @param {string} networkWatcherName The name of the network watcher.
*
* @param {object} parameters Parameters to get network configuration
* diagnostic.
*
* @param {array} [parameters.connectionMonitorIds] List of connection monitors
* ID.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @param {ServiceCallback} [optionalCallback] - The optional callback.
*
* @returns {ServiceCallback|Promise} If a callback was passed as the last
* parameter then it returns the callback else returns a Promise.
*
* {Promise} A promise is returned.
*
* @resolve {QueryConnectionMonitorsResponse} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*
* {ServiceCallback} optionalCallback(err, result, request, response)
*
* {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
*
* {QueryConnectionMonitorsResponse} [result] - The deserialized result object if an error did not occur.
* See {@link QueryConnectionMonitorsResponse} for more
* information.
*
* {WebResource} [request] - The HTTP Request object if an error did not occur.
*
* {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
*/
queryConnectionMonitors(resourceGroupName: string, networkWatcherName: string, parameters: models.QueryConnectionMonitorsParameters, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<models.QueryConnectionMonitorsResponse>;
queryConnectionMonitors(resourceGroupName: string, networkWatcherName: string, parameters: models.QueryConnectionMonitorsParameters, callback: ServiceCallback<models.QueryConnectionMonitorsResponse>): void;
queryConnectionMonitors(resourceGroupName: string, networkWatcherName: string, parameters: models.QueryConnectionMonitorsParameters, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.QueryConnectionMonitorsResponse>): void;


/**
* Deletes the specified network watcher resource.
*
Expand Down Expand Up @@ -18217,194 +18145,6 @@ export interface NetworkWatchers {
beginGetNetworkConfigurationDiagnostic(resourceGroupName: string, networkWatcherName: string, parameters: models.NetworkConfigurationDiagnosticParameters, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<models.NetworkConfigurationDiagnosticResponse>;
beginGetNetworkConfigurationDiagnostic(resourceGroupName: string, networkWatcherName: string, parameters: models.NetworkConfigurationDiagnosticParameters, callback: ServiceCallback<models.NetworkConfigurationDiagnosticResponse>): void;
beginGetNetworkConfigurationDiagnostic(resourceGroupName: string, networkWatcherName: string, parameters: models.NetworkConfigurationDiagnosticParameters, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.NetworkConfigurationDiagnosticResponse>): void;


/**
* Query connection monitors.
*
* @param {string} resourceGroupName The name of the resource group.
*
* @param {string} networkWatcherName The name of the network watcher.
*
* @param {object} parameters Parameters to get network configuration
* diagnostic.
*
* @param {array} [parameters.connectionMonitorIds] List of connection monitors
* ID.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @returns {Promise} A promise is returned
*
* @resolve {HttpOperationResponse<QueryConnectionMonitorsResponse>} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*/
beginQueryConnectionMonitorsWithHttpOperationResponse(resourceGroupName: string, networkWatcherName: string, parameters: models.QueryConnectionMonitorsParameters, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<HttpOperationResponse<models.QueryConnectionMonitorsResponse>>;

/**
* Query connection monitors.
*
* @param {string} resourceGroupName The name of the resource group.
*
* @param {string} networkWatcherName The name of the network watcher.
*
* @param {object} parameters Parameters to get network configuration
* diagnostic.
*
* @param {array} [parameters.connectionMonitorIds] List of connection monitors
* ID.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @param {ServiceCallback} [optionalCallback] - The optional callback.
*
* @returns {ServiceCallback|Promise} If a callback was passed as the last
* parameter then it returns the callback else returns a Promise.
*
* {Promise} A promise is returned.
*
* @resolve {QueryConnectionMonitorsResponse} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*
* {ServiceCallback} optionalCallback(err, result, request, response)
*
* {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
*
* {QueryConnectionMonitorsResponse} [result] - The deserialized result object if an error did not occur.
* See {@link QueryConnectionMonitorsResponse} for more
* information.
*
* {WebResource} [request] - The HTTP Request object if an error did not occur.
*
* {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
*/
beginQueryConnectionMonitors(resourceGroupName: string, networkWatcherName: string, parameters: models.QueryConnectionMonitorsParameters, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<models.QueryConnectionMonitorsResponse>;
beginQueryConnectionMonitors(resourceGroupName: string, networkWatcherName: string, parameters: models.QueryConnectionMonitorsParameters, callback: ServiceCallback<models.QueryConnectionMonitorsResponse>): void;
beginQueryConnectionMonitors(resourceGroupName: string, networkWatcherName: string, parameters: models.QueryConnectionMonitorsParameters, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.QueryConnectionMonitorsResponse>): void;


/**
* Query connection monitors.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @returns {Promise} A promise is returned
*
* @resolve {HttpOperationResponse<QueryConnectionMonitorsResponse>} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*/
queryConnectionMonitorsNextWithHttpOperationResponse(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<HttpOperationResponse<models.QueryConnectionMonitorsResponse>>;

/**
* Query connection monitors.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @param {ServiceCallback} [optionalCallback] - The optional callback.
*
* @returns {ServiceCallback|Promise} If a callback was passed as the last
* parameter then it returns the callback else returns a Promise.
*
* {Promise} A promise is returned.
*
* @resolve {QueryConnectionMonitorsResponse} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*
* {ServiceCallback} optionalCallback(err, result, request, response)
*
* {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
*
* {QueryConnectionMonitorsResponse} [result] - The deserialized result object if an error did not occur.
* See {@link QueryConnectionMonitorsResponse} for more
* information.
*
* {WebResource} [request] - The HTTP Request object if an error did not occur.
*
* {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
*/
queryConnectionMonitorsNext(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<models.QueryConnectionMonitorsResponse>;
queryConnectionMonitorsNext(nextPageLink: string, callback: ServiceCallback<models.QueryConnectionMonitorsResponse>): void;
queryConnectionMonitorsNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.QueryConnectionMonitorsResponse>): void;


/**
* Query connection monitors.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @returns {Promise} A promise is returned
*
* @resolve {HttpOperationResponse<QueryConnectionMonitorsResponse>} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*/
beginQueryConnectionMonitorsNextWithHttpOperationResponse(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<HttpOperationResponse<models.QueryConnectionMonitorsResponse>>;

/**
* Query connection monitors.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
*
* @param {object} [options] Optional Parameters.
*
* @param {object} [options.customHeaders] Headers that will be added to the
* request
*
* @param {ServiceCallback} [optionalCallback] - The optional callback.
*
* @returns {ServiceCallback|Promise} If a callback was passed as the last
* parameter then it returns the callback else returns a Promise.
*
* {Promise} A promise is returned.
*
* @resolve {QueryConnectionMonitorsResponse} - The deserialized result object.
*
* @reject {Error|ServiceError} - The error object.
*
* {ServiceCallback} optionalCallback(err, result, request, response)
*
* {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
*
* {QueryConnectionMonitorsResponse} [result] - The deserialized result object if an error did not occur.
* See {@link QueryConnectionMonitorsResponse} for more
* information.
*
* {WebResource} [request] - The HTTP Request object if an error did not occur.
*
* {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
*/
beginQueryConnectionMonitorsNext(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise<models.QueryConnectionMonitorsResponse>;
beginQueryConnectionMonitorsNext(nextPageLink: string, callback: ServiceCallback<models.QueryConnectionMonitorsResponse>): void;
beginQueryConnectionMonitorsNext(nextPageLink: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.QueryConnectionMonitorsResponse>): void;
}

/**
Expand Down
Loading