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 Watcher: Suppressing a validation message #2785

Merged
merged 3 commits into from
Apr 25, 2018
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
Original file line number Diff line number Diff line change
Expand Up @@ -130,23 +130,20 @@ class ExpressRouteCrossConnection extends models['Resource'] {
},
peeringLocation: {
required: false,
readOnly: true,
serializedName: 'properties.peeringLocation',
type: {
name: 'String'
}
},
bandwidthInMbps: {
required: false,
readOnly: true,
serializedName: 'properties.bandwidthInMbps',
type: {
name: 'Number'
}
},
expressRouteCircuit: {
required: false,
readOnly: true,
serializedName: 'properties.expressRouteCircuit',
type: {
name: 'Composite',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ class ExpressRouteCrossConnectionPeering extends models['SubResource'] {
},
gatewayManagerEtag: {
required: false,
readOnly: true,
serializedName: 'properties.gatewayManagerEtag',
type: {
name: 'String'
Expand Down
85 changes: 85 additions & 0 deletions lib/services/networkManagement2/lib/models/httpConfiguration.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
/*
* 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');

/**
* HTTP configuration of the connectivity check.
*
*/
class HttpConfiguration {
/**
* Create a HttpConfiguration.
* @member {string} [method] HTTP method. Possible values include: 'Get'
* @member {array} [headers] List of HTTP headers.
* @member {array} [validStatusCodes] Valid status codes.
*/
constructor() {
}

/**
* Defines the metadata of HttpConfiguration
*
* @returns {object} metadata of HttpConfiguration
*
*/
mapper() {
return {
required: false,
serializedName: 'HttpConfiguration',
type: {
name: 'Composite',
className: 'HttpConfiguration',
modelProperties: {
method: {
required: false,
serializedName: 'method',
type: {
name: 'String'
}
},
headers: {
required: false,
serializedName: 'headers',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'HTTPHeaderElementType',
type: {
name: 'Composite',
className: 'HTTPHeader'
}
}
}
},
validStatusCodes: {
required: false,
serializedName: 'validStatusCodes',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'NumberElementType',
type: {
name: 'Number'
}
}
}
}
}
}
};
}
}

