From 39259d5460e53a961cff195997de1fbb59747c2a Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 13 Oct 2021 11:59:58 +0000 Subject: [PATCH] CodeGen from PR 16270 in Azure/azure-rest-api-specs Merge 8074a1bd2dde012fd6fab13c9869e08b0f13d209 into 99d3931e458882c3402aad2f971e46e961a1e78c --- sdk/netapp/arm-netapp/package.json | 2 +- sdk/netapp/arm-netapp/src/models/index.ts | 20 +++++++++++++------- sdk/netapp/arm-netapp/src/models/mappers.ts | 15 --------------- 3 files changed, 14 insertions(+), 23 deletions(-) diff --git a/sdk/netapp/arm-netapp/package.json b/sdk/netapp/arm-netapp/package.json index 115c440a92c3..80240354162e 100644 --- a/sdk/netapp/arm-netapp/package.json +++ b/sdk/netapp/arm-netapp/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/netapp/arm-netapp", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/netapp/arm-netapp", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/netapp/arm-netapp/src/models/index.ts b/sdk/netapp/arm-netapp/src/models/index.ts index 0a594d0abef0..7d0d190e6e28 100644 --- a/sdk/netapp/arm-netapp/src/models/index.ts +++ b/sdk/netapp/arm-netapp/src/models/index.ts @@ -121,7 +121,13 @@ export interface MetricSpecification { * Log Definition of a single resource metric. */ export interface LogSpecification { + /** + * Name of log specification. + */ name?: string; + /** + * Display name of log specification. + */ displayName?: string; } @@ -133,6 +139,9 @@ export interface ServiceSpecification { * Metric specifications of operation. */ metricSpecifications?: MetricSpecification[]; + /** + * Log specification of operation. + */ logSpecifications?: LogSpecification[]; } @@ -307,11 +316,6 @@ export interface ProxyResource extends Resource { * Information regarding Subscription Quota Item. */ export interface SubscriptionQuotaItem extends ProxyResource { - /** - * Quota Item name - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly subscriptionQuotaItemName?: string; /** * The current quota value. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -985,7 +989,8 @@ export interface Volume extends BaseResource { */ smbContinuouslyAvailable?: boolean; /** - * Maximum throughput in Mibps that can be achieved by this volume. Default value: 0. + * Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as + * input only for manual qosType volume. Default value: 0. */ throughputMibps?: number; /** @@ -1156,7 +1161,8 @@ export interface VolumePatch extends BaseResource { */ exportPolicy?: VolumePatchPropertiesExportPolicy; /** - * Maximum throughput in Mibps that can be achieved by this volume. + * Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as + * input only for manual qosType volume. */ throughputMibps?: number; /** diff --git a/sdk/netapp/arm-netapp/src/models/mappers.ts b/sdk/netapp/arm-netapp/src/models/mappers.ts index f7a2c2334100..0c9d2e52556b 100644 --- a/sdk/netapp/arm-netapp/src/models/mappers.ts +++ b/sdk/netapp/arm-netapp/src/models/mappers.ts @@ -491,13 +491,6 @@ export const SubscriptionQuotaItem: msRest.CompositeMapper = { className: "SubscriptionQuotaItem", modelProperties: { ...ProxyResource.type.modelProperties, - subscriptionQuotaItemName: { - readOnly: true, - serializedName: "properties.name", - type: { - name: "String" - } - }, current: { readOnly: true, serializedName: "properties.current", @@ -1616,10 +1609,6 @@ export const Volume: msRest.CompositeMapper = { throughputMibps: { serializedName: "properties.throughputMibps", defaultValue: 0, - constraints: { - InclusiveMaximum: 4500, - InclusiveMinimum: 0 - }, type: { name: "Number" } @@ -1893,10 +1882,6 @@ export const VolumePatch: msRest.CompositeMapper = { }, throughputMibps: { serializedName: "properties.throughputMibps", - constraints: { - InclusiveMaximum: 4500, - InclusiveMinimum: 1 - }, type: { name: "Number" }