Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
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 @@ -88,6 +88,8 @@ 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
Expand Down Expand Up @@ -385,6 +387,13 @@ class ApplicationGateway extends models['Resource'] {
name: 'Boolean'
}
},
enableFIPS: {
required: false,
serializedName: 'properties.enableFIPS',
type: {
name: 'Boolean'
}
},
autoscaleConfiguration: {
required: false,
serializedName: 'properties.autoscaleConfiguration',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ class ApplicationGatewayBackendHealthServer {
* changes whenever the resource is updated.
* @member {string} [health] Health of backend server. Possible values
* include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'
* @member {string} [healthProbeLog] Log to indicate probe failure cause.
*/
constructor() {
}
Expand Down Expand Up @@ -282,6 +283,13 @@ class ApplicationGatewayBackendHealthServer {
type: {
name: 'String'
}
},
healthProbeLog: {
required: false,
serializedName: 'healthProbeLog',
type: {
name: 'String'
}
}
}
}
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;
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
/*
* 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');

/**
* HubVirtualNetworkConnection Resource.
*
* @extends models['Resource']
*/
class HubVirtualNetworkConnection extends models['Resource'] {
/**
* Create a HubVirtualNetworkConnection.
* @member {object} [remoteVirtualNetwork] Reference to the remote virtual
* network.
* @member {string} [remoteVirtualNetwork.id] Resource ID.
* @member {boolean} [allowHubToRemoteVnetTransit] VirtualHub to RemoteVnet
* transit to enabled or not.
* @member {boolean} [allowRemoteVnetToUseHubVnetGateways] Allow RemoteVnet
* to use Virtual Hub's gateways.
* @member {string} [provisioningState] The provisioning state of the
* resource. Possible values include: 'Succeeded', 'Updating', 'Deleting',
* 'Failed'
* @member {string} [etag] Gets a unique read-only string that changes
* whenever the resource is updated.
*/
constructor() {
super();
}

/**
* Defines the metadata of HubVirtualNetworkConnection
*
* @returns {object} metadata of HubVirtualNetworkConnection
*
*/
mapper() {
return {
required: false,
serializedName: 'HubVirtualNetworkConnection',
type: {
name: 'Composite',
className: 'HubVirtualNetworkConnection',
modelProperties: {
id: {
required: false,
serializedName: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
type: {
required: false,
readOnly: true,
serializedName: 'type',
type: {
name: 'String'
}
},
location: {
required: false,
serializedName: 'location',
type: {
name: 'String'
}
},
tags: {
required: false,
serializedName: 'tags',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
remoteVirtualNetwork: {
required: false,
serializedName: 'properties.remoteVirtualNetwork',
type: {
name: 'Composite',
className: 'SubResource'
}
},
allowHubToRemoteVnetTransit: {
required: false,
serializedName: 'properties.allowHubToRemoteVnetTransit',
type: {
name: 'Boolean'
}
},
allowRemoteVnetToUseHubVnetGateways: {
required: false,
serializedName: 'properties.allowRemoteVnetToUseHubVnetGateways',
type: {
name: 'Boolean'
}
},
provisioningState: {
required: false,
serializedName: 'properties.provisioningState',
type: {
name: 'String'
}
},
etag: {
required: false,
readOnly: true,
serializedName: 'etag',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = HubVirtualNetworkConnection;
Loading