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
24 changes: 19 additions & 5 deletions lib/services/networkManagement2/lib/models/applicationGateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class ApplicationGateway extends models['Resource'] {
* gateway resource.
* @member {array} [authenticationCertificates] Authentication certificates
* of the application gateway resource.
* @member {array} [trustedRootCertificates] Trusted Root certificates of the
* application gateway resource.
* @member {array} [sslCertificates] SSL certificates of the application
* gateway resource.
* @member {array} [frontendIPConfigurations] Frontend IP addresses of the
Expand Down Expand Up @@ -91,11 +93,8 @@ class ApplicationGateway extends models['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 {number} [autoscaleConfiguration.minCapacity] Lower 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
Expand Down Expand Up @@ -222,6 +221,21 @@ class ApplicationGateway extends models['Resource'] {
}
}
},
trustedRootCertificates: {
required: false,
serializedName: 'properties.trustedRootCertificates',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ApplicationGatewayTrustedRootCertificateElementType',
type: {
name: 'Composite',
className: 'ApplicationGatewayTrustedRootCertificate'
}
}
}
},
sslCertificates: {
required: false,
serializedName: 'properties.sslCertificates',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,15 @@

'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.
* @member {number} minCapacity Lower bound on number of Application Gateway
* instances
*/
constructor() {
}
Expand All @@ -42,12 +37,14 @@ class ApplicationGatewayAutoscaleConfiguration {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleConfiguration',
modelProperties: {
bounds: {
minCapacity: {
required: true,
serializedName: 'bounds',
serializedName: 'minCapacity',
constraints: {
InclusiveMinimum: 2
},
type: {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleBounds'
name: 'Number'
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class ApplicationGatewayBackendHealthHttpSettings {
* @member {string} [backendHttpSettings.probe.id] Resource ID.
* @member {array} [backendHttpSettings.authenticationCertificates] Array of
* references to application gateway authentication certificates.
* @member {array} [backendHttpSettings.trustedRootCertificates] Array of
* references to application gateway trusted root certificates.
* @member {object} [backendHttpSettings.connectionDraining] Connection
* draining of the backend http settings resource.
* @member {boolean} [backendHttpSettings.connectionDraining.enabled] Whether
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class ApplicationGatewayBackendHealthServer {
* @member {string} [address] IP address or FQDN of backend server.
* @member {object} [ipConfiguration] Reference of IP configuration of
* backend server.
* @member {array} [ipConfiguration.virtualNetworkTaps] The reference to
* Virtual Network Taps.
* @member {array} [ipConfiguration.applicationGatewayBackendAddressPools]
* The reference of ApplicationGatewayBackendAddressPool resource.
* @member {array} [ipConfiguration.loadBalancerBackendAddressPools] The
Expand All @@ -41,6 +43,8 @@ class ApplicationGatewayBackendHealthServer {
* configuration.
* @member {string} [ipConfiguration.subnet.addressPrefix] The address prefix
* for the subnet.
* @member {array} [ipConfiguration.subnet.addressPrefixes] List of address
* prefixes for the subnet.
* @member {object} [ipConfiguration.subnet.networkSecurityGroup] The
* reference of the NetworkSecurityGroup resource.
* @member {array}
Expand Down Expand Up @@ -82,10 +86,21 @@ class ApplicationGatewayBackendHealthServer {
* service endpoints.
* @member {array} [ipConfiguration.subnet.serviceEndpointPolicies] An array
* of service endpoint policies.
* @member {array} [ipConfiguration.subnet.interfaceEndpoints] An array of
* references to interface endpoints
* @member {array} [ipConfiguration.subnet.ipConfigurations] Gets an array of
* references to the network interface IP configurations using subnet.
* @member {array} [ipConfiguration.subnet.ipConfigurationProfiles] Array of
* IP configuration profiles which reference this subnet.
* @member {array} [ipConfiguration.subnet.resourceNavigationLinks] Gets an
* array of references to the external resources using subnet.
* @member {array} [ipConfiguration.subnet.serviceAssociationLinks] Gets an
* array of references to services injecting into this subnet.
* @member {array} [ipConfiguration.subnet.delegations] Gets an array of
* references to the delegations on the subnet.
* @member {string} [ipConfiguration.subnet.purpose] A read-only string
* identifying the intention of use for this subnet based on delegations and
* other user-defined properties.
* @member {string} [ipConfiguration.subnet.provisioningState] The
* provisioning state of the resource.
* @member {string} [ipConfiguration.subnet.name] The name of the resource
Expand Down Expand Up @@ -122,6 +137,9 @@ class ApplicationGatewayBackendHealthServer {
* @member {string}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.addressPrefix] The
* address prefix for the subnet.
* @member {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.addressPrefixes]
* List of address prefixes for the subnet.
* @member {object}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup]
* The reference of the NetworkSecurityGroup resource.
Expand Down Expand Up @@ -175,12 +193,28 @@ class ApplicationGatewayBackendHealthServer {
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpointPolicies]
* An array of service endpoint policies.
* @member {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.interfaceEndpoints]
* An array of references to interface endpoints
* @member {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurations]
* Gets an array of references to the network interface IP configurations
* using subnet.
* @member {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurationProfiles]
* Array of IP configuration profiles which reference this subnet.
* @member {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.resourceNavigationLinks]
* Gets an array of references to the external resources using subnet.
* @member {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.serviceAssociationLinks]
* Gets an array of references to services injecting into this subnet.
* @member {array}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.delegations] Gets
* an array of references to the delegations on the subnet.
* @member {string}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.purpose] A
* read-only string identifying the intention of use for this subnet based on
* delegations and other user-defined properties.
* @member {string}
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.provisioningState]
* The provisioning state of the resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class ApplicationGatewayBackendHttpSettings extends models['SubResource'] {
* @member {string} [probe.id] Resource ID.
* @member {array} [authenticationCertificates] Array of references to
* application gateway authentication certificates.
* @member {array} [trustedRootCertificates] Array of references to
* application gateway trusted root certificates.
* @member {object} [connectionDraining] Connection draining of the backend
* http settings resource.
* @member {boolean} [connectionDraining.enabled] Whether connection draining
Expand Down Expand Up @@ -135,6 +137,21 @@ class ApplicationGatewayBackendHttpSettings extends models['SubResource'] {
}
}
},
trustedRootCertificates: {
required: false,
serializedName: 'properties.trustedRootCertificates',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'SubResourceElementType',
type: {
name: 'Composite',
className: 'SubResource'
}
}
}
},
connectionDraining: {
required: false,
serializedName: 'properties.connectionDraining',
Expand Down
94 changes: 94 additions & 0 deletions lib/services/networkManagement2/lib/models/availableDelegation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
/*
* 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';

/**
* The serviceName of an AvailableDelegation indicates a possible delegation
* for a subnet.
*
*/
class AvailableDelegation {
/**
* Create a AvailableDelegation.
* @member {string} [name] The name of the AvailableDelegation resource.
* @member {string} [id] A unique identifier of the AvailableDelegation
* resource.
* @member {string} [type] Resource type.
* @member {string} [serviceName] The name of the service and resource
* @member {array} [actions] Describes the actions permitted to the service
* upon delegation
*/
constructor() {
}

/**
* Defines the metadata of AvailableDelegation
*
* @returns {object} metadata of AvailableDelegation
*
*/
mapper() {
return {
required: false,
serializedName: 'AvailableDelegation',
type: {
name: 'Composite',
className: 'AvailableDelegation',
modelProperties: {
name: {
required: false,
serializedName: 'name',
type: {
name: 'String'
}
},
id: {
required: false,
serializedName: 'id',
type: {
name: 'String'
}
},
type: {
required: false,
serializedName: 'type',
type: {
name: 'String'
}
},
serviceName: {
required: false,
serializedName: 'serviceName',
type: {
name: 'String'
}
},
actions: {
required: false,
serializedName: 'actions',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
};
}
}

module.exports = AvailableDelegation;
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';

/**
* An array of available delegations.
*/
class AvailableDelegationsResult extends Array {
/**
* Create a AvailableDelegationsResult.
* @member {string} [nextLink] The URL to get the next set of results.
*/
constructor() {
super();
}

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

module.exports = AvailableDelegationsResult;
Loading