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

Commit

Permalink
[Storage] Rename SKUs to skus.
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonYang-MSFT committed Sep 12, 2017
1 parent eb770c8 commit b6f9285
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions lib/services/storageManagement2/lib/operations/index.d.ts
Expand Up @@ -74,11 +74,11 @@ export interface Operations {

/**
* @class
* SKUs
* Skus
* __NOTE__: An instance of this class is automatically created for an
* instance of the StorageManagementClient.
*/
export interface SKUs {
export interface Skus {


/**
Expand Down
2 changes: 1 addition & 1 deletion lib/services/storageManagement2/lib/operations/index.js
Expand Up @@ -15,6 +15,6 @@
'use strict';

exports.Operations = require('./operations');
exports.SKUs = require('./sKUs');
exports.Skus = require('./skus');
exports.StorageAccounts = require('./storageAccounts');
exports.UsageOperations = require('./usageOperations');
Expand Up @@ -148,10 +148,10 @@ function _list(options, callback) {
});
}

/** Class representing a SKUs. */
class SKUs {
/** Class representing a Skus. */
class Skus {
/**
* Create a SKUs.
* Create a Skus.
* @param {StorageManagementClient} client Reference to the service client.
*/
constructor(client) {
Expand Down Expand Up @@ -241,4 +241,4 @@ class SKUs {

}

module.exports = SKUs;
module.exports = Skus;
Expand Up @@ -58,7 +58,7 @@ declare class StorageManagementClient extends AzureServiceClient {

// Operation groups
operations: operations.Operations;
sKUs: operations.SKUs;
skus: operations.Skus;
storageAccounts: operations.StorageAccounts;
usageOperations: operations.UsageOperations;
}
Expand Down
Expand Up @@ -77,7 +77,7 @@ class StorageManagementClient extends ServiceClient {
this.generateClientRequestId = options.generateClientRequestId;
}
this.operations = new operations.Operations(this);
this.sKUs = new operations.SKUs(this);
this.skus = new operations.Skus(this);
this.storageAccounts = new operations.StorageAccounts(this);
this.usageOperations = new operations.UsageOperations(this);
this.models = models;
Expand Down
Expand Up @@ -330,7 +330,7 @@ describe('Storage Management', function () {
});

it('should list the skus for subscription', function (done) {
client.sKUs.list(function (err, result, request, response) {
client.skus.list(function (err, result, request, response) {
should.not.exist(err);
response.statusCode.should.equal(200);
should.exist(result);
Expand Down

0 comments on commit b6f9285

Please sign in to comment.