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

[AutoPR] storage/resource-manager #3266

Merged
3 commits merged into from
Aug 20, 2018
Merged
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
2 changes: 0 additions & 2 deletions lib/services/storageManagement2/lib/models/encryption.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The encryption settings on the storage account.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* A list of services that support encryption.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The properties of an ImmutabilityPolicy of a blob container.
*
Expand Down
7 changes: 5 additions & 2 deletions lib/services/storageManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ export { CloudError } from 'ms-rest-azure';
* @member {string} [resource] Resource on which the operation is performed
* etc.
* @member {string} [operation] Type of operation: get, read, delete, etc.
* @member {string} [description] Description of the operation.
*/
export interface OperationDisplay {
provider?: string;
resource?: string;
operation?: string;
description?: string;
}

/**
Expand Down Expand Up @@ -104,6 +106,7 @@ export interface ServiceSpecification {
* performed etc.
* @member {string} [display.operation] Type of operation: get, read, delete,
* etc.
* @member {string} [display.description] Description of the operation.
* @member {string} [origin] The origin of operations.
* @member {object} [serviceSpecification] One property of operation, include
* metric specifications.
Expand Down Expand Up @@ -1071,7 +1074,7 @@ export interface ListAccountSasResponse {
*
* @member {string} canonicalizedResource The canonical path to the signed
* resource.
* @member {string} resource The signed services accessible with the service
* @member {string} [resource] The signed services accessible with the service
* SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).
* Possible values include: 'b', 'c', 'f', 's'
* @member {string} [permissions] The signed permissions for the service SAS.
Expand Down Expand Up @@ -1107,7 +1110,7 @@ export interface ListAccountSasResponse {
*/
export interface ServiceSasParameters {
canonicalizedResource: string;
resource: string;
resource?: string;
permissions?: string;
iPAddressOrRange?: string;
protocols?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The LegalHold property of a blob container.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The list of blob containers.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Metric specification of operation.
*
Expand Down
2 changes: 0 additions & 2 deletions lib/services/storageManagement2/lib/models/networkRuleSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Network rule set
*
Expand Down
3 changes: 1 addition & 2 deletions lib/services/storageManagement2/lib/models/operation.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Storage REST API operation definition.
*
Expand All @@ -26,6 +24,7 @@ class Operation {
* performed etc.
* @member {string} [display.operation] Type of operation: get, read, delete,
* etc.
* @member {string} [display.description] Description of the operation.
* @member {string} [origin] The origin of operations.
* @member {object} [serviceSpecification] One property of operation, include
* metric specifications.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class OperationDisplay {
* @member {string} [resource] Resource on which the operation is performed
* etc.
* @member {string} [operation] Type of operation: get, read, delete, etc.
* @member {string} [description] Description of the operation.
*/
constructor() {
}
Expand Down Expand Up @@ -59,6 +60,13 @@ class OperationDisplay {
type: {
name: 'String'
}
},
description: {
required: false,
serializedName: 'description',
type: {
name: 'String'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class ServiceSasParameters {
* Create a ServiceSasParameters.
* @member {string} canonicalizedResource The canonical path to the signed
* resource.
* @member {string} resource The signed services accessible with the service
* SAS. Possible values include: Blob (b), Container (c), File (f), Share
* (s). Possible values include: 'b', 'c', 'f', 's'
* @member {string} [resource] The signed services accessible with the
* service SAS. Possible values include: Blob (b), Container (c), File (f),
* Share (s). Possible values include: 'b', 'c', 'f', 's'
* @member {string} [permissions] The signed permissions for the service SAS.
* Possible values include: Read (r), Write (w), Delete (d), List (l), Add
* (a), Create (c), Update (u) and Process (p). Possible values include: 'r',
Expand Down Expand Up @@ -78,7 +78,7 @@ class ServiceSasParameters {
}
},
resource: {
required: true,
required: false,
serializedName: 'signedResource',
type: {
name: 'String'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* One property of operation, include metric specifications.
*
Expand Down
2 changes: 0 additions & 2 deletions lib/services/storageManagement2/lib/models/sku.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The SKU of the storage account.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The parameters used when creating a storage account.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The response from the ListKeys operation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The parameters that can be provided when updating the storage account
* properties.
Expand Down
2 changes: 0 additions & 2 deletions lib/services/storageManagement2/lib/models/usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Describes Storage Resource Usage.
*
Expand Down
8 changes: 4 additions & 4 deletions lib/services/storageManagement2/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1282,8 +1282,8 @@ export interface StorageAccounts {
* @param {string} parameters.canonicalizedResource The canonical path to the
* signed resource.
*
* @param {string} parameters.resource The signed services accessible with the
* service SAS. Possible values include: Blob (b), Container (c), File (f),
* @param {string} [parameters.resource] The signed services accessible with
* the service SAS. Possible values include: Blob (b), Container (c), File (f),
* Share (s). Possible values include: 'b', 'c', 'f', 's'
*
* @param {string} [parameters.permissions] The signed permissions for the
Expand Down Expand Up @@ -1362,8 +1362,8 @@ export interface StorageAccounts {
* @param {string} parameters.canonicalizedResource The canonical path to the
* signed resource.
*
* @param {string} parameters.resource The signed services accessible with the
* service SAS. Possible values include: Blob (b), Container (c), File (f),
* @param {string} [parameters.resource] The signed services accessible with
* the service SAS. Possible values include: Blob (b), Container (c), File (f),
* Share (s). Possible values include: 'b', 'c', 'f', 's'
*
* @param {string} [parameters.permissions] The signed permissions for the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1997,8 +1997,8 @@ function _listAccountSAS(resourceGroupName, accountName, parameters, options, ca
* @param {string} parameters.canonicalizedResource The canonical path to the
* signed resource.
*
* @param {string} parameters.resource The signed services accessible with the
* service SAS. Possible values include: Blob (b), Container (c), File (f),
* @param {string} [parameters.resource] The signed services accessible with
* the service SAS. Possible values include: Blob (b), Container (c), File (f),
* Share (s). Possible values include: 'b', 'c', 'f', 's'
*
* @param {string} [parameters.permissions] The signed permissions for the
Expand Down Expand Up @@ -4554,8 +4554,8 @@ class StorageAccounts {
* @param {string} parameters.canonicalizedResource The canonical path to the
* signed resource.
*
* @param {string} parameters.resource The signed services accessible with the
* service SAS. Possible values include: Blob (b), Container (c), File (f),
* @param {string} [parameters.resource] The signed services accessible with
* the service SAS. Possible values include: Blob (b), Container (c), File (f),
* Share (s). Possible values include: 'b', 'c', 'f', 's'
*
* @param {string} [parameters.permissions] The signed permissions for the
Expand Down Expand Up @@ -4646,8 +4646,8 @@ class StorageAccounts {
* @param {string} parameters.canonicalizedResource The canonical path to the
* signed resource.
*
* @param {string} parameters.resource The signed services accessible with the
* service SAS. Possible values include: Blob (b), Container (c), File (f),
* @param {string} [parameters.resource] The signed services accessible with
* the service SAS. Possible values include: Blob (b), Container (c), File (f),
* Share (s). Possible values include: 'b', 'c', 'f', 's'
*
* @param {string} [parameters.permissions] The signed permissions for the
Expand Down
Loading