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
17 changes: 17 additions & 0 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 @@ -222,6 +224,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 @@ -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 @@ -86,10 +86,17 @@ 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.resourceNavigationLinks] Gets an
* array of references to the external resources using 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 @@ -182,12 +189,22 @@ 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.resourceNavigationLinks]
* Gets an array of references to the external resources using 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;
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AzureFirewallApplicationRule {
* @member {array} [sourceAddresses] List of source IP addresses for this
* rule.
* @member {array} [protocols] Array of ApplicationRuleProtocols.
* @member {array} [targetUrls] List of URLs for this rule.
* @member {array} [targetFqdns] List of FQDNs for this rule.
* @member {array} [fqdnTags] List of FQDN Tags for this rule.
*/
constructor() {
Expand Down Expand Up @@ -87,9 +87,9 @@ class AzureFirewallApplicationRule {
}
}
},
targetUrls: {
targetFqdns: {
required: false,
serializedName: 'targetUrls',
serializedName: 'targetFqdns',
type: {
name: 'Sequence',
element: {
Expand Down
55 changes: 55 additions & 0 deletions lib/services/networkManagement2/lib/models/container.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/*
* 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');

/**
* Reference to container resource in remote resource provider.
*
* @extends models['SubResource']
*/
class Container extends models['SubResource'] {
/**
* Create a Container.
*/
constructor() {
super();
}

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

module.exports = Container;
Loading