diff --git a/lib/services/storageManagement2/lib/models/customDomain.js b/lib/services/storageManagement2/lib/models/customDomain.js index 41b52455bb..798dcbdfe6 100644 --- a/lib/services/storageManagement2/lib/models/customDomain.js +++ b/lib/services/storageManagement2/lib/models/customDomain.js @@ -20,7 +20,7 @@ class CustomDomain { * Create a CustomDomain. * @property {string} name Gets or sets the custom domain name assigned to * the storage account. Name is the CNAME source. - * @property {boolean} [useSubDomain] Indicates whether indirect CName + * @property {boolean} [useSubDomainName] Indicates whether indirect CName * validation is enabled. Default value is false. This should only be set on * updates. */ @@ -48,9 +48,9 @@ class CustomDomain { name: 'String' } }, - useSubDomain: { + useSubDomainName: { required: false, - serializedName: 'useSubDomain', + serializedName: 'useSubDomainName', type: { name: 'Boolean' } diff --git a/lib/services/storageManagement2/lib/models/index.d.ts b/lib/services/storageManagement2/lib/models/index.d.ts index 77058dcf9a..e2d1514552 100644 --- a/lib/services/storageManagement2/lib/models/index.d.ts +++ b/lib/services/storageManagement2/lib/models/index.d.ts @@ -247,7 +247,7 @@ export interface CustomDomain { * Indicates whether indirect CName validation is enabled. Default value is false. This should * only be set on updates. */ - useSubDomain?: boolean; + useSubDomainName?: boolean; } /** diff --git a/lib/services/storageManagement2/lib/models/storageAccount.js b/lib/services/storageManagement2/lib/models/storageAccount.js index d2914df6b9..d9f8b4cca2 100644 --- a/lib/services/storageManagement2/lib/models/storageAccount.js +++ b/lib/services/storageManagement2/lib/models/storageAccount.js @@ -82,9 +82,9 @@ class StorageAccount extends models['TrackedResource'] { * to this storage account. * @property {string} [customDomain.name] Gets or sets the custom domain name * assigned to the storage account. Name is the CNAME source. - * @property {boolean} [customDomain.useSubDomain] Indicates whether indirect - * CName validation is enabled. Default value is false. This should only be - * set on updates. + * @property {boolean} [customDomain.useSubDomainName] Indicates whether + * indirect CName validation is enabled. Default value is false. This should + * only be set on updates. * @property {object} [secondaryEndpoints] Gets the URLs that are used to * perform a retrieval of a public blob, queue, or table object from the * secondary location of the storage account. Only available if the SKU name diff --git a/lib/services/storageManagement2/lib/models/storageAccountCreateParameters.js b/lib/services/storageManagement2/lib/models/storageAccountCreateParameters.js index 3e6e20f8cf..6e7fcdf3ed 100644 --- a/lib/services/storageManagement2/lib/models/storageAccountCreateParameters.js +++ b/lib/services/storageManagement2/lib/models/storageAccountCreateParameters.js @@ -62,9 +62,9 @@ class StorageAccountCreateParameters { * empty string for the custom domain name property. * @property {string} [customDomain.name] Gets or sets the custom domain name * assigned to the storage account. Name is the CNAME source. - * @property {boolean} [customDomain.useSubDomain] Indicates whether indirect - * CName validation is enabled. Default value is false. This should only be - * set on updates. + * @property {boolean} [customDomain.useSubDomainName] Indicates whether + * indirect CName validation is enabled. Default value is false. This should + * only be set on updates. * @property {object} [encryption] Provides the encryption settings on the * account. If left unspecified the account encryption settings will remain * the same. The default setting is unencrypted. diff --git a/lib/services/storageManagement2/lib/models/storageAccountUpdateParameters.js b/lib/services/storageManagement2/lib/models/storageAccountUpdateParameters.js index ca3236742c..e78b5590dd 100644 --- a/lib/services/storageManagement2/lib/models/storageAccountUpdateParameters.js +++ b/lib/services/storageManagement2/lib/models/storageAccountUpdateParameters.js @@ -56,9 +56,9 @@ class StorageAccountUpdateParameters { * domain, use an empty string for the custom domain name property. * @property {string} [customDomain.name] Gets or sets the custom domain name * assigned to the storage account. Name is the CNAME source. - * @property {boolean} [customDomain.useSubDomain] Indicates whether indirect - * CName validation is enabled. Default value is false. This should only be - * set on updates. + * @property {boolean} [customDomain.useSubDomainName] Indicates whether + * indirect CName validation is enabled. Default value is false. This should + * only be set on updates. * @property {object} [encryption] Provides the encryption settings on the * account. The default setting is unencrypted. * @property {object} [encryption.services] List of services which support diff --git a/lib/services/storageManagement2/lib/operations/index.d.ts b/lib/services/storageManagement2/lib/operations/index.d.ts index 7fba7f2d6d..3c3a7879f6 100644 --- a/lib/services/storageManagement2/lib/operations/index.d.ts +++ b/lib/services/storageManagement2/lib/operations/index.d.ts @@ -253,9 +253,9 @@ export interface StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. If left unspecified the account encryption settings will remain @@ -387,9 +387,9 @@ export interface StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. If left unspecified the account encryption settings will remain @@ -679,9 +679,9 @@ export interface StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. The default setting is unencrypted. @@ -810,9 +810,9 @@ export interface StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. The default setting is unencrypted. @@ -1600,9 +1600,9 @@ export interface StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. If left unspecified the account encryption settings will remain @@ -1734,9 +1734,9 @@ export interface StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. If left unspecified the account encryption settings will remain diff --git a/lib/services/storageManagement2/lib/operations/storageAccounts.js b/lib/services/storageManagement2/lib/operations/storageAccounts.js index e5f612bae3..ef9a6f865d 100644 --- a/lib/services/storageManagement2/lib/operations/storageAccounts.js +++ b/lib/services/storageManagement2/lib/operations/storageAccounts.js @@ -235,9 +235,9 @@ function _checkNameAvailability(name, options, callback) { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. If left unspecified the account encryption settings will remain @@ -773,9 +773,9 @@ function _getProperties(resourceGroupName, accountName, options, callback) { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. The default setting is unencrypted. @@ -2308,9 +2308,9 @@ function _failover(resourceGroupName, accountName, options, callback) { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. If left unspecified the account encryption settings will remain @@ -2884,9 +2884,9 @@ class StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. If left unspecified the account encryption settings will remain @@ -3030,9 +3030,9 @@ class StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. If left unspecified the account encryption settings will remain @@ -3391,9 +3391,9 @@ class StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. The default setting is unencrypted. @@ -3534,9 +3534,9 @@ class StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. The default setting is unencrypted. @@ -4528,9 +4528,9 @@ class StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. If left unspecified the account encryption settings will remain @@ -4674,9 +4674,9 @@ class StorageAccounts { * @param {string} parameters.customDomain.name Gets or sets the custom domain * name assigned to the storage account. Name is the CNAME source. * - * @param {boolean} [parameters.customDomain.useSubDomain] Indicates whether - * indirect CName validation is enabled. Default value is false. This should - * only be set on updates. + * @param {boolean} [parameters.customDomain.useSubDomainName] Indicates + * whether indirect CName validation is enabled. Default value is false. This + * should only be set on updates. * * @param {object} [parameters.encryption] Provides the encryption settings on * the account. If left unspecified the account encryption settings will remain