Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
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: 1 addition & 1 deletion lib/services/storageManagement2/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
22 changes: 11 additions & 11 deletions lib/services/storageManagement2/lib/models/accountSasParameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@
class AccountSasParameters {
/**
* Create a AccountSasParameters.
* @member {string} services The signed services accessible with the account
* SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).
* Possible values include: 'b', 'q', 't', 'f'
* @member {string} resourceTypes The signed resource types that are
* @property {string} services The signed services accessible with the
* account SAS. Possible values include: Blob (b), Queue (q), Table (t), File
* (f). Possible values include: 'b', 'q', 't', 'f'
* @property {string} resourceTypes The signed resource types that are
* accessible with the account SAS. Service (s): Access to service-level
* APIs; Container (c): Access to container-level APIs; Object (o): Access to
* object-level APIs for blobs, queue messages, table entities, and files.
* Possible values include: 's', 'c', 'o'
* @member {string} permissions The signed permissions for the account SAS.
* @property {string} permissions The signed permissions for the account 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',
* 'd', 'w', 'l', 'a', 'c', 'u', 'p'
* @member {string} [iPAddressOrRange] An IP address or a range of IP
* @property {string} [iPAddressOrRange] An IP address or a range of IP
* addresses from which to accept requests.
* @member {string} [protocols] The protocol permitted for a request made
* @property {string} [protocols] The protocol permitted for a request made
* with the account SAS. Possible values include: 'https,http', 'https'
* @member {date} [sharedAccessStartTime] The time at which the SAS becomes
* @property {date} [sharedAccessStartTime] The time at which the SAS becomes
* valid.
* @member {date} sharedAccessExpiryTime The time at which the shared access
* signature becomes invalid.
* @member {string} [keyToSign] The key to sign the account SAS token with.
* @property {date} sharedAccessExpiryTime The time at which the shared
* access signature becomes invalid.
* @property {string} [keyToSign] The key to sign the account SAS token with.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const models = require('./index');
class AzureEntityResource extends models['Resource'] {
/**
* Create a AzureEntityResource.
* @member {string} [etag] Resource Etag.
* @property {string} [etag] Resource Etag.
*/
constructor() {
super();
Expand Down
45 changes: 23 additions & 22 deletions lib/services/storageManagement2/lib/models/blobContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,49 +21,50 @@ const models = require('./index');
class BlobContainer extends models['AzureEntityResource'] {
/**
* Create a BlobContainer.
* @member {string} [publicAccess] Specifies whether data in the container
* @property {string} [publicAccess] Specifies whether data in the container
* may be accessed publicly and the level of access. Possible values include:
* 'Container', 'Blob', 'None'
* @member {date} [lastModifiedTime] Returns the date and time the container
* was last modified.
* @member {string} [leaseStatus] The lease status of the container. Possible
* values include: 'Locked', 'Unlocked'
* @member {string} [leaseState] Lease state of the container. Possible
* @property {date} [lastModifiedTime] Returns the date and time the
* container was last modified.
* @property {string} [leaseStatus] The lease status of the container.
* Possible values include: 'Locked', 'Unlocked'
* @property {string} [leaseState] Lease state of the container. Possible
* values include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken'
* @member {string} [leaseDuration] Specifies whether the lease on a
* @property {string} [leaseDuration] Specifies whether the lease on a
* container is of infinite or fixed duration, only when the container is
* leased. Possible values include: 'Infinite', 'Fixed'
* @member {object} [metadata] A name-value pair to associate with the
* @property {object} [metadata] A name-value pair to associate with the
* container as metadata.
* @member {object} [immutabilityPolicy] The ImmutabilityPolicy property of
* @property {object} [immutabilityPolicy] The ImmutabilityPolicy property of
* the container.
* @member {number}
* @property {number}
* [immutabilityPolicy.immutabilityPeriodSinceCreationInDays] The
* immutability period for the blobs in the container since the policy
* creation, in days.
* @member {string} [immutabilityPolicy.state] The ImmutabilityPolicy state
* @property {string} [immutabilityPolicy.state] The ImmutabilityPolicy state
* of a blob container, possible values include: Locked and Unlocked.
* Possible values include: 'Locked', 'Unlocked'
* @member {string} [immutabilityPolicy.etag] ImmutabilityPolicy Etag.
* @member {array} [immutabilityPolicy.updateHistory] The ImmutabilityPolicy
* update history of the blob container.
* @member {object} [legalHold] The LegalHold property of the container.
* @member {boolean} [legalHold.hasLegalHold] The hasLegalHold public
* @property {string} [immutabilityPolicy.etag] ImmutabilityPolicy Etag.
* @property {array} [immutabilityPolicy.updateHistory] The
* ImmutabilityPolicy update history of the blob container.
* @property {object} [legalHold] The LegalHold property of the container.
* @property {boolean} [legalHold.hasLegalHold] The hasLegalHold public
* property is set to true by SRP if there are at least one existing tag. The
* hasLegalHold public property is set to false by SRP if all existing legal
* hold tags are cleared out. There can be a maximum of 1000 blob containers
* with hasLegalHold=true for a given account.
* @member {array} [legalHold.tags] The list of LegalHold tags of a blob
* @property {array} [legalHold.tags] The list of LegalHold tags of a blob
* container.
* @member {boolean} [hasLegalHold] The hasLegalHold public property is set
* @property {boolean} [hasLegalHold] The hasLegalHold public property is set
* to true by SRP if there are at least one existing tag. The hasLegalHold
* public property is set to false by SRP if all existing legal hold tags are
* cleared out. There can be a maximum of 1000 blob containers with
* hasLegalHold=true for a given account.
* @member {boolean} [hasImmutabilityPolicy] The hasImmutabilityPolicy public
* property is set to true by SRP if ImmutabilityPolicy has been created for
* this container. The hasImmutabilityPolicy public property is set to false
* by SRP if ImmutabilityPolicy has not been created for this container.
* @property {boolean} [hasImmutabilityPolicy] The hasImmutabilityPolicy
* public property is set to true by SRP if ImmutabilityPolicy has been
* created for this container. The hasImmutabilityPolicy public property is
* set to false by SRP if ImmutabilityPolicy has not been created for this
* container.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ const models = require('./index');
class BlobServiceProperties extends models['Resource'] {
/**
* Create a BlobServiceProperties.
* @member {object} [cors] Specifies CORS rules for the Blob service. You can
* include up to five CorsRule elements in the request. If no CorsRule
* @property {object} [cors] Specifies CORS rules for the Blob service. You
* can include up to five CorsRule elements in the request. If no CorsRule
* elements are included in the request body, all CORS rules will be deleted,
* and CORS will be disabled for the Blob service.
* @member {array} [cors.corsRules] The List of CORS rules. You can include
* @property {array} [cors.corsRules] The List of CORS rules. You can include
* up to five CorsRule elements in the request.
* @member {string} [defaultServiceVersion] DefaultServiceVersion indicates
* @property {string} [defaultServiceVersion] DefaultServiceVersion indicates
* the default version to use for requests to the Blob service if an incoming
* request’s version is not specified. Possible values include version
* 2008-10-27 and all more recent versions.
* @member {object} [deleteRetentionPolicy] The blob service properties for
* @property {object} [deleteRetentionPolicy] The blob service properties for
* soft delete.
* @member {boolean} [deleteRetentionPolicy.enabled] Indicates whether
* @property {boolean} [deleteRetentionPolicy.enabled] Indicates whether
* DeleteRetentionPolicy is enabled for the Blob service.
* @member {number} [deleteRetentionPolicy.days] Indicates the number of days
* that the deleted blob should be retained. The minimum specified value can
* be 1 and the maximum value can be 365.
* @property {number} [deleteRetentionPolicy.days] Indicates the number of
* days that the deleted blob should be retained. The minimum specified value
* can be 1 and the maximum value can be 365.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
class CheckNameAvailabilityResult {
/**
* Create a CheckNameAvailabilityResult.
* @member {boolean} [nameAvailable] Gets a boolean value that indicates
* @property {boolean} [nameAvailable] Gets a boolean value that indicates
* whether the name is available for you to use. If true, the name is
* available. If false, the name has already been taken or is invalid and
* cannot be used.
* @member {string} [reason] Gets the reason that a storage account name
* @property {string} [reason] Gets the reason that a storage account name
* could not be used. The Reason element is only returned if NameAvailable is
* false. Possible values include: 'AccountNameInvalid', 'AlreadyExists'
* @member {string} [message] Gets an error message explaining the Reason
* @property {string} [message] Gets an error message explaining the Reason
* value in more detail.
*/
constructor() {
Expand Down
24 changes: 12 additions & 12 deletions lib/services/storageManagement2/lib/models/corsRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
class CorsRule {
/**
* Create a CorsRule.
* @member {array} allowedOrigins Required if CorsRule element is present. A
* list of origin domains that will be allowed via CORS, or "*" to allow all
* domains
* @member {array} allowedMethods Required if CorsRule element is present. A
* list of HTTP methods that are allowed to be executed by the origin.
* @member {number} maxAgeInSeconds Required if CorsRule element is present.
* The number of seconds that the client/browser should cache a preflight
* response.
* @member {array} exposedHeaders Required if CorsRule element is present. A
* list of response headers to expose to CORS clients.
* @member {array} allowedHeaders Required if CorsRule element is present. A
* list of headers allowed to be part of the cross-origin request.
* @property {array} allowedOrigins Required if CorsRule element is present.
* A list of origin domains that will be allowed via CORS, or "*" to allow
* all domains
* @property {array} allowedMethods Required if CorsRule element is present.
* A list of HTTP methods that are allowed to be executed by the origin.
* @property {number} maxAgeInSeconds Required if CorsRule element is
* present. The number of seconds that the client/browser should cache a
* preflight response.
* @property {array} exposedHeaders Required if CorsRule element is present.
* A list of response headers to expose to CORS clients.
* @property {array} allowedHeaders Required if CorsRule element is present.
* A list of headers allowed to be part of the cross-origin request.
*/
constructor() {
}
Expand Down
4 changes: 2 additions & 2 deletions lib/services/storageManagement2/lib/models/corsRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
class CorsRules {
/**
* Create a CorsRules.
* @member {array} [corsRules] The List of CORS rules. You can include up to
* five CorsRule elements in the request.
* @property {array} [corsRules] The List of CORS rules. You can include up
* to five CorsRule elements in the request.
*/
constructor() {
}
Expand Down
10 changes: 5 additions & 5 deletions lib/services/storageManagement2/lib/models/customDomain.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
class CustomDomain {
/**
* Create a CustomDomain.
* @member {string} name Gets or sets the custom domain name assigned to the
* storage account. Name is the CNAME source.
* @member {boolean} [useSubDomain] Indicates whether indirect CName
* @property {string} name Gets or sets the custom domain name assigned to
* the storage account. Name is the CNAME source.
* @property {boolean} [useSubDomainName] Indicates whether indirect CName
* validation is enabled. Default value is false. This should only be set on
* updates.
*/
Expand Down Expand Up @@ -48,9 +48,9 @@ class CustomDomain {
name: 'String'
}
},
useSubDomain: {
useSubDomainName: {
required: false,
serializedName: 'useSubDomain',
serializedName: 'useSubDomainName',
type: {
name: 'Boolean'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
class DeleteRetentionPolicy {
/**
* Create a DeleteRetentionPolicy.
* @member {boolean} [enabled] Indicates whether DeleteRetentionPolicy is
* @property {boolean} [enabled] Indicates whether DeleteRetentionPolicy is
* enabled for the Blob service.
* @member {number} [days] Indicates the number of days that the deleted blob
* should be retained. The minimum specified value can be 1 and the maximum
* value can be 365.
* @property {number} [days] Indicates the number of days that the deleted
* blob should be retained. The minimum specified value can be 1 and the
* maximum value can be 365.
*/
constructor() {
}
Expand Down
6 changes: 3 additions & 3 deletions lib/services/storageManagement2/lib/models/dimension.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
'use strict';

/**
* Dimension of blobs, possiblly be blob type or access tier.
* Dimension of blobs, possibly be blob type or access tier.
*
*/
class Dimension {
/**
* Create a Dimension.
* @member {string} [name] Display name of dimension.
* @member {string} [displayName] Display name of dimension.
* @property {string} [name] Display name of dimension.
* @property {string} [displayName] Display name of dimension.
*/
constructor() {
}
Expand Down
44 changes: 22 additions & 22 deletions lib/services/storageManagement2/lib/models/encryption.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,48 +17,48 @@
class Encryption {
/**
* Create a Encryption.
* @member {object} [services] List of services which support encryption.
* @member {object} [services.blob] The encryption function of the blob
* @property {object} [services] List of services which support encryption.
* @property {object} [services.blob] The encryption function of the blob
* storage service.
* @member {boolean} [services.blob.enabled] A boolean indicating whether or
* not the service encrypts the data as it is stored.
* @member {date} [services.blob.lastEnabledTime] Gets a rough estimate of
* @property {boolean} [services.blob.enabled] A boolean indicating whether
* or not the service encrypts the data as it is stored.
* @property {date} [services.blob.lastEnabledTime] Gets a rough estimate of
* the date/time when the encryption was last enabled by the user. Only
* returned when encryption is enabled. There might be some unencrypted blobs
* which were written after this time, as it is just a rough estimate.
* @member {object} [services.file] The encryption function of the file
* @property {object} [services.file] The encryption function of the file
* storage service.
* @member {boolean} [services.file.enabled] A boolean indicating whether or
* not the service encrypts the data as it is stored.
* @member {date} [services.file.lastEnabledTime] Gets a rough estimate of
* @property {boolean} [services.file.enabled] A boolean indicating whether
* or not the service encrypts the data as it is stored.
* @property {date} [services.file.lastEnabledTime] Gets a rough estimate of
* the date/time when the encryption was last enabled by the user. Only
* returned when encryption is enabled. There might be some unencrypted blobs
* which were written after this time, as it is just a rough estimate.
* @member {object} [services.table] The encryption function of the table
* @property {object} [services.table] The encryption function of the table
* storage service.
* @member {boolean} [services.table.enabled] A boolean indicating whether or
* not the service encrypts the data as it is stored.
* @member {date} [services.table.lastEnabledTime] Gets a rough estimate of
* @property {boolean} [services.table.enabled] A boolean indicating whether
* or not the service encrypts the data as it is stored.
* @property {date} [services.table.lastEnabledTime] Gets a rough estimate of
* the date/time when the encryption was last enabled by the user. Only
* returned when encryption is enabled. There might be some unencrypted blobs
* which were written after this time, as it is just a rough estimate.
* @member {object} [services.queue] The encryption function of the queue
* @property {object} [services.queue] The encryption function of the queue
* storage service.
* @member {boolean} [services.queue.enabled] A boolean indicating whether or
* not the service encrypts the data as it is stored.
* @member {date} [services.queue.lastEnabledTime] Gets a rough estimate of
* @property {boolean} [services.queue.enabled] A boolean indicating whether
* or not the service encrypts the data as it is stored.
* @property {date} [services.queue.lastEnabledTime] Gets a rough estimate of
* the date/time when the encryption was last enabled by the user. Only
* returned when encryption is enabled. There might be some unencrypted blobs
* which were written after this time, as it is just a rough estimate.
* @member {string} keySource The encryption keySource (provider). Possible
* @property {string} keySource The encryption keySource (provider). Possible
* values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault.
* Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.
* Default value: 'Microsoft.Storage' .
* @member {object} [keyVaultProperties] Properties provided by key vault.
* @member {string} [keyVaultProperties.keyName] The name of KeyVault key.
* @member {string} [keyVaultProperties.keyVersion] The version of KeyVault
* @property {object} [keyVaultProperties] Properties provided by key vault.
* @property {string} [keyVaultProperties.keyName] The name of KeyVault key.
* @property {string} [keyVaultProperties.keyVersion] The version of KeyVault
* key.
* @member {string} [keyVaultProperties.keyVaultUri] The Uri of KeyVault.
* @property {string} [keyVaultProperties.keyVaultUri] The Uri of KeyVault.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
class EncryptionService {
/**
* Create a EncryptionService.
* @member {boolean} [enabled] A boolean indicating whether or not the
* @property {boolean} [enabled] A boolean indicating whether or not the
* service encrypts the data as it is stored.
* @member {date} [lastEnabledTime] Gets a rough estimate of the date/time
* @property {date} [lastEnabledTime] Gets a rough estimate of the date/time
* when the encryption was last enabled by the user. Only returned when
* encryption is enabled. There might be some unencrypted blobs which were
* written after this time, as it is just a rough estimate.
Expand Down
Loading