Skip to content

Commit

Permalink
CodeGen from PR 16270 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 8074a1bd2dde012fd6fab13c9869e08b0f13d209 into 99d3931e458882c3402aad2f971e46e961a1e78c
  • Loading branch information
SDKAuto committed Oct 13, 2021
1 parent b933b45 commit 39259d5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 23 deletions.
2 changes: 1 addition & 1 deletion sdk/netapp/arm-netapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
20 changes: 13 additions & 7 deletions sdk/netapp/arm-netapp/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -133,6 +139,9 @@ export interface ServiceSpecification {
* Metric specifications of operation.
*/
metricSpecifications?: MetricSpecification[];
/**
* Log specification of operation.
*/
logSpecifications?: LogSpecification[];
}

Expand Down Expand Up @@ -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.**
Expand Down Expand Up @@ -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;
/**
Expand Down Expand Up @@ -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;
/**
Expand Down
15 changes: 0 additions & 15 deletions sdk/netapp/arm-netapp/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -1616,10 +1609,6 @@ export const Volume: msRest.CompositeMapper = {
throughputMibps: {
serializedName: "properties.throughputMibps",
defaultValue: 0,
constraints: {
InclusiveMaximum: 4500,
InclusiveMinimum: 0
},
type: {
name: "Number"
}
Expand Down Expand Up @@ -1893,10 +1882,6 @@ export const VolumePatch: msRest.CompositeMapper = {
},
throughputMibps: {
serializedName: "properties.throughputMibps",
constraints: {
InclusiveMaximum: 4500,
InclusiveMinimum: 1
},
type: {
name: "Number"
}
Expand Down

0 comments on commit 39259d5

Please sign in to comment.