Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR network/resource-manager] Adding support for interface endpoints #3477

Closed
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 @@ -86,6 +86,8 @@ 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
Expand Down Expand Up @@ -182,6 +184,9 @@ 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.
Expand Down
53 changes: 53 additions & 0 deletions lib/services/networkManagement2/lib/models/endpointService.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/*
* 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';

/**
* Identifies the service being brought into the virtual network.
*
*/
class EndpointService {
/**
* Create a EndpointService.
* @member {string} [id] A unique identifier of the service being referenced
* by the interface endpoint.
*/
constructor() {
}

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

module.exports = EndpointService;
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ class FrontendIPConfiguration extends models['SubResource'] {
* @member {array} [subnet.serviceEndpoints] An array of service endpoints.
* @member {array} [subnet.serviceEndpointPolicies] An array of service
* endpoint policies.
* @member {array} [subnet.interfaceEndpoints] An array of references to
* interface endpoints
* @member {array} [subnet.ipConfigurations] Gets an array of references to
* the network interface IP configurations using subnet.
* @member {array} [subnet.resourceNavigationLinks] Gets an array of
Expand Down Expand Up @@ -154,6 +156,9 @@ class FrontendIPConfiguration extends models['SubResource'] {
* @member {array}
* [publicIPAddress.ipConfiguration.subnet.serviceEndpointPolicies] An array
* of service endpoint policies.
* @member {array}
* [publicIPAddress.ipConfiguration.subnet.interfaceEndpoints] An array of
* references to interface endpoints
* @member {array} [publicIPAddress.ipConfiguration.subnet.ipConfigurations]
* Gets an array of references to the network interface IP configurations
* using subnet.
Expand Down
2 changes: 2 additions & 0 deletions lib/services/networkManagement2/lib/models/iPConfiguration.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ class IPConfiguration extends models['SubResource'] {
* @member {array} [subnet.serviceEndpoints] An array of service endpoints.
* @member {array} [subnet.serviceEndpointPolicies] An array of service
* endpoint policies.
* @member {array} [subnet.interfaceEndpoints] An array of references to
* interface endpoints
* @member {array} [subnet.ipConfigurations] Gets an array of references to
* the network interface IP configurations using subnet.
* @member {array} [subnet.resourceNavigationLinks] Gets an array of
Expand Down
5 changes: 5 additions & 0 deletions lib/services/networkManagement2/lib/models/inboundNatRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ class InboundNatRule extends models['SubResource'] {
* of service endpoints.
* @member {array} [backendIPConfiguration.subnet.serviceEndpointPolicies] An
* array of service endpoint policies.
* @member {array} [backendIPConfiguration.subnet.interfaceEndpoints] An
* array of references to interface endpoints
* @member {array} [backendIPConfiguration.subnet.ipConfigurations] Gets an
* array of references to the network interface IP configurations using
* subnet.
Expand Down Expand Up @@ -194,6 +196,9 @@ class InboundNatRule extends models['SubResource'] {
* [backendIPConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpointPolicies]
* An array of service endpoint policies.
* @member {array}
* [backendIPConfiguration.publicIPAddress.ipConfiguration.subnet.interfaceEndpoints]
* An array of references to interface endpoints
* @member {array}
* [backendIPConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurations]
* Gets an array of references to the network interface IP configurations
* using subnet.
Expand Down
Loading