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
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class ApplicationGateway extends models['Resource'] {
* @member {string} [provisioningState] Provisioning state of the application
* gateway resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
* @member {array} [customErrorConfiguration] Custom error configurations of
* @member {array} [customErrorConfigurations] Custom error configurations of
* the application gateway resource.
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
Expand Down Expand Up @@ -439,9 +439,9 @@ class ApplicationGateway extends models['Resource'] {
name: 'String'
}
},
customErrorConfiguration: {
customErrorConfigurations: {
required: false,
serializedName: 'properties.customErrorConfiguration',
serializedName: 'properties.customErrorConfigurations',
type: {
name: 'Sequence',
element: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ApplicationGatewayCustomError {
/**
* Create a ApplicationGatewayCustomError.
* @member {string} [statusCode] Status code of the application gateway
* customer error. Possible values include: '403', '502'
* customer error. Possible values include: 'HttpStatus403', 'HttpStatus502'
* @member {string} [customErrorPageUrl] Error page URL of the application
* gateway customer error.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ApplicationGatewayHttpListener extends models['SubResource'] {
* @member {string} [provisioningState] Provisioning state of the HTTP
* listener resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
* @member {array} [customErrorConfiguration] Custom error configurations of
* @member {array} [customErrorConfigurations] Custom error configurations of
* the HTTP listener.
* @member {string} [name] Name of the HTTP listener that is unique within an
* Application Gateway.
Expand Down Expand Up @@ -122,9 +122,9 @@ class ApplicationGatewayHttpListener extends models['SubResource'] {
name: 'String'
}
},
customErrorConfiguration: {
customErrorConfigurations: {
required: false,
serializedName: 'properties.customErrorConfiguration',
serializedName: 'properties.customErrorConfigurations',
type: {
name: 'Sequence',
element: {
Expand Down
30 changes: 30 additions & 0 deletions lib/services/networkManagement2/lib/models/expressRouteCircuit.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ class ExpressRouteCircuit extends models['Resource'] {
* location.
* @member {number} [serviceProviderProperties.bandwidthInMbps] The
* BandwidthInMbps.
* @member {object} [expressRoutePort] The reference to the ExpressRoutePort
* resource when the circuit is provisioned on an ExpressRoutePort resource.
* @member {string} [expressRoutePort.id] Resource ID.
* @member {number} [bandwidthInGbps] The bandwidth of the circuit when the
* circuit is provisioned on an ExpressRoutePort resource.
* @member {number} [stag] The identifier of the circuit traffic. Outer tag
* for QinQ encapsulation.
* @member {string} [provisioningState] Gets the provisioning state of the
* public IP resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
Expand Down Expand Up @@ -199,6 +206,29 @@ class ExpressRouteCircuit extends models['Resource'] {
className: 'ExpressRouteCircuitServiceProviderProperties'
}
},
expressRoutePort: {
required: false,
serializedName: 'properties.expressRoutePort',
type: {
name: 'Composite',
className: 'SubResource'
}
},
bandwidthInGbps: {
required: false,
serializedName: 'properties.bandwidthInGbps',
type: {
name: 'Number'
}
},
stag: {
required: false,
readOnly: true,
serializedName: 'properties.stag',
type: {
name: 'Number'
}
},
provisioningState: {
required: false,
serializedName: 'properties.provisioningState',
Expand Down
144 changes: 144 additions & 0 deletions lib/services/networkManagement2/lib/models/expressRouteLink.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
/*
* 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');

/**
* @summary ExpressRouteLink
*
* ExpressRouteLink child resource definition.
*
* @extends models['SubResource']
*/
class ExpressRouteLink extends models['SubResource'] {
/**
* Create a ExpressRouteLink.
* @member {string} [routerName] Name of Azure router associated with
* physical port.
* @member {string} [interfaceName] Name of Azure router interface.
* @member {string} [patchPanelId] Mapping between physical port to patch
* panel port.
* @member {string} [rackId] Mapping of physical patch panel to rack.
* @member {string} [connectorType] Physical fiber port type. Possible values
* include: 'LC', 'SC'
* @member {string} [adminState] Administrative state of the physical port.
* Possible values include: 'Enabled', 'Disabled'
* @member {string} [provisioningState] The provisioning state of the
* ExpressRouteLink resource. Possible values are: 'Succeeded', 'Updating',
* 'Deleting', and 'Failed'.
* @member {string} [name] Name of child port resource that is unique among
* child port resources of the parent.
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
*/
constructor() {
super();
}

/**
* Defines the metadata of ExpressRouteLink
*
* @returns {object} metadata of ExpressRouteLink
*
*/
mapper() {
return {
required: false,
serializedName: 'ExpressRouteLink',
type: {
name: 'Composite',
className: 'ExpressRouteLink',
modelProperties: {
id: {
required: false,
serializedName: 'id',
type: {
name: 'String'
}
},
routerName: {
required: false,
readOnly: true,
serializedName: 'properties.routerName',
type: {
name: 'String'
}
},
interfaceName: {
required: false,
readOnly: true,
serializedName: 'properties.interfaceName',
type: {
name: 'String'
}
},
patchPanelId: {
required: false,
readOnly: true,
serializedName: 'properties.patchPanelId',
type: {
name: 'String'
}
},
rackId: {
required: false,
readOnly: true,
serializedName: 'properties.rackId',
type: {
name: 'String'
}
},
connectorType: {
required: false,
readOnly: true,
serializedName: 'properties.connectorType',
type: {
name: 'String'
}
},
adminState: {
required: false,
serializedName: 'properties.adminState',
type: {
name: 'String'
}
},
provisioningState: {
required: false,
readOnly: true,
serializedName: 'properties.provisioningState',
type: {
name: 'String'
}
},
name: {
required: false,
serializedName: 'name',
type: {
name: 'String'
}
},
etag: {
required: false,
readOnly: true,
serializedName: 'etag',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = ExpressRouteLink;
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/*
* 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';

/**
* @summary ExpressRouteLink List Result
* Response for ListExpressRouteLinks API service call.
*/
class ExpressRouteLinkListResult extends Array {
/**
* Create a ExpressRouteLinkListResult.
* @member {string} [nextLink] The URL to get the next set of results.
*/
constructor() {
super();
}

/**
* Defines the metadata of ExpressRouteLinkListResult
*
* @returns {object} metadata of ExpressRouteLinkListResult
*
*/
mapper() {
return {
required: false,
serializedName: 'ExpressRouteLinkListResult',
type: {
name: 'Composite',
className: 'ExpressRouteLinkListResult',
modelProperties: {
value: {
required: false,
serializedName: '',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ExpressRouteLinkElementType',
type: {
name: 'Composite',
className: 'ExpressRouteLink'
}
}
}
},
nextLink: {
required: false,
serializedName: 'nextLink',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = ExpressRouteLinkListResult;
Loading