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

Commit

Permalink
Merge pull request #3252 from Azure/restapi_auto_network/resource-man…
Browse files Browse the repository at this point in the history
…ager

[AutoPR] network/resource-manager
  • Loading branch information
Dan Schulte authored Aug 28, 2018
2 parents 2e8e0b0 + e76cbdb commit 51d7dfc
Show file tree
Hide file tree
Showing 155 changed files with 18,265 additions and 6,079 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Application Gateway autoscale configuration.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Response for ApplicationGatewayAvailableWafRuleSets API service call.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* List of ApplicationGatewayBackendHealthPool resources.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Application gateway BackendHealthHttp settings.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Application gateway BackendHealth pool.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Application gateway backendhealth http settings.
*
Expand Down Expand Up @@ -80,6 +78,8 @@ class ApplicationGatewayBackendHealthServer {
* read-only string that changes whenever the resource is updated.
* @member {array} [ipConfiguration.subnet.serviceEndpoints] An array of
* service endpoints.
* @member {array} [ipConfiguration.subnet.serviceEndpointPolicies] An array
* of service endpoint policies.
* @member {array} [ipConfiguration.subnet.ipConfigurations] Gets an array of
* references to the network interface IP configurations using subnet.
* @member {array} [ipConfiguration.subnet.resourceNavigationLinks] Gets an
Expand Down Expand Up @@ -170,6 +170,9 @@ class ApplicationGatewayBackendHealthServer {
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpoints]
* An array of service endpoints.
* @member {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpointPolicies]
* An array of service endpoint policies.
* @member {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurations]
* Gets an array of references to the network interface IP configurations
* using subnet.
Expand Down Expand Up @@ -219,6 +222,10 @@ class ApplicationGatewayBackendHealthServer {
* associated with the public IP address.
* @member {string} [ipConfiguration.publicIPAddress.ipAddress] The IP
* address associated with the public IP address resource.
* @member {object} [ipConfiguration.publicIPAddress.publicIPPrefix] The
* Public IP Prefix this Public IP Address should be allocated from.
* @member {string} [ipConfiguration.publicIPAddress.publicIPPrefix.id]
* Resource ID.
* @member {number} [ipConfiguration.publicIPAddress.idleTimeoutInMinutes]
* The idle timeout of the public IP address.
* @member {string} [ipConfiguration.publicIPAddress.resourceGuid] The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* A web application firewall rule group.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Application gateway web application firewall configuration.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* List of available countries with details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Country details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* State details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The response body contains the status of the specified asynchronous
* operation, indicating whether it has succeeded, is in progress, or has
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Properties of an application rule.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Azure reachability report details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Azure reachability report details for a given provider location.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Geographic and time constraints for Azure reachability report.
*
Expand Down
10 changes: 5 additions & 5 deletions lib/services/networkManagement2/lib/models/backendAddressPool.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class BackendAddressPool extends models['SubResource'] {
* IP addresses defined in network interfaces.
* @member {array} [loadBalancingRules] Gets load balancing rules that use
* this backend address pool.
* @member {object} [outboundNatRule] Gets outbound rules that use this
* backend address pool.
* @member {string} [outboundNatRule.id] Resource ID.
* @member {object} [outboundRule] Gets outbound rules that use this backend
* address pool.
* @member {string} [outboundRule.id] Resource ID.
* @member {string} [provisioningState] Get provisioning state of the public
* IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
* @member {string} [name] Gets name of the resource that is unique within a
Expand Down Expand Up @@ -91,10 +91,10 @@ class BackendAddressPool extends models['SubResource'] {
}
}
},
outboundNatRule: {
outboundRule: {
required: false,
readOnly: true,
serializedName: 'properties.outboundNatRule',
serializedName: 'properties.outboundRule',
type: {
name: 'Composite',
className: 'SubResource'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Response for list BGP peer status API service call
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Parameters that define the operation to create a connection monitor.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Parameters that define the operation to create a connection monitor.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* List of connection states snaphots.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

const models = require('./index');

/**
* Results of query particular connection monitor.
*
*/
class ConnectionMonitorsQueryResultItem {
/**
* Create a ConnectionMonitorsQueryResultItem.
* @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.
*/
constructor() {
}

/**
* Defines the metadata of ConnectionMonitorsQueryResultItem
*
* @returns {object} metadata of ConnectionMonitorsQueryResultItem
*
*/
mapper() {
return {
required: false,
serializedName: 'ConnectionMonitorsQueryResultItem',
type: {
name: 'Composite',
className: 'ConnectionMonitorsQueryResultItem',
modelProperties: {
resourceId: {
required: false,
serializedName: 'resourceId',
type: {
name: 'String'
}
},
report: {
required: false,
serializedName: 'report',
type: {
name: 'Composite',
className: 'ConnectionMonitorQueryResult'
}
}
}
}
};
}
}

module.exports = ConnectionMonitorsQueryResultItem;
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Connection state snapshot.
*
Expand All @@ -25,6 +23,11 @@ class ConnectionStateSnapshot {
* @member {date} [endTime] The end time of the connection snapshot.
* @member {string} [evaluationState] Connectivity analysis evaluation state.
* Possible values include: 'NotStarted', 'InProgress', 'Completed'
* @member {number} [avgLatencyInMs] Average latency in ms.
* @member {number} [minLatencyInMs] Minimum latency in ms.
* @member {number} [maxLatencyInMs] Maximum latency in ms.
* @member {number} [probesSent] The number of sent probes.
* @member {number} [probesFailed] The number of failed probes.
* @member {array} [hops] List of hops between the source and the
* destination.
*/
Expand Down Expand Up @@ -73,6 +76,41 @@ class ConnectionStateSnapshot {
name: 'String'
}
},
avgLatencyInMs: {
required: false,
serializedName: 'avgLatencyInMs',
type: {
name: 'Number'
}
},
minLatencyInMs: {
required: false,
serializedName: 'minLatencyInMs',
type: {
name: 'Number'
}
},
maxLatencyInMs: {
required: false,
serializedName: 'maxLatencyInMs',
type: {
name: 'Number'
}
},
probesSent: {
required: false,
serializedName: 'probesSent',
type: {
name: 'Number'
}
},
probesFailed: {
required: false,
serializedName: 'probesFailed',
type: {
name: 'Number'
}
},
hops: {
required: false,
readOnly: true,
Expand Down
2 changes: 0 additions & 2 deletions lib/services/networkManagement2/lib/models/connectivityHop.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Information about a hop between the source and the destination.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Information on the connectivity status.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Parameters that determine how the connectivity check will be performed.
*
Expand Down
Loading

0 comments on commit 51d7dfc

Please sign in to comment.