diff --git a/lib/services/sqlManagement2/lib/models/database.js b/lib/services/sqlManagement2/lib/models/database.js index 120ae1703a..7ec6a4ab28 100644 --- a/lib/services/sqlManagement2/lib/models/database.js +++ b/lib/services/sqlManagement2/lib/models/database.js @@ -21,14 +21,19 @@ class Database extends models['TrackedResource'] { /** * Create a Database. * @member {object} [sku] The name and tier of the SKU. - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically + * a letter+number code + * @member {string} [sku.tier] This field is required to be implemented by + * the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone + * code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. * @member {string} [kind] Kind of database. This is metadata used for the * Azure portal experience. * @member {string} [managedBy] Resource that manages the database. @@ -126,14 +131,19 @@ class Database extends models['TrackedResource'] { * connection string may be routed to a readonly secondary replica in the * same region. Possible values include: 'Enabled', 'Disabled' * @member {object} [currentSku] The name and tier of the SKU. - * @member {string} [currentSku.name] The name of the SKU, typically, a - * letter + Number code, e.g. P3. - * @member {string} [currentSku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. - * @member {string} [currentSku.size] Size of the particular SKU + * @member {string} [currentSku.name] The name of the SKU. Ex - P3. It is + * typically a letter+number code + * @member {string} [currentSku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one + * tier, but is not required on a PUT. + * @member {string} [currentSku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * @member {string} [currentSku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. - * @member {number} [currentSku.capacity] Capacity of the particular SKU. + * @member {number} [currentSku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. */ constructor() { super(); @@ -177,6 +187,13 @@ class Database extends models['TrackedResource'] { name: 'String' } }, + location: { + required: true, + serializedName: 'location', + type: { + name: 'String' + } + }, tags: { required: false, serializedName: 'tags', @@ -191,13 +208,6 @@ class Database extends models['TrackedResource'] { } } }, - location: { - required: true, - serializedName: 'location', - type: { - name: 'String' - } - }, sku: { required: false, serializedName: 'sku', diff --git a/lib/services/sqlManagement2/lib/models/databaseUpdate.js b/lib/services/sqlManagement2/lib/models/databaseUpdate.js index 9cd896d3e6..d6be153bc4 100644 --- a/lib/services/sqlManagement2/lib/models/databaseUpdate.js +++ b/lib/services/sqlManagement2/lib/models/databaseUpdate.js @@ -20,14 +20,19 @@ class DatabaseUpdate { /** * Create a DatabaseUpdate. * @member {object} [sku] The name and tier of the SKU. - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically + * a letter+number code + * @member {string} [sku.tier] This field is required to be implemented by + * the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone + * code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. * @member {string} [createMode] Specifies the mode of database creation. * * Default: regular database creation. @@ -122,14 +127,19 @@ class DatabaseUpdate { * connection string may be routed to a readonly secondary replica in the * same region. Possible values include: 'Enabled', 'Disabled' * @member {object} [currentSku] The name and tier of the SKU. - * @member {string} [currentSku.name] The name of the SKU, typically, a - * letter + Number code, e.g. P3. - * @member {string} [currentSku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. - * @member {string} [currentSku.size] Size of the particular SKU + * @member {string} [currentSku.name] The name of the SKU. Ex - P3. It is + * typically a letter+number code + * @member {string} [currentSku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one + * tier, but is not required on a PUT. + * @member {string} [currentSku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * @member {string} [currentSku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. - * @member {number} [currentSku.capacity] Capacity of the particular SKU. + * @member {number} [currentSku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * @member {object} [tags] Resource tags. */ constructor() { diff --git a/lib/services/sqlManagement2/lib/models/databaseVulnerabilityAssessment.js b/lib/services/sqlManagement2/lib/models/databaseVulnerabilityAssessment.js index 1d1f3e0836..375f0771a8 100644 --- a/lib/services/sqlManagement2/lib/models/databaseVulnerabilityAssessment.js +++ b/lib/services/sqlManagement2/lib/models/databaseVulnerabilityAssessment.js @@ -20,10 +20,10 @@ const models = require('./index'); class DatabaseVulnerabilityAssessment extends models['ProxyResource'] { /** * Create a DatabaseVulnerabilityAssessment. - * @member {string} [storageContainerPath] A blob storage container path to + * @member {string} storageContainerPath A blob storage container path to * hold the scan results (e.g. * https://myStorage.blob.core.windows.net/VaScans/). - * @member {string} [storageContainerSasKey] A shared access signature (SAS + * @member {string} storageContainerSasKey A shared access signature (SAS * Key) that has write access to the blob container specified in * 'storageContainerPath' parameter. * @member {object} [recurringScans] The recurring scans settings @@ -77,14 +77,14 @@ class DatabaseVulnerabilityAssessment extends models['ProxyResource'] { } }, storageContainerPath: { - required: false, + required: true, serializedName: 'properties.storageContainerPath', type: { name: 'String' } }, storageContainerSasKey: { - required: false, + required: true, serializedName: 'properties.storageContainerSasKey', type: { name: 'String' diff --git a/lib/services/sqlManagement2/lib/models/elasticPool.js b/lib/services/sqlManagement2/lib/models/elasticPool.js index 878e902fbf..dc8982ea45 100644 --- a/lib/services/sqlManagement2/lib/models/elasticPool.js +++ b/lib/services/sqlManagement2/lib/models/elasticPool.js @@ -21,14 +21,19 @@ class ElasticPool extends models['TrackedResource'] { /** * Create a ElasticPool. * @member {object} [sku] - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically + * a letter+number code + * @member {string} [sku.tier] This field is required to be implemented by + * the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone + * code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. * @member {string} [kind] Kind of elastic pool. This is metadata used for * the Azure portal experience. * @member {string} [state] The state of the elastic pool. Possible values @@ -91,6 +96,13 @@ class ElasticPool extends models['TrackedResource'] { name: 'String' } }, + location: { + required: true, + serializedName: 'location', + type: { + name: 'String' + } + }, tags: { required: false, serializedName: 'tags', @@ -105,13 +117,6 @@ class ElasticPool extends models['TrackedResource'] { } } }, - location: { - required: true, - serializedName: 'location', - type: { - name: 'String' - } - }, sku: { required: false, serializedName: 'sku', diff --git a/lib/services/sqlManagement2/lib/models/elasticPoolPerformanceLevelCapability.js b/lib/services/sqlManagement2/lib/models/elasticPoolPerformanceLevelCapability.js index 444e9e51aa..a86cd0b087 100644 --- a/lib/services/sqlManagement2/lib/models/elasticPoolPerformanceLevelCapability.js +++ b/lib/services/sqlManagement2/lib/models/elasticPoolPerformanceLevelCapability.js @@ -24,14 +24,19 @@ class ElasticPoolPerformanceLevelCapability { * @member {string} [performanceLevel.unit] Unit type used to measure * performance level. Possible values include: 'DTU', 'VCores' * @member {object} [sku] The sku. - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically + * a letter+number code + * @member {string} [sku.tier] This field is required to be implemented by + * the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone + * code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. * @member {array} [supportedLicenseTypes] List of supported license types. * @member {number} [maxDatabaseCount] The maximum number of databases * supported. diff --git a/lib/services/sqlManagement2/lib/models/elasticPoolUpdate.js b/lib/services/sqlManagement2/lib/models/elasticPoolUpdate.js index 5535097575..20b92a75d3 100644 --- a/lib/services/sqlManagement2/lib/models/elasticPoolUpdate.js +++ b/lib/services/sqlManagement2/lib/models/elasticPoolUpdate.js @@ -20,14 +20,19 @@ class ElasticPoolUpdate { /** * Create a ElasticPoolUpdate. * @member {object} [sku] - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically + * a letter+number code + * @member {string} [sku.tier] This field is required to be implemented by + * the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone + * code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. * @member {number} [maxSizeBytes] The storage limit for the database elastic * pool in bytes. * @member {object} [perDatabaseSettings] The per database settings for the diff --git a/lib/services/sqlManagement2/lib/models/index.d.ts b/lib/services/sqlManagement2/lib/models/index.d.ts index 9e2bd5b7f0..a0beb46988 100644 --- a/lib/services/sqlManagement2/lib/models/index.d.ts +++ b/lib/services/sqlManagement2/lib/models/index.d.ts @@ -32,20 +32,6 @@ export interface Resource extends BaseResource { readonly type?: string; } -/** - * @class - * Initializes a new instance of the TrackedResource class. - * @constructor - * ARM tracked top level resource. - * - * @member {object} [tags] Resource tags. - * @member {string} location Resource location. - */ -export interface TrackedResource extends Resource { - tags?: { [propertyName: string]: string }; - location: string; -} - /** * @class * Initializes a new instance of the ProxyResource class. @@ -108,6 +94,20 @@ export interface RestorableDroppedDatabase extends ProxyResource { readonly earliestRestoreDate?: Date; } +/** + * @class + * Initializes a new instance of the TrackedResource class. + * @constructor + * ARM tracked top level resource. + * + * @member {string} location Resource location. + * @member {object} [tags] Resource tags. + */ +export interface TrackedResource extends Resource { + location: string; + tags?: { [propertyName: string]: string }; +} + /** * @class * Initializes a new instance of the CheckNameAvailabilityRequest class. @@ -1314,15 +1314,20 @@ export interface ResourceIdentity { * @class * Initializes a new instance of the Sku class. * @constructor - * An ARM Resource SKU. + * The resource model definition representing SKU * - * @member {string} name The name of the SKU, typically, a letter + Number - * code, e.g. P3. - * @member {string} [tier] The tier of the particular SKU, e.g. Basic, Premium. - * @member {string} [size] Size of the particular SKU + * @member {string} name The name of the SKU. Ex - P3. It is typically a + * letter+number code + * @member {string} [tier] This field is required to be implemented by the + * Resource Provider if the service has more than one tier, but is not required + * on a PUT. + * @member {string} [size] The SKU size. When the name field is the combination + * of tier and some other value, this would be the standalone code. * @member {string} [family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [capacity] Capacity of the particular SKU. + * @member {number} [capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for the + * resource this may be omitted. */ export interface Sku { name: string; @@ -1348,14 +1353,18 @@ export interface Sku { * 'SystemAssigned' * @member {uuid} [identity.tenantId] The Azure Active Directory tenant id. * @member {object} [sku] Managed instance sku - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically a + * letter+number code + * @member {string} [sku.tier] This field is required to be implemented by the + * Resource Provider if the service has more than one tier, but is not required + * on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for the + * resource this may be omitted. * @member {string} [fullyQualifiedDomainName] The fully qualified domain name * of the managed instance. * @member {string} [administratorLogin] Administrator username for the managed @@ -1390,14 +1399,18 @@ export interface ManagedInstance extends TrackedResource { * An update request for an Azure SQL Database managed instance. * * @member {object} [sku] Managed instance sku - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically a + * letter+number code + * @member {string} [sku.tier] This field is required to be implemented by the + * Resource Provider if the service has more than one tier, but is not required + * on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for the + * resource this may be omitted. * @member {string} [fullyQualifiedDomainName] The fully qualified domain name * of the managed instance. * @member {string} [administratorLogin] Administrator username for the managed @@ -1928,11 +1941,10 @@ export interface VulnerabilityAssessmentRecurringScansProperties { * @constructor * A database vulnerability assessment. * - * @member {string} [storageContainerPath] A blob storage container path to - * hold the scan results (e.g. - * https://myStorage.blob.core.windows.net/VaScans/). - * @member {string} [storageContainerSasKey] A shared access signature (SAS - * Key) that has write access to the blob container specified in + * @member {string} storageContainerPath A blob storage container path to hold + * the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). + * @member {string} storageContainerSasKey A shared access signature (SAS Key) + * that has write access to the blob container specified in * 'storageContainerPath' parameter. * @member {object} [recurringScans] The recurring scans settings * @member {boolean} [recurringScans.isEnabled] Recurring scans state. @@ -1943,8 +1955,8 @@ export interface VulnerabilityAssessmentRecurringScansProperties { * addresses to which the scan notification is sent. */ export interface DatabaseVulnerabilityAssessment extends ProxyResource { - storageContainerPath?: string; - storageContainerSasKey?: string; + storageContainerPath: string; + storageContainerSasKey: string; recurringScans?: VulnerabilityAssessmentRecurringScansProperties; } @@ -1955,14 +1967,18 @@ export interface DatabaseVulnerabilityAssessment extends ProxyResource { * An Azure SQL job agent. * * @member {object} [sku] The name and tier of the SKU. - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically a + * letter+number code + * @member {string} [sku.tier] This field is required to be implemented by the + * Resource Provider if the service has more than one tier, but is not required + * on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for the + * resource this may be omitted. * @member {string} databaseId Resource ID of the database to store job * metadata in. * @member {string} [state] The state of the job agent. Possible values @@ -2763,14 +2779,18 @@ export interface LicenseTypeCapability { * @member {string} [performanceLevel.unit] Unit type used to measure * performance level. Possible values include: 'DTU', 'VCores' * @member {object} [sku] The sku. - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically a + * letter+number code + * @member {string} [sku.tier] This field is required to be implemented by the + * Resource Provider if the service has more than one tier, but is not required + * on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for the + * resource this may be omitted. * @member {array} [supportedLicenseTypes] List of supported license types. * @member {object} [includedMaxSize] The included (free) max size. * @member {number} [includedMaxSize.limit] The maximum size limit (see 'unit' @@ -2871,14 +2891,18 @@ export interface ElasticPoolPerDatabaseMaxPerformanceLevelCapability { * @member {string} [performanceLevel.unit] Unit type used to measure * performance level. Possible values include: 'DTU', 'VCores' * @member {object} [sku] The sku. - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically a + * letter+number code + * @member {string} [sku.tier] This field is required to be implemented by the + * Resource Provider if the service has more than one tier, but is not required + * on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for the + * resource this may be omitted. * @member {array} [supportedLicenseTypes] List of supported license types. * @member {number} [maxDatabaseCount] The maximum number of databases * supported. @@ -3077,14 +3101,18 @@ export interface LocationCapabilities { * A database resource. * * @member {object} [sku] The name and tier of the SKU. - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically a + * letter+number code + * @member {string} [sku.tier] This field is required to be implemented by the + * Resource Provider if the service has more than one tier, but is not required + * on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for the + * resource this may be omitted. * @member {string} [kind] Kind of database. This is metadata used for the * Azure portal experience. * @member {string} [managedBy] Resource that manages the database. @@ -3179,14 +3207,18 @@ export interface LocationCapabilities { * string may be routed to a readonly secondary replica in the same region. * Possible values include: 'Enabled', 'Disabled' * @member {object} [currentSku] The name and tier of the SKU. - * @member {string} [currentSku.name] The name of the SKU, typically, a letter - * + Number code, e.g. P3. - * @member {string} [currentSku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. - * @member {string} [currentSku.size] Size of the particular SKU + * @member {string} [currentSku.name] The name of the SKU. Ex - P3. It is + * typically a letter+number code + * @member {string} [currentSku.tier] This field is required to be implemented + * by the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [currentSku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone code. * @member {string} [currentSku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. - * @member {number} [currentSku.capacity] Capacity of the particular SKU. + * @member {number} [currentSku.capacity] If the SKU supports scale out/in then + * the capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. */ export interface Database extends TrackedResource { sku?: Sku; @@ -3227,14 +3259,18 @@ export interface Database extends TrackedResource { * A database resource. * * @member {object} [sku] The name and tier of the SKU. - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically a + * letter+number code + * @member {string} [sku.tier] This field is required to be implemented by the + * Resource Provider if the service has more than one tier, but is not required + * on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for the + * resource this may be omitted. * @member {string} [createMode] Specifies the mode of database creation. * * Default: regular database creation. @@ -3326,14 +3362,18 @@ export interface Database extends TrackedResource { * string may be routed to a readonly secondary replica in the same region. * Possible values include: 'Enabled', 'Disabled' * @member {object} [currentSku] The name and tier of the SKU. - * @member {string} [currentSku.name] The name of the SKU, typically, a letter - * + Number code, e.g. P3. - * @member {string} [currentSku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. - * @member {string} [currentSku.size] Size of the particular SKU + * @member {string} [currentSku.name] The name of the SKU. Ex - P3. It is + * typically a letter+number code + * @member {string} [currentSku.tier] This field is required to be implemented + * by the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [currentSku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone code. * @member {string} [currentSku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. - * @member {number} [currentSku.capacity] Capacity of the particular SKU. + * @member {number} [currentSku.capacity] If the SKU supports scale out/in then + * the capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. * @member {object} [tags] Resource tags. */ export interface DatabaseUpdate { @@ -3402,14 +3442,18 @@ export interface ElasticPoolPerDatabaseSettings { * An elastic pool. * * @member {object} [sku] - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically a + * letter+number code + * @member {string} [sku.tier] This field is required to be implemented by the + * Resource Provider if the service has more than one tier, but is not required + * on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for the + * resource this may be omitted. * @member {string} [kind] Kind of elastic pool. This is metadata used for the * Azure portal experience. * @member {string} [state] The state of the elastic pool. Possible values @@ -3448,14 +3492,18 @@ export interface ElasticPool extends TrackedResource { * An elastic pool update. * * @member {object} [sku] - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically a + * letter+number code + * @member {string} [sku.tier] This field is required to be implemented by the + * Resource Provider if the service has more than one tier, but is not required + * on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for the + * resource this may be omitted. * @member {number} [maxSizeBytes] The storage limit for the database elastic * pool in bytes. * @member {object} [perDatabaseSettings] The per database settings for the diff --git a/lib/services/sqlManagement2/lib/models/index.js b/lib/services/sqlManagement2/lib/models/index.js index b55924cfdf..5997fddd04 100644 --- a/lib/services/sqlManagement2/lib/models/index.js +++ b/lib/services/sqlManagement2/lib/models/index.js @@ -19,10 +19,10 @@ var msRestAzure = require('ms-rest-azure'); exports.BaseResource = msRestAzure.BaseResource; exports.CloudError = msRestAzure.CloudError; exports.Resource = require('./resource'); -exports.TrackedResource = require('./trackedResource'); exports.ProxyResource = require('./proxyResource'); exports.RecoverableDatabase = require('./recoverableDatabase'); exports.RestorableDroppedDatabase = require('./restorableDroppedDatabase'); +exports.TrackedResource = require('./trackedResource'); exports.CheckNameAvailabilityRequest = require('./checkNameAvailabilityRequest'); exports.CheckNameAvailabilityResponse = require('./checkNameAvailabilityResponse'); exports.ServerConnectionPolicy = require('./serverConnectionPolicy'); diff --git a/lib/services/sqlManagement2/lib/models/jobAgent.js b/lib/services/sqlManagement2/lib/models/jobAgent.js index ad3639e243..d9881e1dd7 100644 --- a/lib/services/sqlManagement2/lib/models/jobAgent.js +++ b/lib/services/sqlManagement2/lib/models/jobAgent.js @@ -21,14 +21,19 @@ class JobAgent extends models['TrackedResource'] { /** * Create a JobAgent. * @member {object} [sku] The name and tier of the SKU. - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically + * a letter+number code + * @member {string} [sku.tier] This field is required to be implemented by + * the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone + * code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. * @member {string} databaseId Resource ID of the database to store job * metadata in. * @member {string} [state] The state of the job agent. Possible values @@ -76,6 +81,13 @@ class JobAgent extends models['TrackedResource'] { name: 'String' } }, + location: { + required: true, + serializedName: 'location', + type: { + name: 'String' + } + }, tags: { required: false, serializedName: 'tags', @@ -90,13 +102,6 @@ class JobAgent extends models['TrackedResource'] { } } }, - location: { - required: true, - serializedName: 'location', - type: { - name: 'String' - } - }, sku: { required: false, serializedName: 'sku', diff --git a/lib/services/sqlManagement2/lib/models/managedDatabase.js b/lib/services/sqlManagement2/lib/models/managedDatabase.js index 42e4dcefc4..3ca5f1e06a 100644 --- a/lib/services/sqlManagement2/lib/models/managedDatabase.js +++ b/lib/services/sqlManagement2/lib/models/managedDatabase.js @@ -94,6 +94,13 @@ class ManagedDatabase extends models['TrackedResource'] { name: 'String' } }, + location: { + required: true, + serializedName: 'location', + type: { + name: 'String' + } + }, tags: { required: false, serializedName: 'tags', @@ -108,13 +115,6 @@ class ManagedDatabase extends models['TrackedResource'] { } } }, - location: { - required: true, - serializedName: 'location', - type: { - name: 'String' - } - }, collation: { required: false, serializedName: 'properties.collation', diff --git a/lib/services/sqlManagement2/lib/models/managedInstance.js b/lib/services/sqlManagement2/lib/models/managedInstance.js index bfef773885..d866f6de2d 100644 --- a/lib/services/sqlManagement2/lib/models/managedInstance.js +++ b/lib/services/sqlManagement2/lib/models/managedInstance.js @@ -30,14 +30,19 @@ class ManagedInstance extends models['TrackedResource'] { * 'SystemAssigned' * @member {uuid} [identity.tenantId] The Azure Active Directory tenant id. * @member {object} [sku] Managed instance sku - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically + * a letter+number code + * @member {string} [sku.tier] This field is required to be implemented by + * the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone + * code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. * @member {string} [fullyQualifiedDomainName] The fully qualified domain * name of the managed instance. * @member {string} [administratorLogin] Administrator username for the @@ -94,6 +99,13 @@ class ManagedInstance extends models['TrackedResource'] { name: 'String' } }, + location: { + required: true, + serializedName: 'location', + type: { + name: 'String' + } + }, tags: { required: false, serializedName: 'tags', @@ -108,13 +120,6 @@ class ManagedInstance extends models['TrackedResource'] { } } }, - location: { - required: true, - serializedName: 'location', - type: { - name: 'String' - } - }, identity: { required: false, serializedName: 'identity', diff --git a/lib/services/sqlManagement2/lib/models/managedInstanceUpdate.js b/lib/services/sqlManagement2/lib/models/managedInstanceUpdate.js index 0e6ca36d12..d568258c58 100644 --- a/lib/services/sqlManagement2/lib/models/managedInstanceUpdate.js +++ b/lib/services/sqlManagement2/lib/models/managedInstanceUpdate.js @@ -20,14 +20,19 @@ class ManagedInstanceUpdate { /** * Create a ManagedInstanceUpdate. * @member {object} [sku] Managed instance sku - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically + * a letter+number code + * @member {string} [sku.tier] This field is required to be implemented by + * the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone + * code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. * @member {string} [fullyQualifiedDomainName] The fully qualified domain * name of the managed instance. * @member {string} [administratorLogin] Administrator username for the diff --git a/lib/services/sqlManagement2/lib/models/server.js b/lib/services/sqlManagement2/lib/models/server.js index 048cd323ac..a382dc4dc7 100644 --- a/lib/services/sqlManagement2/lib/models/server.js +++ b/lib/services/sqlManagement2/lib/models/server.js @@ -82,6 +82,13 @@ class Server extends models['TrackedResource'] { name: 'String' } }, + location: { + required: true, + serializedName: 'location', + type: { + name: 'String' + } + }, tags: { required: false, serializedName: 'tags', @@ -96,13 +103,6 @@ class Server extends models['TrackedResource'] { } } }, - location: { - required: true, - serializedName: 'location', - type: { - name: 'String' - } - }, identity: { required: false, serializedName: 'identity', diff --git a/lib/services/sqlManagement2/lib/models/serviceObjectiveCapability.js b/lib/services/sqlManagement2/lib/models/serviceObjectiveCapability.js index 0b9970c1e5..55a61cef8f 100644 --- a/lib/services/sqlManagement2/lib/models/serviceObjectiveCapability.js +++ b/lib/services/sqlManagement2/lib/models/serviceObjectiveCapability.js @@ -28,14 +28,19 @@ class ServiceObjectiveCapability { * @member {string} [performanceLevel.unit] Unit type used to measure * performance level. Possible values include: 'DTU', 'VCores' * @member {object} [sku] The sku. - * @member {string} [sku.name] The name of the SKU, typically, a letter + - * Number code, e.g. P3. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [sku.size] Size of the particular SKU + * @member {string} [sku.name] The name of the SKU. Ex - P3. It is typically + * a letter+number code + * @member {string} [sku.tier] This field is required to be implemented by + * the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [sku.size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone + * code. * @member {string} [sku.family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [sku.capacity] Capacity of the particular SKU. + * @member {number} [sku.capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. * @member {array} [supportedLicenseTypes] List of supported license types. * @member {object} [includedMaxSize] The included (free) max size. * @member {number} [includedMaxSize.limit] The maximum size limit (see diff --git a/lib/services/sqlManagement2/lib/models/sku.js b/lib/services/sqlManagement2/lib/models/sku.js index 698c630dff..afb42bd67f 100644 --- a/lib/services/sqlManagement2/lib/models/sku.js +++ b/lib/services/sqlManagement2/lib/models/sku.js @@ -11,20 +11,25 @@ 'use strict'; /** - * An ARM Resource SKU. + * The resource model definition representing SKU * */ class Sku { /** * Create a Sku. - * @member {string} name The name of the SKU, typically, a letter + Number - * code, e.g. P3. - * @member {string} [tier] The tier of the particular SKU, e.g. Basic, - * Premium. - * @member {string} [size] Size of the particular SKU + * @member {string} name The name of the SKU. Ex - P3. It is typically a + * letter+number code + * @member {string} [tier] This field is required to be implemented by the + * Resource Provider if the service has more than one tier, but is not + * required on a PUT. + * @member {string} [size] The SKU size. When the name field is the + * combination of tier and some other value, this would be the standalone + * code. * @member {string} [family] If the service has different generations of * hardware, for the same SKU, then that can be captured here. - * @member {number} [capacity] Capacity of the particular SKU. + * @member {number} [capacity] If the SKU supports scale out/in then the + * capacity integer should be included. If scale out/in is not possible for + * the resource this may be omitted. */ constructor() { } diff --git a/lib/services/sqlManagement2/lib/models/trackedResource.js b/lib/services/sqlManagement2/lib/models/trackedResource.js index 34062b983a..042c9c57b6 100644 --- a/lib/services/sqlManagement2/lib/models/trackedResource.js +++ b/lib/services/sqlManagement2/lib/models/trackedResource.js @@ -20,8 +20,8 @@ const models = require('./index'); class TrackedResource extends models['Resource'] { /** * Create a TrackedResource. - * @member {object} [tags] Resource tags. * @member {string} location Resource location. + * @member {object} [tags] Resource tags. */ constructor() { super(); @@ -65,6 +65,13 @@ class TrackedResource extends models['Resource'] { name: 'String' } }, + location: { + required: true, + serializedName: 'location', + type: { + name: 'String' + } + }, tags: { required: false, serializedName: 'tags', @@ -78,13 +85,6 @@ class TrackedResource extends models['Resource'] { } } } - }, - location: { - required: true, - serializedName: 'location', - type: { - name: 'String' - } } } } diff --git a/lib/services/sqlManagement2/lib/operations/databaseVulnerabilityAssessmentScans.js b/lib/services/sqlManagement2/lib/operations/databaseVulnerabilityAssessmentScans.js index a710edfb82..24a77e7780 100644 --- a/lib/services/sqlManagement2/lib/operations/databaseVulnerabilityAssessmentScans.js +++ b/lib/services/sqlManagement2/lib/operations/databaseVulnerabilityAssessmentScans.js @@ -207,7 +207,7 @@ function _get(resourceGroupName, serverName, databaseName, scanId, options, call * * {stream} [response] - The HTTP Response stream if an error did not occur. */ -function _execute(resourceGroupName, serverName, databaseName, scanId, options, callback) { +function _initiateScan(resourceGroupName, serverName, databaseName, scanId, options, callback) { /* jshint validthis: true */ let client = this.client; if(!callback && typeof options === 'function') { @@ -220,7 +220,7 @@ function _execute(resourceGroupName, serverName, databaseName, scanId, options, } // Send request - this.beginExecute(resourceGroupName, serverName, databaseName, scanId, options, (err, parsedResult, httpRequest, response) => { + this.beginInitiateScan(resourceGroupName, serverName, databaseName, scanId, options, (err, parsedResult, httpRequest, response) => { if (err) return callback(err); let initialResult = new msRest.HttpOperationResponse(); @@ -608,7 +608,7 @@ function _exportMethod(resourceGroupName, serverName, databaseName, scanId, opti * * {stream} [response] - The HTTP Response stream if an error did not occur. */ -function _beginExecute(resourceGroupName, serverName, databaseName, scanId, options, callback) { +function _beginInitiateScan(resourceGroupName, serverName, databaseName, scanId, options, callback) { /* jshint validthis: true */ let client = this.client; if(!callback && typeof options === 'function') { @@ -856,10 +856,10 @@ class DatabaseVulnerabilityAssessmentScans { constructor(client) { this.client = client; this._get = _get; - this._execute = _execute; + this._initiateScan = _initiateScan; this._listByDatabase = _listByDatabase; this._exportMethod = _exportMethod; - this._beginExecute = _beginExecute; + this._beginInitiateScan = _beginInitiateScan; this._listByDatabaseNext = _listByDatabaseNext; } @@ -989,11 +989,11 @@ class DatabaseVulnerabilityAssessmentScans { * * @reject {Error} - The error object. */ - executeWithHttpOperationResponse(resourceGroupName, serverName, databaseName, scanId, options) { + initiateScanWithHttpOperationResponse(resourceGroupName, serverName, databaseName, scanId, options) { let client = this.client; let self = this; return new Promise((resolve, reject) => { - self._execute(resourceGroupName, serverName, databaseName, scanId, options, (err, result, request, response) => { + self._initiateScan(resourceGroupName, serverName, databaseName, scanId, options, (err, result, request, response) => { let httpOperationResponse = new msRest.HttpOperationResponse(request, response); httpOperationResponse.body = result; if (err) { reject(err); } @@ -1043,7 +1043,7 @@ class DatabaseVulnerabilityAssessmentScans { * * {stream} [response] - The HTTP Response stream if an error did not occur. */ - execute(resourceGroupName, serverName, databaseName, scanId, options, optionalCallback) { + initiateScan(resourceGroupName, serverName, databaseName, scanId, options, optionalCallback) { let client = this.client; let self = this; if (!optionalCallback && typeof options === 'function') { @@ -1052,14 +1052,14 @@ class DatabaseVulnerabilityAssessmentScans { } if (!optionalCallback) { return new Promise((resolve, reject) => { - self._execute(resourceGroupName, serverName, databaseName, scanId, options, (err, result, request, response) => { + self._initiateScan(resourceGroupName, serverName, databaseName, scanId, options, (err, result, request, response) => { if (err) { reject(err); } else { resolve(result); } return; }); }); } else { - return self._execute(resourceGroupName, serverName, databaseName, scanId, options, optionalCallback); + return self._initiateScan(resourceGroupName, serverName, databaseName, scanId, options, optionalCallback); } } @@ -1284,11 +1284,11 @@ class DatabaseVulnerabilityAssessmentScans { * * @reject {Error} - The error object. */ - beginExecuteWithHttpOperationResponse(resourceGroupName, serverName, databaseName, scanId, options) { + beginInitiateScanWithHttpOperationResponse(resourceGroupName, serverName, databaseName, scanId, options) { let client = this.client; let self = this; return new Promise((resolve, reject) => { - self._beginExecute(resourceGroupName, serverName, databaseName, scanId, options, (err, result, request, response) => { + self._beginInitiateScan(resourceGroupName, serverName, databaseName, scanId, options, (err, result, request, response) => { let httpOperationResponse = new msRest.HttpOperationResponse(request, response); httpOperationResponse.body = result; if (err) { reject(err); } @@ -1338,7 +1338,7 @@ class DatabaseVulnerabilityAssessmentScans { * * {stream} [response] - The HTTP Response stream if an error did not occur. */ - beginExecute(resourceGroupName, serverName, databaseName, scanId, options, optionalCallback) { + beginInitiateScan(resourceGroupName, serverName, databaseName, scanId, options, optionalCallback) { let client = this.client; let self = this; if (!optionalCallback && typeof options === 'function') { @@ -1347,14 +1347,14 @@ class DatabaseVulnerabilityAssessmentScans { } if (!optionalCallback) { return new Promise((resolve, reject) => { - self._beginExecute(resourceGroupName, serverName, databaseName, scanId, options, (err, result, request, response) => { + self._beginInitiateScan(resourceGroupName, serverName, databaseName, scanId, options, (err, result, request, response) => { if (err) { reject(err); } else { resolve(result); } return; }); }); } else { - return self._beginExecute(resourceGroupName, serverName, databaseName, scanId, options, optionalCallback); + return self._beginInitiateScan(resourceGroupName, serverName, databaseName, scanId, options, optionalCallback); } } diff --git a/lib/services/sqlManagement2/lib/operations/databaseVulnerabilityAssessments.js b/lib/services/sqlManagement2/lib/operations/databaseVulnerabilityAssessments.js index 4b247b414f..15e382de4e 100644 --- a/lib/services/sqlManagement2/lib/operations/databaseVulnerabilityAssessments.js +++ b/lib/services/sqlManagement2/lib/operations/databaseVulnerabilityAssessments.js @@ -183,12 +183,12 @@ function _get(resourceGroupName, serverName, databaseName, options, callback) { * * @param {object} parameters The requested resource. * - * @param {string} [parameters.storageContainerPath] A blob storage container + * @param {string} parameters.storageContainerPath A blob storage container * path to hold the scan results (e.g. * https://myStorage.blob.core.windows.net/VaScans/). * - * @param {string} [parameters.storageContainerSasKey] A shared access - * signature (SAS Key) that has write access to the blob container specified in + * @param {string} parameters.storageContainerSasKey A shared access signature + * (SAS Key) that has write access to the blob container specified in * 'storageContainerPath' parameter. * * @param {object} [parameters.recurringScans] The recurring scans settings @@ -640,12 +640,12 @@ class DatabaseVulnerabilityAssessments { * * @param {object} parameters The requested resource. * - * @param {string} [parameters.storageContainerPath] A blob storage container + * @param {string} parameters.storageContainerPath A blob storage container * path to hold the scan results (e.g. * https://myStorage.blob.core.windows.net/VaScans/). * - * @param {string} [parameters.storageContainerSasKey] A shared access - * signature (SAS Key) that has write access to the blob container specified in + * @param {string} parameters.storageContainerSasKey A shared access signature + * (SAS Key) that has write access to the blob container specified in * 'storageContainerPath' parameter. * * @param {object} [parameters.recurringScans] The recurring scans settings @@ -699,12 +699,12 @@ class DatabaseVulnerabilityAssessments { * * @param {object} parameters The requested resource. * - * @param {string} [parameters.storageContainerPath] A blob storage container + * @param {string} parameters.storageContainerPath A blob storage container * path to hold the scan results (e.g. * https://myStorage.blob.core.windows.net/VaScans/). * - * @param {string} [parameters.storageContainerSasKey] A shared access - * signature (SAS Key) that has write access to the blob container specified in + * @param {string} parameters.storageContainerSasKey A shared access signature + * (SAS Key) that has write access to the blob container specified in * 'storageContainerPath' parameter. * * @param {object} [parameters.recurringScans] The recurring scans settings diff --git a/lib/services/sqlManagement2/lib/operations/databases.js b/lib/services/sqlManagement2/lib/operations/databases.js index 7febf21ad9..3ed6e65457 100644 --- a/lib/services/sqlManagement2/lib/operations/databases.js +++ b/lib/services/sqlManagement2/lib/operations/databases.js @@ -1033,18 +1033,23 @@ function _get(resourceGroupName, serverName, databaseName, options, callback) { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -1137,10 +1142,10 @@ function _get(resourceGroupName, serverName, databaseName, options, callback) { * connection string may be routed to a readonly secondary replica in the same * region. Possible values include: 'Enabled', 'Disabled' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1294,18 +1299,23 @@ function _deleteMethod(resourceGroupName, serverName, databaseName, options, cal * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -2678,18 +2688,23 @@ function _beginUpgradeDataWarehouse(resourceGroupName, serverName, databaseName, * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -2782,10 +2797,10 @@ function _beginUpgradeDataWarehouse(resourceGroupName, serverName, databaseName, * connection string may be routed to a readonly secondary replica in the same * region. Possible values include: 'Enabled', 'Disabled' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -3108,18 +3123,23 @@ function _beginDeleteMethod(resourceGroupName, serverName, databaseName, options * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -4900,18 +4920,23 @@ class Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -5004,10 +5029,10 @@ class Databases { * connection string may be routed to a readonly secondary replica in the same * region. Possible values include: 'Enabled', 'Disabled' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -5048,18 +5073,23 @@ class Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -5152,10 +5182,10 @@ class Databases { * connection string may be routed to a readonly secondary replica in the same * region. Possible values include: 'Enabled', 'Disabled' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -5311,18 +5341,23 @@ class Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -5457,18 +5492,23 @@ class Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -6553,18 +6593,23 @@ class Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -6657,10 +6702,10 @@ class Databases { * connection string may be routed to a readonly secondary replica in the same * region. Possible values include: 'Enabled', 'Disabled' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -6701,18 +6746,23 @@ class Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -6805,10 +6855,10 @@ class Databases { * connection string may be routed to a readonly secondary replica in the same * region. Possible values include: 'Enabled', 'Disabled' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -6964,18 +7014,23 @@ class Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -7110,18 +7165,23 @@ class Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. diff --git a/lib/services/sqlManagement2/lib/operations/elasticPools.js b/lib/services/sqlManagement2/lib/operations/elasticPools.js index 00900cb8d8..7b003a3316 100644 --- a/lib/services/sqlManagement2/lib/operations/elasticPools.js +++ b/lib/services/sqlManagement2/lib/operations/elasticPools.js @@ -646,18 +646,23 @@ function _get(resourceGroupName, serverName, elasticPoolName, options, callback) * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -678,10 +683,10 @@ function _get(resourceGroupName, serverName, elasticPoolName, options, callback) * @param {string} [parameters.licenseType] The license type to apply for this * elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -835,18 +840,23 @@ function _deleteMethod(resourceGroupName, serverName, elasticPoolName, options, * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -954,18 +964,23 @@ function _update(resourceGroupName, serverName, elasticPoolName, parameters, opt * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -986,10 +1001,10 @@ function _update(resourceGroupName, serverName, elasticPoolName, parameters, opt * @param {string} [parameters.licenseType] The license type to apply for this * elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1312,18 +1327,23 @@ function _beginDeleteMethod(resourceGroupName, serverName, elasticPoolName, opti * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -2051,18 +2071,23 @@ class ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -2083,10 +2108,10 @@ class ElasticPools { * @param {string} [parameters.licenseType] The license type to apply for this * elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2127,18 +2152,23 @@ class ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -2159,10 +2189,10 @@ class ElasticPools { * @param {string} [parameters.licenseType] The license type to apply for this * elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2318,18 +2348,23 @@ class ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -2392,18 +2427,23 @@ class ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -2488,18 +2528,23 @@ class ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -2520,10 +2565,10 @@ class ElasticPools { * @param {string} [parameters.licenseType] The license type to apply for this * elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2564,18 +2609,23 @@ class ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -2596,10 +2646,10 @@ class ElasticPools { * @param {string} [parameters.licenseType] The license type to apply for this * elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2755,18 +2805,23 @@ class ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -2829,18 +2884,23 @@ class ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. diff --git a/lib/services/sqlManagement2/lib/operations/index.d.ts b/lib/services/sqlManagement2/lib/operations/index.d.ts index 1fc6fc2162..a2e56574ad 100644 --- a/lib/services/sqlManagement2/lib/operations/index.d.ts +++ b/lib/services/sqlManagement2/lib/operations/index.d.ts @@ -568,10 +568,10 @@ export interface Servers { * * @param {string} [parameters.version] The version of the server. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -612,10 +612,10 @@ export interface Servers { * * @param {string} [parameters.version] The version of the server. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -824,10 +824,10 @@ export interface Servers { * * @param {string} [parameters.version] The version of the server. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -868,10 +868,10 @@ export interface Servers { * * @param {string} [parameters.version] The version of the server. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -3190,18 +3190,23 @@ export interface Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -3294,10 +3299,10 @@ export interface Databases { * connection string may be routed to a readonly secondary replica in the same * region. Possible values include: 'Enabled', 'Disabled' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -3326,18 +3331,23 @@ export interface Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -3430,10 +3440,10 @@ export interface Databases { * connection string may be routed to a readonly secondary replica in the same * region. Possible values include: 'Enabled', 'Disabled' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -3547,18 +3557,23 @@ export interface Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -3681,18 +3696,23 @@ export interface Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -4546,18 +4566,23 @@ export interface Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -4650,10 +4675,10 @@ export interface Databases { * connection string may be routed to a readonly secondary replica in the same * region. Possible values include: 'Enabled', 'Disabled' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -4682,18 +4707,23 @@ export interface Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -4786,10 +4816,10 @@ export interface Databases { * connection string may be routed to a readonly secondary replica in the same * region. Possible values include: 'Enabled', 'Disabled' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -4903,18 +4933,23 @@ export interface Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -5037,18 +5072,23 @@ export interface Databases { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.createMode] Specifies the mode of database * creation. @@ -5724,18 +5764,23 @@ export interface ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -5756,10 +5801,10 @@ export interface ElasticPools { * @param {string} [parameters.licenseType] The license type to apply for this * elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -5788,18 +5833,23 @@ export interface ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -5820,10 +5870,10 @@ export interface ElasticPools { * @param {string} [parameters.licenseType] The license type to apply for this * elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -5937,18 +5987,23 @@ export interface ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -5999,18 +6054,23 @@ export interface ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -6080,18 +6140,23 @@ export interface ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -6112,10 +6177,10 @@ export interface ElasticPools { * @param {string} [parameters.licenseType] The license type to apply for this * elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -6144,18 +6209,23 @@ export interface ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -6176,10 +6246,10 @@ export interface ElasticPools { * @param {string} [parameters.licenseType] The license type to apply for this * elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice' * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -6293,18 +6363,23 @@ export interface ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -6355,18 +6430,23 @@ export interface ElasticPools { * * @param {object} [parameters.sku] * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {number} [parameters.maxSizeBytes] The storage limit for the database * elastic pool in bytes. @@ -10913,18 +10993,23 @@ export interface ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -10943,10 +11028,10 @@ export interface ManagedInstances { * * @param {number} [parameters.storageSizeInGB] The maximum storage size in GB. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -10981,18 +11066,23 @@ export interface ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -11011,10 +11101,10 @@ export interface ManagedInstances { * * @param {number} [parameters.storageSizeInGB] The maximum storage size in GB. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -11122,18 +11212,23 @@ export interface ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -11180,18 +11275,23 @@ export interface ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -11265,18 +11365,23 @@ export interface ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -11295,10 +11400,10 @@ export interface ManagedInstances { * * @param {number} [parameters.storageSizeInGB] The maximum storage size in GB. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -11333,18 +11438,23 @@ export interface ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -11363,10 +11473,10 @@ export interface ManagedInstances { * * @param {number} [parameters.storageSizeInGB] The maximum storage size in GB. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -11474,18 +11584,23 @@ export interface ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -11532,18 +11647,23 @@ export interface ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -16803,12 +16923,12 @@ export interface DatabaseVulnerabilityAssessments { * * @param {object} parameters The requested resource. * - * @param {string} [parameters.storageContainerPath] A blob storage container + * @param {string} parameters.storageContainerPath A blob storage container * path to hold the scan results (e.g. * https://myStorage.blob.core.windows.net/VaScans/). * - * @param {string} [parameters.storageContainerSasKey] A shared access - * signature (SAS Key) that has write access to the blob container specified in + * @param {string} parameters.storageContainerSasKey A shared access signature + * (SAS Key) that has write access to the blob container specified in * 'storageContainerPath' parameter. * * @param {object} [parameters.recurringScans] The recurring scans settings @@ -16850,12 +16970,12 @@ export interface DatabaseVulnerabilityAssessments { * * @param {object} parameters The requested resource. * - * @param {string} [parameters.storageContainerPath] A blob storage container + * @param {string} parameters.storageContainerPath A blob storage container * path to hold the scan results (e.g. * https://myStorage.blob.core.windows.net/VaScans/). * - * @param {string} [parameters.storageContainerSasKey] A shared access - * signature (SAS Key) that has write access to the blob container specified in + * @param {string} parameters.storageContainerSasKey A shared access signature + * (SAS Key) that has write access to the blob container specified in * 'storageContainerPath' parameter. * * @param {object} [parameters.recurringScans] The recurring scans settings @@ -17126,26 +17246,31 @@ export interface JobAgents { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} parameters.databaseId Resource ID of the database to store * job metadata in. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -17175,26 +17300,31 @@ export interface JobAgents { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} parameters.databaseId Resource ID of the database to store * job metadata in. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -17384,26 +17514,31 @@ export interface JobAgents { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} parameters.databaseId Resource ID of the database to store * job metadata in. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -17433,26 +17568,31 @@ export interface JobAgents { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} parameters.databaseId Resource ID of the database to store * job metadata in. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -22409,10 +22549,10 @@ export interface ManagedDatabases { * createMode is RestoreExternalBackup, this value is required. Specifies the * storage container sas token. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -22469,10 +22609,10 @@ export interface ManagedDatabases { * createMode is RestoreExternalBackup, this value is required. Specifies the * storage container sas token. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -22821,10 +22961,10 @@ export interface ManagedDatabases { * createMode is RestoreExternalBackup, this value is required. Specifies the * storage container sas token. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -22881,10 +23021,10 @@ export interface ManagedDatabases { * createMode is RestoreExternalBackup, this value is required. Specifies the * storage container sas token. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -24927,7 +25067,7 @@ export interface DatabaseVulnerabilityAssessmentScans { * * @reject {Error|ServiceError} - The error object. */ - executeWithHttpOperationResponse(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + initiateScanWithHttpOperationResponse(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Executes a Vulnerability Assessment database scan. @@ -24969,9 +25109,9 @@ export interface DatabaseVulnerabilityAssessmentScans { * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - execute(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - execute(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, callback: ServiceCallback): void; - execute(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + initiateScan(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + initiateScan(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, callback: ServiceCallback): void; + initiateScan(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** @@ -25141,7 +25281,7 @@ export interface DatabaseVulnerabilityAssessmentScans { * * @reject {Error|ServiceError} - The error object. */ - beginExecuteWithHttpOperationResponse(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + beginInitiateScanWithHttpOperationResponse(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Executes a Vulnerability Assessment database scan. @@ -25183,9 +25323,9 @@ export interface DatabaseVulnerabilityAssessmentScans { * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - beginExecute(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - beginExecute(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, callback: ServiceCallback): void; - beginExecute(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + beginInitiateScan(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + beginInitiateScan(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, callback: ServiceCallback): void; + beginInitiateScan(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** diff --git a/lib/services/sqlManagement2/lib/operations/jobAgents.js b/lib/services/sqlManagement2/lib/operations/jobAgents.js index 668c876352..27fa64082f 100644 --- a/lib/services/sqlManagement2/lib/operations/jobAgents.js +++ b/lib/services/sqlManagement2/lib/operations/jobAgents.js @@ -327,26 +327,31 @@ function _get(resourceGroupName, serverName, jobAgentName, options, callback) { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} parameters.databaseId Resource ID of the database to store * job metadata in. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -586,26 +591,31 @@ function _update(resourceGroupName, serverName, jobAgentName, parameters, option * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} parameters.databaseId Resource ID of the database to store * job metadata in. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1431,26 +1441,31 @@ class JobAgents { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} parameters.databaseId Resource ID of the database to store * job metadata in. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1492,26 +1507,31 @@ class JobAgents { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} parameters.databaseId Resource ID of the database to store * job metadata in. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1770,26 +1790,31 @@ class JobAgents { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} parameters.databaseId Resource ID of the database to store * job metadata in. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1831,26 +1856,31 @@ class JobAgents { * * @param {object} [parameters.sku] The name and tier of the SKU. * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} parameters.databaseId Resource ID of the database to store * job metadata in. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the diff --git a/lib/services/sqlManagement2/lib/operations/managedDatabases.js b/lib/services/sqlManagement2/lib/operations/managedDatabases.js index 4f1c1c5fe0..e20ff0e1b1 100644 --- a/lib/services/sqlManagement2/lib/operations/managedDatabases.js +++ b/lib/services/sqlManagement2/lib/operations/managedDatabases.js @@ -425,10 +425,10 @@ function _get(resourceGroupName, managedInstanceName, databaseName, options, cal * createMode is RestoreExternalBackup, this value is required. Specifies the * storage container sas token. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -874,10 +874,10 @@ function _beginCompleteRestore(locationName, operationId, parameters, options, c * createMode is RestoreExternalBackup, this value is required. Specifies the * storage container sas token. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1863,10 +1863,10 @@ class ManagedDatabases { * createMode is RestoreExternalBackup, this value is required. Specifies the * storage container sas token. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1935,10 +1935,10 @@ class ManagedDatabases { * createMode is RestoreExternalBackup, this value is required. Specifies the * storage container sas token. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2383,10 +2383,10 @@ class ManagedDatabases { * createMode is RestoreExternalBackup, this value is required. Specifies the * storage container sas token. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2455,10 +2455,10 @@ class ManagedDatabases { * createMode is RestoreExternalBackup, this value is required. Specifies the * storage container sas token. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the diff --git a/lib/services/sqlManagement2/lib/operations/managedInstances.js b/lib/services/sqlManagement2/lib/operations/managedInstances.js index 97150b9f7a..1e0c295345 100644 --- a/lib/services/sqlManagement2/lib/operations/managedInstances.js +++ b/lib/services/sqlManagement2/lib/operations/managedInstances.js @@ -453,18 +453,23 @@ function _get(resourceGroupName, managedInstanceName, options, callback) { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -483,10 +488,10 @@ function _get(resourceGroupName, managedInstanceName, options, callback) { * * @param {number} [parameters.storageSizeInGB] The maximum storage size in GB. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -636,18 +641,23 @@ function _deleteMethod(resourceGroupName, managedInstanceName, options, callback * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -759,18 +769,23 @@ function _update(resourceGroupName, managedInstanceName, parameters, options, ca * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -789,10 +804,10 @@ function _update(resourceGroupName, managedInstanceName, parameters, options, ca * * @param {number} [parameters.storageSizeInGB] The maximum storage size in GB. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1103,18 +1118,23 @@ function _beginDeleteMethod(resourceGroupName, managedInstanceName, options, cal * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -1842,18 +1862,23 @@ class ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -1872,10 +1897,10 @@ class ManagedInstances { * * @param {number} [parameters.storageSizeInGB] The maximum storage size in GB. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1922,18 +1947,23 @@ class ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -1952,10 +1982,10 @@ class ManagedInstances { * * @param {number} [parameters.storageSizeInGB] The maximum storage size in GB. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2105,18 +2135,23 @@ class ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -2175,18 +2210,23 @@ class ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -2275,18 +2315,23 @@ class ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -2305,10 +2350,10 @@ class ManagedInstances { * * @param {number} [parameters.storageSizeInGB] The maximum storage size in GB. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2355,18 +2400,23 @@ class ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -2385,10 +2435,10 @@ class ManagedInstances { * * @param {number} [parameters.storageSizeInGB] The maximum storage size in GB. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2538,18 +2588,23 @@ class ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is @@ -2608,18 +2663,23 @@ class ManagedInstances { * * @param {object} [parameters.sku] Managed instance sku * - * @param {string} parameters.sku.name The name of the SKU, typically, a letter - * + Number code, e.g. P3. + * @param {string} parameters.sku.name The name of the SKU. Ex - P3. It is + * typically a letter+number code * - * @param {string} [parameters.sku.tier] The tier of the particular SKU, e.g. - * Basic, Premium. + * @param {string} [parameters.sku.tier] This field is required to be + * implemented by the Resource Provider if the service has more than one tier, + * but is not required on a PUT. * - * @param {string} [parameters.sku.size] Size of the particular SKU + * @param {string} [parameters.sku.size] The SKU size. When the name field is + * the combination of tier and some other value, this would be the standalone + * code. * * @param {string} [parameters.sku.family] If the service has different * generations of hardware, for the same SKU, then that can be captured here. * - * @param {number} [parameters.sku.capacity] Capacity of the particular SKU. + * @param {number} [parameters.sku.capacity] If the SKU supports scale out/in + * then the capacity integer should be included. If scale out/in is not + * possible for the resource this may be omitted. * * @param {string} [parameters.administratorLogin] Administrator username for * the managed instance. Can only be specified when the managed instance is diff --git a/lib/services/sqlManagement2/lib/operations/servers.js b/lib/services/sqlManagement2/lib/operations/servers.js index 7d1ed28aff..66c102ecbd 100644 --- a/lib/services/sqlManagement2/lib/operations/servers.js +++ b/lib/services/sqlManagement2/lib/operations/servers.js @@ -615,10 +615,10 @@ function _get(resourceGroupName, serverName, options, callback) { * * @param {string} [parameters.version] The version of the server. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -873,10 +873,10 @@ function _update(resourceGroupName, serverName, parameters, options, callback) { * * @param {string} [parameters.version] The version of the server. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1994,10 +1994,10 @@ class Servers { * * @param {string} [parameters.version] The version of the server. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2050,10 +2050,10 @@ class Servers { * * @param {string} [parameters.version] The version of the server. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2331,10 +2331,10 @@ class Servers { * * @param {string} [parameters.version] The version of the server. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2387,10 +2387,10 @@ class Servers { * * @param {string} [parameters.version] The version of the server. * - * @param {object} [parameters.tags] Resource tags. - * * @param {string} parameters.location Resource location. * + * @param {object} [parameters.tags] Resource tags. + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the