module.exports = HttpConfiguration;
8 changes: 4 additions & 4 deletions lib/services/networkManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3164,7 +3164,7 @@ export interface ExpressRouteCrossConnectionPeering extends SubResource {
vlanId?: number;
microsoftPeeringConfig?: ExpressRouteCircuitPeeringConfig;
readonly provisioningState?: string;
readonly gatewayManagerEtag?: string;
gatewayManagerEtag?: string;
lastModifiedBy?: string;
ipv6PeeringConfig?: Ipv6ExpressRouteCircuitPeeringConfig;
name?: string;
Expand Down Expand Up @@ -3203,9 +3203,9 @@ export interface ExpressRouteCrossConnection extends Resource {
readonly primaryAzurePort?: string;
readonly secondaryAzurePort?: string;
readonly sTag?: number;
readonly peeringLocation?: string;
readonly bandwidthInMbps?: number;
readonly expressRouteCircuit?: ExpressRouteCircuitReference;
peeringLocation?: string;
bandwidthInMbps?: number;
expressRouteCircuit?: ExpressRouteCircuitReference;
serviceProviderProvisioningState?: string;
serviceProviderNotes?: string;
readonly provisioningState?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,9 @@ function _get(resourceGroupName, crossConnectionName, peeringName, options, call
* @param {object} [peeringParameters.microsoftPeeringConfig] The Microsoft
* peering configuration.
*
* @param {string} [peeringParameters.gatewayManagerEtag] The GatewayManager
* Etag.
*
* @param {string} [peeringParameters.lastModifiedBy] Gets whether the provider
* or the customer last modified the peering.
*
Expand Down Expand Up @@ -722,6 +725,9 @@ function _beginDeleteMethod(resourceGroupName, crossConnectionName, peeringName,
* @param {object} [peeringParameters.microsoftPeeringConfig] The Microsoft
* peering configuration.
*
* @param {string} [peeringParameters.gatewayManagerEtag] The GatewayManager
* Etag.
*
* @param {string} [peeringParameters.lastModifiedBy] Gets whether the provider
* or the customer last modified the peering.
*
Expand Down Expand Up @@ -1422,6 +1428,9 @@ class ExpressRouteCrossConnectionPeerings {
* @param {object} [peeringParameters.microsoftPeeringConfig] The Microsoft
* peering configuration.
*
* @param {string} [peeringParameters.gatewayManagerEtag] The GatewayManager
* Etag.
*
* @param {string} [peeringParameters.lastModifiedBy] Gets whether the provider
* or the customer last modified the peering.
*
Expand Down Expand Up @@ -1554,6 +1563,9 @@ class ExpressRouteCrossConnectionPeerings {
* @param {object} [peeringParameters.microsoftPeeringConfig] The Microsoft
* peering configuration.
*
* @param {string} [peeringParameters.gatewayManagerEtag] The GatewayManager
* Etag.
*
* @param {string} [peeringParameters.lastModifiedBy] Gets whether the provider
* or the customer last modified the peering.
*
Expand Down Expand Up @@ -1800,6 +1812,9 @@ class ExpressRouteCrossConnectionPeerings {
* @param {object} [peeringParameters.microsoftPeeringConfig] The Microsoft
* peering configuration.
*
* @param {string} [peeringParameters.gatewayManagerEtag] The GatewayManager
* Etag.
*
* @param {string} [peeringParameters.lastModifiedBy] Gets whether the provider
* or the customer last modified the peering.
*
Expand Down Expand Up @@ -1932,6 +1947,9 @@ class ExpressRouteCrossConnectionPeerings {
* @param {object} [peeringParameters.microsoftPeeringConfig] The Microsoft
* peering configuration.
*
* @param {string} [peeringParameters.gatewayManagerEtag] The GatewayManager
* Etag.
*
* @param {string} [peeringParameters.lastModifiedBy] Gets whether the provider
* or the customer last modified the peering.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,16 @@ function _get(resourceGroupName, crossConnectionName, options, callback) {
* @param {object} parameters Parameters supplied to the update express route
* crossConnection operation.
*
* @param {string} [parameters.peeringLocation] The peering location of the
* ExpressRoute circuit.
*
* @param {number} [parameters.bandwidthInMbps] The circuit bandwidth In Mbps.
*
* @param {object} [parameters.expressRouteCircuit] The ExpressRouteCircuit
*
* @param {string} [parameters.expressRouteCircuit.id] Corresponding Express
* Route Circuit Id.
*
* @param {string} [parameters.serviceProviderProvisioningState] The
* provisioning state of the circuit in the connectivity provider system.
* Possible values are 'NotProvisioned', 'Provisioning', 'Provisioned'.
Expand Down Expand Up @@ -881,6 +891,16 @@ function _listRoutesTable(resourceGroupName, crossConnectionName, peeringName, d
* @param {object} parameters Parameters supplied to the update express route
* crossConnection operation.
*
* @param {string} [parameters.peeringLocation] The peering location of the
* ExpressRoute circuit.
*
* @param {number} [parameters.bandwidthInMbps] The circuit bandwidth In Mbps.
*
* @param {object} [parameters.expressRouteCircuit] The ExpressRouteCircuit
*
* @param {string} [parameters.expressRouteCircuit.id] Corresponding Express
* Route Circuit Id.
*
* @param {string} [parameters.serviceProviderProvisioningState] The
* provisioning state of the circuit in the connectivity provider system.
* Possible values are 'NotProvisioned', 'Provisioning', 'Provisioned'.
Expand Down Expand Up @@ -2238,6 +2258,16 @@ class ExpressRouteCrossConnections {
* @param {object} parameters Parameters supplied to the update express route
* crossConnection operation.
*
* @param {string} [parameters.peeringLocation] The peering location of the
* ExpressRoute circuit.
*
* @param {number} [parameters.bandwidthInMbps] The circuit bandwidth In Mbps.
*
* @param {object} [parameters.expressRouteCircuit] The ExpressRouteCircuit
*
* @param {string} [parameters.expressRouteCircuit.id] Corresponding Express
* Route Circuit Id.
*
* @param {string} [parameters.serviceProviderProvisioningState] The
* provisioning state of the circuit in the connectivity provider system.
* Possible values are 'NotProvisioned', 'Provisioning', 'Provisioned'.
Expand Down Expand Up @@ -2291,6 +2321,16 @@ class ExpressRouteCrossConnections {
* @param {object} parameters Parameters supplied to the update express route
* crossConnection operation.
*
* @param {string} [parameters.peeringLocation] The peering location of the
* ExpressRoute circuit.
*
* @param {number} [parameters.bandwidthInMbps] The circuit bandwidth In Mbps.
*
* @param {object} [parameters.expressRouteCircuit] The ExpressRouteCircuit
*
* @param {string} [parameters.expressRouteCircuit.id] Corresponding Express
* Route Circuit Id.
*
* @param {string} [parameters.serviceProviderProvisioningState] The
* provisioning state of the circuit in the connectivity provider system.
* Possible values are 'NotProvisioned', 'Provisioning', 'Provisioned'.
Expand Down Expand Up @@ -2762,6 +2802,16 @@ class ExpressRouteCrossConnections {
* @param {object} parameters Parameters supplied to the update express route
* crossConnection operation.
*
* @param {string} [parameters.peeringLocation] The peering location of the
* ExpressRoute circuit.
*
* @param {number} [parameters.bandwidthInMbps] The circuit bandwidth In Mbps.
*
* @param {object} [parameters.expressRouteCircuit] The ExpressRouteCircuit
*
* @param {string} [parameters.expressRouteCircuit.id] Corresponding Express
* Route Circuit Id.
*
* @param {string} [parameters.serviceProviderProvisioningState] The
* provisioning state of the circuit in the connectivity provider system.
* Possible values are 'NotProvisioned', 'Provisioning', 'Provisioned'.
Expand Down Expand Up @@ -2815,6 +2865,16 @@ class ExpressRouteCrossConnections {
* @param {object} parameters Parameters supplied to the update express route
* crossConnection operation.
*
* @param {string} [parameters.peeringLocation] The peering location of the
* ExpressRoute circuit.
*
* @param {number} [parameters.bandwidthInMbps] The circuit bandwidth In Mbps.
*
* @param {object} [parameters.expressRouteCircuit] The ExpressRouteCircuit
*
* @param {string} [parameters.expressRouteCircuit.id] Corresponding Express
* Route Circuit Id.
*
* @param {string} [parameters.serviceProviderProvisioningState] The
* provisioning state of the circuit in the connectivity provider system.
* Possible values are 'NotProvisioned', 'Provisioning', 'Provisioned'.
Expand Down
Loading