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

[AutoPR network/resource-manager] Network: fix descriptions & remove unused/duplicate definitions #4717

Closed
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ApplicationGatewayProbe extends models['SubResource'] {
* @property {number} [interval] The probing interval in seconds. This is the
* time interval between two consecutive probes. Acceptable values are from 1
* second to 86400 seconds.
* @property {number} [timeout] the probe timeout in seconds. Probe marked as
* @property {number} [timeout] The probe timeout in seconds. Probe marked as
* failed if valid response is not received with this timeout period.
* Acceptable values are from 1 second to 86400 seconds.
* @property {number} [unhealthyThreshold] The probe retry count. Backend
Expand Down
18 changes: 9 additions & 9 deletions lib/services/networkManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ export interface ServiceEndpointPolicyDefinition extends SubResource {
*/
description?: string;
/**
* service endpoint name.
* Service endpoint name.
*/
service?: string;
/**
Expand Down Expand Up @@ -1694,7 +1694,7 @@ export interface ApplicationGatewayProbe extends SubResource {
*/
interval?: number;
/**
* the probe timeout in seconds. Probe marked as failed if valid response is not received with
* The probe timeout in seconds. Probe marked as failed if valid response is not received with
* this timeout period. Acceptable values are from 1 second to 86400 seconds.
*/
timeout?: number;
Expand Down Expand Up @@ -7179,7 +7179,7 @@ export interface P2SVpnServerConfiguration extends SubResource {
*/
p2SVpnServerConfigurationPropertiesName?: string;
/**
* vpnProtocols for the P2SVpnServerConfiguration.
* VPN protocols for the P2SVpnServerConfiguration.
*/
vpnProtocols?: string[];
/**
Expand Down Expand Up @@ -7264,7 +7264,7 @@ export interface VirtualWAN extends Resource {
*/
office365LocalBreakoutCategory?: string;
/**
* list of all P2SVpnServerConfigurations associated with the virtual wan.
* List of all P2SVpnServerConfigurations associated with the virtual wan.
*/
p2SVpnServerConfigurations?: P2SVpnServerConfiguration[];
/**
Expand Down Expand Up @@ -7394,7 +7394,7 @@ export interface HubVirtualNetworkConnection extends SubResource {
*/
export interface VirtualHubRoute {
/**
* list of all addressPrefixes.
* List of all addressPrefixes.
*/
addressPrefixes?: string[];
/**
Expand All @@ -7408,7 +7408,7 @@ export interface VirtualHubRoute {
*/
export interface VirtualHubRouteTable {
/**
* list of all routes.
* List of all routes.
*/
routes?: VirtualHubRoute[];
}
Expand All @@ -7434,7 +7434,7 @@ export interface VirtualHub extends Resource {
*/
expressRouteGateway?: SubResource;
/**
* list of all vnet connections with this VirtualHub.
* List of all vnet connections with this VirtualHub.
*/
virtualNetworkConnections?: HubVirtualNetworkConnection[];
/**
Expand Down Expand Up @@ -7465,7 +7465,7 @@ export interface VpnConnection extends SubResource {
*/
remoteVpnSite?: SubResource;
/**
* routing weight for vpn connection.
* Routing weight for vpn connection.
*/
routingWeight?: number;
/**
Expand Down Expand Up @@ -7534,7 +7534,7 @@ export interface VpnGateway extends Resource {
*/
virtualHub?: SubResource;
/**
* list of all vpn connections to the gateway.
* List of all vpn connections to the gateway.
*/
connections?: VpnConnection[];
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class P2SVpnServerConfiguration extends models['SubResource'] {
* the P2SVpnServerConfiguration that is unique within a VirtualWan in a
* resource group. This name can be used to access the resource along with
* Paren VirtualWan resource name.
* @property {array} [vpnProtocols] vpnProtocols for the
* @property {array} [vpnProtocols] VPN protocols for the
* P2SVpnServerConfiguration.
* @property {array} [p2SVpnServerConfigVpnClientRootCertificates] VPN client
* root certificate of P2SVpnServerConfiguration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ServiceEndpointPolicyDefinition extends models['SubResource'] {
* Create a ServiceEndpointPolicyDefinition.
* @property {string} [description] A description for this rule. Restricted
* to 140 chars.
* @property {string} [service] service endpoint name.
* @property {string} [service] Service endpoint name.
* @property {array} [serviceResources] A list of service resources.
* @property {string} [provisioningState] The provisioning state of the
* service end point policy definition. Possible values are: 'Updating',
Expand Down
4 changes: 2 additions & 2 deletions lib/services/networkManagement2/lib/models/virtualHub.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ class VirtualHub extends models['Resource'] {
* @property {object} [expressRouteGateway] The expressRouteGateway
* associated with this VirtualHub
* @property {string} [expressRouteGateway.id] Resource ID.
* @property {array} [virtualNetworkConnections] list of all vnet connections
* @property {array} [virtualNetworkConnections] List of all vnet connections
* with this VirtualHub.
* @property {string} [addressPrefix] Address-prefix for this VirtualHub.
* @property {object} [routeTable] The routeTable associated with this
* virtual hub.
* @property {array} [routeTable.routes] list of all routes.
* @property {array} [routeTable.routes] List of all routes.
* @property {string} [provisioningState] The provisioning state of the
* resource. Possible values include: 'Succeeded', 'Updating', 'Deleting',
* 'Failed'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class VirtualHubRoute {
/**
* Create a VirtualHubRoute.
* @property {array} [addressPrefixes] list of all addressPrefixes.
* @property {array} [addressPrefixes] List of all addressPrefixes.
* @property {string} [nextHopIpAddress] NextHop ip address.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class VirtualHubRouteTable {
/**
* Create a VirtualHubRouteTable.
* @property {array} [routes] list of all routes.
* @property {array} [routes] List of all routes.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class VirtualNetworkConnectionGatewayReference {
mapper() {
return {
required: false,
serializedName: 'virtualNetworkConnectionGatewayReference',
serializedName: 'VirtualNetworkConnectionGatewayReference',
type: {
name: 'Composite',
className: 'VirtualNetworkConnectionGatewayReference',
Expand Down
2 changes: 1 addition & 1 deletion lib/services/networkManagement2/lib/models/virtualWAN.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class VirtualWAN extends models['Resource'] {
* @property {string} [office365LocalBreakoutCategory] The office local
* breakout category. Possible values include: 'Optimize',
* 'OptimizeAndAllow', 'All', 'None'
* @property {array} [p2SVpnServerConfigurations] list of all
* @property {array} [p2SVpnServerConfigurations] List of all
* P2SVpnServerConfigurations associated with the virtual wan.
* @property {string} [provisioningState] The provisioning state of the
* resource. Possible values include: 'Succeeded', 'Updating', 'Deleting',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class VpnConnection extends models['SubResource'] {
* Create a VpnConnection.
* @property {object} [remoteVpnSite] Id of the connected vpn site.
* @property {string} [remoteVpnSite.id] Resource ID.
* @property {number} [routingWeight] routing weight for vpn connection.
* @property {number} [routingWeight] Routing weight for vpn connection.
* @property {string} [connectionStatus] The connection status. Possible
* values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'
* @property {string} [vpnConnectionProtocolType] Connection protocol used
Expand Down
2 changes: 1 addition & 1 deletion lib/services/networkManagement2/lib/models/vpnGateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class VpnGateway extends models['Resource'] {
* @property {object} [virtualHub] The VirtualHub to which the gateway
* belongs
* @property {string} [virtualHub.id] Resource ID.
* @property {array} [connections] list of all vpn connections to the
* @property {array} [connections] List of all vpn connections to the
* gateway.
* @property {object} [bgpSettings] Local network gateway's BGP speaker
* settings.
Expand Down
Loading