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
43 changes: 41 additions & 2 deletions lib/services/networkManagement2/lib/models/applicationGateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class ApplicationGateway extends models['Resource'] {
* @member {object} [sku] SKU of the application gateway resource.
* @member {string} [sku.name] Name of an application gateway SKU. Possible
* values include: 'Standard_Small', 'Standard_Medium', 'Standard_Large',
* 'WAF_Medium', 'WAF_Large'
* 'WAF_Medium', 'WAF_Large', 'Standard_v2', 'WAF_v2'
* @member {string} [sku.tier] Tier of an application gateway. Possible
* values include: 'Standard', 'WAF'
* values include: 'Standard', 'WAF', 'Standard_v2', 'WAF_v2'
* @member {number} [sku.capacity] Capacity (instance count) of an
* application gateway.
* @member {object} [sslPolicy] SSL policy of the application gateway
Expand Down Expand Up @@ -88,13 +88,23 @@ class ApplicationGateway extends models['Resource'] {
* Maxium request body size for WAF.
* @member {boolean} [enableHttp2] Whether HTTP2 is enabled on the
* application gateway resource.
* @member {boolean} [enableFips] Whether FIPS is enabled on the application
* gateway resource.
* @member {object} [autoscaleConfiguration] Autoscale Configuration.
* @member {object} [autoscaleConfiguration.bounds] Autoscale bounds
* @member {number} [autoscaleConfiguration.bounds.min] Lower bound on number
* of Application Gateway instances.
* @member {number} [autoscaleConfiguration.bounds.max] Upper bound on number
* of Application Gateway instances.
* @member {string} [resourceGuid] Resource GUID property of the application
* gateway resource.
* @member {string} [provisioningState] Provisioning state of the application
* gateway resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {array} [zones] A list of availability zones denoting where the
* resource needs to come from.
*/
constructor() {
super();
Expand Down Expand Up @@ -377,6 +387,21 @@ class ApplicationGateway extends models['Resource'] {
name: 'Boolean'
}
},
enableFips: {
required: false,
serializedName: 'properties.enableFips',
type: {
name: 'Boolean'
}
},
autoscaleConfiguration: {
required: false,
serializedName: 'properties.autoscaleConfiguration',
type: {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleConfiguration'
}
},
resourceGuid: {
required: false,
serializedName: 'properties.resourceGuid',
Expand All @@ -397,6 +422,20 @@ class ApplicationGateway extends models['Resource'] {
type: {
name: 'String'
}
},
zones: {
required: false,
serializedName: 'zones',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/*
* 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';

/**
* Application Gateway autoscale bounds on number of Application Gateway
* instance.
*
*/
class ApplicationGatewayAutoscaleBounds {
/**
* Create a ApplicationGatewayAutoscaleBounds.
* @member {number} min Lower bound on number of Application Gateway
* instances.
* @member {number} max Upper bound on number of Application Gateway
* instances.
*/
constructor() {
}

/**
* Defines the metadata of ApplicationGatewayAutoscaleBounds
*
* @returns {object} metadata of ApplicationGatewayAutoscaleBounds
*
*/
mapper() {
return {
required: false,
serializedName: 'ApplicationGatewayAutoscaleBounds',
type: {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleBounds',
modelProperties: {
min: {
required: true,
serializedName: 'min',
type: {
name: 'Number'
}
},
max: {
required: true,
serializedName: 'max',
type: {
name: 'Number'
}
}
}
}
};
}
}

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

/**
* Application Gateway autoscale configuration.
*
*/
class ApplicationGatewayAutoscaleConfiguration {
/**
* Create a ApplicationGatewayAutoscaleConfiguration.
* @member {object} bounds Autoscale bounds
* @member {number} [bounds.min] Lower bound on number of Application Gateway
* instances.
* @member {number} [bounds.max] Upper bound on number of Application Gateway
* instances.
*/
constructor() {
}

/**
* Defines the metadata of ApplicationGatewayAutoscaleConfiguration
*
* @returns {object} metadata of ApplicationGatewayAutoscaleConfiguration
*
*/
mapper() {
return {
required: false,
serializedName: 'ApplicationGatewayAutoscaleConfiguration',
type: {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleConfiguration',
modelProperties: {
bounds: {
required: true,
serializedName: 'bounds',
type: {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleBounds'
}
}
}
}
};
}
}

module.exports = ApplicationGatewayAutoscaleConfiguration;
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class ApplicationGatewaySku {
* Create a ApplicationGatewaySku.
* @member {string} [name] Name of an application gateway SKU. Possible
* values include: 'Standard_Small', 'Standard_Medium', 'Standard_Large',
* 'WAF_Medium', 'WAF_Large'
* 'WAF_Medium', 'WAF_Large', 'Standard_v2', 'WAF_v2'
* @member {string} [tier] Tier of an application gateway. Possible values
* include: 'Standard', 'WAF'
* include: 'Standard', 'WAF', 'Standard_v2', 'WAF_v2'
* @member {number} [capacity] Capacity (instance count) of an application
* gateway.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@

'use strict';

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

/**
* Response for GetConnectionSharedKey API service call
*
* @extends models['SubResource']
*/
class ConnectionSharedKey {
class ConnectionSharedKey extends models['SubResource'] {
/**
* Create a ConnectionSharedKey.
* @member {string} value The virtual network connection shared key value.
*/
constructor() {
super();
}

/**
Expand All @@ -36,6 +40,13 @@ class ConnectionSharedKey {
name: 'Composite',
className: 'ConnectionSharedKey',
modelProperties: {
id: {
required: false,
serializedName: 'id',
type: {
name: 'String'
}
},
value: {
required: true,
serializedName: 'value',
Expand Down
68 changes: 68 additions & 0 deletions lib/services/networkManagement2/lib/models/deviceProperties.js
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';

/**
* List of properties of the device.
*
*/
class DeviceProperties {
/**
* Create a DeviceProperties.
* @member {string} [deviceVendor] Name of the device Vendor.
* @member {string} [deviceModel] Model of the device.
* @member {number} [linkSpeedInMbps] Link speed.
*/
constructor() {
}

/**
* Defines the metadata of DeviceProperties
*
* @returns {object} metadata of DeviceProperties
*
*/
mapper() {
return {
required: false,
serializedName: 'DeviceProperties',
type: {
name: 'Composite',
className: 'DeviceProperties',
modelProperties: {
deviceVendor: {
required: false,
serializedName: 'deviceVendor',
type: {
name: 'String'
}
},
deviceModel: {
required: false,
serializedName: 'deviceModel',
type: {
name: 'String'
}
},
linkSpeedInMbps: {
required: false,
serializedName: 'linkSpeedInMbps',
type: {
name: 'Number'
}
}
}
}
};
}
}

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

/**
* List of Vpn-Sites
*
*/
class GetVpnSitesConfigurationRequest {
/**
* Create a GetVpnSitesConfigurationRequest.
* @member {array} [vpnSites] List of resource-ids of the vpn-sites for which
* config is to be downloaded.
* @member {string} [outputBlobSasUrl] The sas-url to download the
* configurations for vpn-sites
*/
constructor() {
}

/**
* Defines the metadata of GetVpnSitesConfigurationRequest
*
* @returns {object} metadata of GetVpnSitesConfigurationRequest
*
*/
mapper() {
return {
required: false,
serializedName: 'GetVpnSitesConfigurationRequest',
type: {
name: 'Composite',
className: 'GetVpnSitesConfigurationRequest',
modelProperties: {
vpnSites: {
required: false,
serializedName: 'vpnSites',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'SubResourceElementType',
type: {
name: 'Composite',
className: 'SubResource'
}
}
}
},
outputBlobSasUrl: {
required: false,
serializedName: 'outputBlobSasUrl',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = GetVpnSitesConfigurationRequest;
Loading