From e1d2d54ee4a3fdbb0b4edce3dd39225535b0e92c Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 16 Apr 2018 10:02:46 -0700 Subject: [PATCH] Generated from 3d3bc8bf17e73b22f7f978605ca2f78823d28a74 (#2744) add private ip address in addtional location --- .../lib/models/additionalLocation.js | 24 +++++++++++- .../apiManagementServiceBaseProperties.js | 9 +++-- .../models/apiManagementServiceResource.js | 9 +++-- .../apiManagementServiceUpdateParameters.js | 9 +++-- .../apimanagement/lib/models/index.d.ts | 37 ++++++++++++------- 5 files changed, 60 insertions(+), 28 deletions(-) diff --git a/lib/services/apimanagement/lib/models/additionalLocation.js b/lib/services/apimanagement/lib/models/additionalLocation.js index ff5bacf71d..3c28f6a608 100644 --- a/lib/services/apimanagement/lib/models/additionalLocation.js +++ b/lib/services/apimanagement/lib/models/additionalLocation.js @@ -26,8 +26,13 @@ class AdditionalLocation { * 'Developer', 'Standard', 'Premium', 'Basic' * @member {number} [sku.capacity] Capacity of the SKU (number of deployed * units of the SKU). The default value is 1. - * @member {array} [publicIPAddresses] Static IP addresses of the location's - * virtual machines. + * @member {array} [publicIPAddresses] Public Static Load Balanced IP + * addresses of the API Management service in the additional location. + * Available only for Basic, Standard and Premium SKU. + * @member {array} [privateIPAddresses] Private Static Load Balanced IP + * addresses of the API Management service which is deployed in an Internal + * Virtual Network in a particular additional location. Available only for + * Basic, Standard and Premium SKU. * @member {object} [virtualNetworkConfiguration] Virtual network * configuration for the location. * @member {string} [virtualNetworkConfiguration.vnetid] The virtual network @@ -87,6 +92,21 @@ class AdditionalLocation { } } }, + privateIPAddresses: { + required: false, + readOnly: true, + serializedName: 'privateIPAddresses', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }, virtualNetworkConfiguration: { required: false, serializedName: 'virtualNetworkConfiguration', diff --git a/lib/services/apimanagement/lib/models/apiManagementServiceBaseProperties.js b/lib/services/apimanagement/lib/models/apiManagementServiceBaseProperties.js index fc03d723c0..4f0e0eb5f8 100644 --- a/lib/services/apimanagement/lib/models/apiManagementServiceBaseProperties.js +++ b/lib/services/apimanagement/lib/models/apiManagementServiceBaseProperties.js @@ -41,11 +41,12 @@ class ApiManagementServiceBaseProperties { * @member {array} [hostnameConfigurations] Custom hostname configuration of * the API Management service. * @member {array} [publicIPAddresses] Public Static Load Balanced IP - * addresses of the API Management service. Available only for Basic, - * Standard and Premium SKU. + * addresses of the API Management service in Primary region. Available only + * for Basic, Standard and Premium SKU. * @member {array} [privateIPAddresses] Private Static Load Balanced IP - * addresses of the API Management service which is deployed in an Internal - * Virtual Network. Available only for Basic, Standard and Premium SKU. + * addresses of the API Management service in Primary region which is + * deployed in an Internal Virtual Network. Available only for Basic, + * Standard and Premium SKU. * @member {object} [virtualNetworkConfiguration] Virtual network * configuration of the API Management service. * @member {string} [virtualNetworkConfiguration.vnetid] The virtual network diff --git a/lib/services/apimanagement/lib/models/apiManagementServiceResource.js b/lib/services/apimanagement/lib/models/apiManagementServiceResource.js index 325ca82aba..e27f9c993d 100644 --- a/lib/services/apimanagement/lib/models/apiManagementServiceResource.js +++ b/lib/services/apimanagement/lib/models/apiManagementServiceResource.js @@ -42,11 +42,12 @@ class ApiManagementServiceResource extends models['ApimResource'] { * @member {array} [hostnameConfigurations] Custom hostname configuration of * the API Management service. * @member {array} [publicIPAddresses] Public Static Load Balanced IP - * addresses of the API Management service. Available only for Basic, - * Standard and Premium SKU. + * addresses of the API Management service in Primary region. Available only + * for Basic, Standard and Premium SKU. * @member {array} [privateIPAddresses] Private Static Load Balanced IP - * addresses of the API Management service which is deployed in an Internal - * Virtual Network. Available only for Basic, Standard and Premium SKU. + * addresses of the API Management service in Primary region which is + * deployed in an Internal Virtual Network. Available only for Basic, + * Standard and Premium SKU. * @member {object} [virtualNetworkConfiguration] Virtual network * configuration of the API Management service. * @member {string} [virtualNetworkConfiguration.vnetid] The virtual network diff --git a/lib/services/apimanagement/lib/models/apiManagementServiceUpdateParameters.js b/lib/services/apimanagement/lib/models/apiManagementServiceUpdateParameters.js index b22066d438..f098b0acc3 100644 --- a/lib/services/apimanagement/lib/models/apiManagementServiceUpdateParameters.js +++ b/lib/services/apimanagement/lib/models/apiManagementServiceUpdateParameters.js @@ -42,11 +42,12 @@ class ApiManagementServiceUpdateParameters extends models['ApimResource'] { * @member {array} [hostnameConfigurations] Custom hostname configuration of * the API Management service. * @member {array} [publicIPAddresses] Public Static Load Balanced IP - * addresses of the API Management service. Available only for Basic, - * Standard and Premium SKU. + * addresses of the API Management service in Primary region. Available only + * for Basic, Standard and Premium SKU. * @member {array} [privateIPAddresses] Private Static Load Balanced IP - * addresses of the API Management service which is deployed in an Internal - * Virtual Network. Available only for Basic, Standard and Premium SKU. + * addresses of the API Management service in Primary region which is + * deployed in an Internal Virtual Network. Available only for Basic, + * Standard and Premium SKU. * @member {object} [virtualNetworkConfiguration] Virtual network * configuration of the API Management service. * @member {string} [virtualNetworkConfiguration.vnetid] The virtual network diff --git a/lib/services/apimanagement/lib/models/index.d.ts b/lib/services/apimanagement/lib/models/index.d.ts index 31a6ed6b68..373f0ed690 100644 --- a/lib/services/apimanagement/lib/models/index.d.ts +++ b/lib/services/apimanagement/lib/models/index.d.ts @@ -1854,8 +1854,13 @@ export interface ApiManagementServiceSkuProperties { * 'Developer', 'Standard', 'Premium', 'Basic' * @member {number} [sku.capacity] Capacity of the SKU (number of deployed * units of the SKU). The default value is 1. - * @member {array} [publicIPAddresses] Static IP addresses of the location's - * virtual machines. + * @member {array} [publicIPAddresses] Public Static Load Balanced IP addresses + * of the API Management service in the additional location. Available only for + * Basic, Standard and Premium SKU. + * @member {array} [privateIPAddresses] Private Static Load Balanced IP + * addresses of the API Management service which is deployed in an Internal + * Virtual Network in a particular additional location. Available only for + * Basic, Standard and Premium SKU. * @member {object} [virtualNetworkConfiguration] Virtual network configuration * for the location. * @member {string} [virtualNetworkConfiguration.vnetid] The virtual network @@ -1872,6 +1877,7 @@ export interface AdditionalLocation { location: string; sku: ApiManagementServiceSkuProperties; readonly publicIPAddresses?: string[]; + readonly privateIPAddresses?: string[]; virtualNetworkConfiguration?: VirtualNetworkConfiguration; readonly gatewayRegionalUrl?: string; } @@ -1926,11 +1932,12 @@ export interface ApiManagementServiceBackupRestoreParameters { * @member {array} [hostnameConfigurations] Custom hostname configuration of * the API Management service. * @member {array} [publicIPAddresses] Public Static Load Balanced IP addresses - * of the API Management service. Available only for Basic, Standard and - * Premium SKU. + * of the API Management service in Primary region. Available only for Basic, + * Standard and Premium SKU. * @member {array} [privateIPAddresses] Private Static Load Balanced IP - * addresses of the API Management service which is deployed in an Internal - * Virtual Network. Available only for Basic, Standard and Premium SKU. + * addresses of the API Management service in Primary region which is deployed + * in an Internal Virtual Network. Available only for Basic, Standard and + * Premium SKU. * @member {object} [virtualNetworkConfiguration] Virtual network configuration * of the API Management service. * @member {string} [virtualNetworkConfiguration.vnetid] The virtual network @@ -2044,11 +2051,12 @@ export interface ApimResource extends BaseResource { * @member {array} [hostnameConfigurations] Custom hostname configuration of * the API Management service. * @member {array} [publicIPAddresses] Public Static Load Balanced IP addresses - * of the API Management service. Available only for Basic, Standard and - * Premium SKU. + * of the API Management service in Primary region. Available only for Basic, + * Standard and Premium SKU. * @member {array} [privateIPAddresses] Private Static Load Balanced IP - * addresses of the API Management service which is deployed in an Internal - * Virtual Network. Available only for Basic, Standard and Premium SKU. + * addresses of the API Management service in Primary region which is deployed + * in an Internal Virtual Network. Available only for Basic, Standard and + * Premium SKU. * @member {object} [virtualNetworkConfiguration] Virtual network configuration * of the API Management service. * @member {string} [virtualNetworkConfiguration.vnetid] The virtual network @@ -2148,11 +2156,12 @@ export interface ApiManagementServiceResource extends ApimResource { * @member {array} [hostnameConfigurations] Custom hostname configuration of * the API Management service. * @member {array} [publicIPAddresses] Public Static Load Balanced IP addresses - * of the API Management service. Available only for Basic, Standard and - * Premium SKU. + * of the API Management service in Primary region. Available only for Basic, + * Standard and Premium SKU. * @member {array} [privateIPAddresses] Private Static Load Balanced IP - * addresses of the API Management service which is deployed in an Internal - * Virtual Network. Available only for Basic, Standard and Premium SKU. + * addresses of the API Management service in Primary region which is deployed + * in an Internal Virtual Network. Available only for Basic, Standard and + * Premium SKU. * @member {object} [virtualNetworkConfiguration] Virtual network configuration * of the API Management service. * @member {string} [virtualNetworkConfiguration.vnetid] The virtual network