diff --git a/lib/services/mariadbManagement/README.md b/lib/services/mariadbManagement/README.md index cf6221f703..e84b60f55a 100644 --- a/lib/services/mariadbManagement/README.md +++ b/lib/services/mariadbManagement/README.md @@ -3,22 +3,23 @@ uid: azure-arm-mariadb summary: *content --- -# Microsoft Azure SDK for Node.js - MariaDBManagementClient +**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://github.com/Azure/azure-sdk-for-js) which works on Node.js and browsers.** +## Microsoft Azure SDK for Node.js - MariaDBManagementClient This project provides a Node.js package for accessing Azure. Right now it supports: - **Node.js version 6.x.x or higher** -## Features +### Features -## How to Install +### How to Install ```bash npm install azure-arm-mariadb ``` -## How to use +### How to use -### Authentication, client creation and get servers as an example. +#### Authentication, client creation and get servers as an example. ```javascript const msRestAzure = require("ms-rest-azure"); @@ -37,6 +38,6 @@ msRestAzure.interactiveLogin().then((creds) => { console.dir(err, {depth: null, colors: true}); }); -## Related projects +### Related projects - [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node) diff --git a/lib/services/mariadbManagement/lib/models/configuration.js b/lib/services/mariadbManagement/lib/models/configuration.js index 3cad3a004a..d4b7a06de1 100644 --- a/lib/services/mariadbManagement/lib/models/configuration.js +++ b/lib/services/mariadbManagement/lib/models/configuration.js @@ -20,12 +20,12 @@ const models = require('./index'); class Configuration extends models['ProxyResource'] { /** * Create a Configuration. - * @member {string} [value] Value of the configuration. - * @member {string} [description] Description of the configuration. - * @member {string} [defaultValue] Default value of the configuration. - * @member {string} [dataType] Data type of the configuration. - * @member {string} [allowedValues] Allowed values of the configuration. - * @member {string} [source] Source of the configuration. + * @property {string} [value] Value of the configuration. + * @property {string} [description] Description of the configuration. + * @property {string} [defaultValue] Default value of the configuration. + * @property {string} [dataType] Data type of the configuration. + * @property {string} [allowedValues] Allowed values of the configuration. + * @property {string} [source] Source of the configuration. */ constructor() { super(); diff --git a/lib/services/mariadbManagement/lib/models/database.js b/lib/services/mariadbManagement/lib/models/database.js index bab9adc656..16a4662fc7 100644 --- a/lib/services/mariadbManagement/lib/models/database.js +++ b/lib/services/mariadbManagement/lib/models/database.js @@ -20,8 +20,8 @@ const models = require('./index'); class Database extends models['ProxyResource'] { /** * Create a Database. - * @member {string} [charset] The charset of the database. - * @member {string} [collation] The collation of the database. + * @property {string} [charset] The charset of the database. + * @property {string} [collation] The collation of the database. */ constructor() { super(); diff --git a/lib/services/mariadbManagement/lib/models/firewallRule.js b/lib/services/mariadbManagement/lib/models/firewallRule.js index 9b02e606e2..ded74c846e 100644 --- a/lib/services/mariadbManagement/lib/models/firewallRule.js +++ b/lib/services/mariadbManagement/lib/models/firewallRule.js @@ -20,9 +20,9 @@ const models = require('./index'); class FirewallRule extends models['ProxyResource'] { /** * Create a FirewallRule. - * @member {string} startIpAddress The start IP address of the server + * @property {string} startIpAddress The start IP address of the server * firewall rule. Must be IPv4 format. - * @member {string} endIpAddress The end IP address of the server firewall + * @property {string} endIpAddress The end IP address of the server firewall * rule. Must be IPv4 format. */ constructor() { @@ -71,7 +71,7 @@ class FirewallRule extends models['ProxyResource'] { required: true, serializedName: 'properties.startIpAddress', constraints: { - Pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' + Pattern: /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/ }, type: { name: 'String' @@ -81,7 +81,7 @@ class FirewallRule extends models['ProxyResource'] { required: true, serializedName: 'properties.endIpAddress', constraints: { - Pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' + Pattern: /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/ }, type: { name: 'String' diff --git a/lib/services/mariadbManagement/lib/models/index.d.ts b/lib/services/mariadbManagement/lib/models/index.d.ts index fe49f1e67d..d7df3e0393 100644 --- a/lib/services/mariadbManagement/lib/models/index.d.ts +++ b/lib/services/mariadbManagement/lib/models/index.d.ts @@ -1,619 +1,575 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { BaseResource } from 'ms-rest-azure'; -import { CloudError } from 'ms-rest-azure'; -import * as moment from 'moment'; +import { BaseResource, CloudError } from "ms-rest-azure"; +import * as moment from "moment"; -export { BaseResource } from 'ms-rest-azure'; -export { CloudError } from 'ms-rest-azure'; +export { + BaseResource, + CloudError +}; /** - * @class - * Initializes a new instance of the ProxyResource class. - * @constructor * Resource properties. - * - * @member {string} [id] Resource ID - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. */ export interface ProxyResource extends BaseResource { + /** + * Resource ID + */ readonly id?: string; + /** + * Resource name. + */ readonly name?: string; + /** + * Resource type. + */ readonly type?: string; } /** - * @class - * Initializes a new instance of the TrackedResource class. - * @constructor * Resource properties including location and tags for track resources. - * - * @member {string} location The location the resource resides in. - * @member {object} [tags] Application-specific metadata in the form of - * key-value pairs. */ export interface TrackedResource extends ProxyResource { + /** + * The location the resource resides in. + */ location: string; + /** + * Application-specific metadata in the form of key-value pairs. + */ tags?: { [propertyName: string]: string }; } /** - * @class - * Initializes a new instance of the StorageProfile class. - * @constructor * Storage Profile properties of a server - * - * @member {number} [backupRetentionDays] Backup retention days for the server. - * @member {string} [geoRedundantBackup] Enable Geo-redundant or not for server - * backup. Possible values include: 'Enabled', 'Disabled' - * @member {number} [storageMB] Max storage allowed for a server. */ export interface StorageProfile { + /** + * Backup retention days for the server. + */ backupRetentionDays?: number; + /** + * Enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled' + */ geoRedundantBackup?: string; + /** + * Max storage allowed for a server. + */ storageMB?: number; } /** - * @class - * Initializes a new instance of the ServerPropertiesForCreate class. - * @constructor * The properties used to create a new server. - * - * @member {string} [version] Server version. Possible values include: '5.6', - * '5.7' - * @member {string} [sslEnforcement] Enable ssl enforcement or not when connect - * to server. Possible values include: 'Enabled', 'Disabled' - * @member {object} [storageProfile] Storage profile of a server. - * @member {number} [storageProfile.backupRetentionDays] Backup retention days - * for the server. - * @member {string} [storageProfile.geoRedundantBackup] Enable Geo-redundant or - * not for server backup. Possible values include: 'Enabled', 'Disabled' - * @member {number} [storageProfile.storageMB] Max storage allowed for a - * server. - * @member {string} createMode Polymorphic Discriminator */ export interface ServerPropertiesForCreate { + /** + * Server version. Possible values include: '5.6', '5.7' + */ version?: string; + /** + * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', + * 'Disabled' + */ sslEnforcement?: string; + /** + * Storage profile of a server. + */ storageProfile?: StorageProfile; + /** + * Polymorphic Discriminator + */ createMode: string; } /** - * @class - * Initializes a new instance of the ServerPropertiesForDefaultCreate class. - * @constructor * The properties used to create a new server. - * - * @member {string} administratorLogin The administrator's login name of a - * server. Can only be specified when the server is being created (and is - * required for creation). - * @member {string} administratorLoginPassword The password of the - * administrator login. */ export interface ServerPropertiesForDefaultCreate extends ServerPropertiesForCreate { + /** + * The administrator's login name of a server. Can only be specified when the server is being + * created (and is required for creation). + */ administratorLogin: string; + /** + * The password of the administrator login. + */ administratorLoginPassword: string; } /** - * @class - * Initializes a new instance of the ServerPropertiesForRestore class. - * @constructor * The properties used to create a new server by restoring from a backup. - * - * @member {string} sourceServerId The source server id to restore from. - * @member {date} restorePointInTime Restore point creation time (ISO8601 - * format), specifying the time to restore from. */ export interface ServerPropertiesForRestore extends ServerPropertiesForCreate { + /** + * The source server id to restore from. + */ sourceServerId: string; + /** + * Restore point creation time (ISO8601 format), specifying the time to restore from. + */ restorePointInTime: Date; } /** - * @class - * Initializes a new instance of the ServerPropertiesForGeoRestore class. - * @constructor - * The properties used to create a new server by restoring to a different - * region from a geo replicated backup. - * - * @member {string} sourceServerId The source server id to restore from. + * The properties used to create a new server by restoring to a different region from a geo + * replicated backup. */ export interface ServerPropertiesForGeoRestore extends ServerPropertiesForCreate { + /** + * The source server id to restore from. + */ sourceServerId: string; } /** - * @class - * Initializes a new instance of the Sku class. - * @constructor * Billing information related properties of a server. - * - * @member {string} [name] The name of the sku, typically, tier + family + - * cores, e.g. B_Gen4_1, GP_Gen5_8. - * @member {string} [tier] The tier of the particular SKU, e.g. Basic. Possible - * values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' - * @member {number} [capacity] The scale up/out capacity, representing server's - * compute units. - * @member {string} [size] The size code, to be interpreted by resource as - * appropriate. - * @member {string} [family] The family of hardware. */ export interface Sku { + /** + * The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + */ name?: string; + /** + * The tier of the particular SKU, e.g. Basic. Possible values include: 'Basic', + * 'GeneralPurpose', 'MemoryOptimized' + */ tier?: string; + /** + * The scale up/out capacity, representing server's compute units. + */ capacity?: number; + /** + * The size code, to be interpreted by resource as appropriate. + */ size?: string; + /** + * The family of hardware. + */ family?: string; } /** - * @class - * Initializes a new instance of the Server class. - * @constructor * Represents a server. - * - * @member {object} [sku] The SKU (pricing tier) of the server. - * @member {string} [sku.name] The name of the sku, typically, tier + family + - * cores, e.g. B_Gen4_1, GP_Gen5_8. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic. - * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' - * @member {number} [sku.capacity] The scale up/out capacity, representing - * server's compute units. - * @member {string} [sku.size] The size code, to be interpreted by resource as - * appropriate. - * @member {string} [sku.family] The family of hardware. - * @member {string} [administratorLogin] The administrator's login name of a - * server. Can only be specified when the server is being created (and is - * required for creation). - * @member {string} [version] Server version. Possible values include: '5.6', - * '5.7' - * @member {string} [sslEnforcement] Enable ssl enforcement or not when connect - * to server. Possible values include: 'Enabled', 'Disabled' - * @member {string} [userVisibleState] A state of a server that is visible to - * user. Possible values include: 'Ready', 'Dropping', 'Disabled' - * @member {string} [fullyQualifiedDomainName] The fully qualified domain name - * of a server. - * @member {date} [earliestRestoreDate] Earliest restore point creation time - * (ISO8601 format) - * @member {object} [storageProfile] Storage profile of a server. - * @member {number} [storageProfile.backupRetentionDays] Backup retention days - * for the server. - * @member {string} [storageProfile.geoRedundantBackup] Enable Geo-redundant or - * not for server backup. Possible values include: 'Enabled', 'Disabled' - * @member {number} [storageProfile.storageMB] Max storage allowed for a - * server. */ export interface Server extends TrackedResource { + /** + * The SKU (pricing tier) of the server. + */ sku?: Sku; + /** + * The administrator's login name of a server. Can only be specified when the server is being + * created (and is required for creation). + */ administratorLogin?: string; + /** + * Server version. Possible values include: '5.6', '5.7' + */ version?: string; + /** + * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', + * 'Disabled' + */ sslEnforcement?: string; + /** + * A state of a server that is visible to user. Possible values include: 'Ready', 'Dropping', + * 'Disabled' + */ userVisibleState?: string; + /** + * The fully qualified domain name of a server. + */ fullyQualifiedDomainName?: string; + /** + * Earliest restore point creation time (ISO8601 format) + */ earliestRestoreDate?: Date; + /** + * Storage profile of a server. + */ storageProfile?: StorageProfile; } /** - * @class - * Initializes a new instance of the ServerForCreate class. - * @constructor * Represents a server to be created. - * - * @member {object} [sku] The SKU (pricing tier) of the server. - * @member {string} [sku.name] The name of the sku, typically, tier + family + - * cores, e.g. B_Gen4_1, GP_Gen5_8. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic. - * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' - * @member {number} [sku.capacity] The scale up/out capacity, representing - * server's compute units. - * @member {string} [sku.size] The size code, to be interpreted by resource as - * appropriate. - * @member {string} [sku.family] The family of hardware. - * @member {object} properties Properties of the server. - * @member {string} [properties.version] Server version. Possible values - * include: '5.6', '5.7' - * @member {string} [properties.sslEnforcement] Enable ssl enforcement or not - * when connect to server. Possible values include: 'Enabled', 'Disabled' - * @member {object} [properties.storageProfile] Storage profile of a server. - * @member {number} [properties.storageProfile.backupRetentionDays] Backup - * retention days for the server. - * @member {string} [properties.storageProfile.geoRedundantBackup] Enable - * Geo-redundant or not for server backup. Possible values include: 'Enabled', - * 'Disabled' - * @member {number} [properties.storageProfile.storageMB] Max storage allowed - * for a server. - * @member {string} [properties.createMode] Polymorphic Discriminator - * @member {string} location The location the resource resides in. - * @member {object} [tags] Application-specific metadata in the form of - * key-value pairs. */ export interface ServerForCreate { + /** + * The SKU (pricing tier) of the server. + */ sku?: Sku; + /** + * Properties of the server. + */ properties: ServerPropertiesForCreate; + /** + * The location the resource resides in. + */ location: string; + /** + * Application-specific metadata in the form of key-value pairs. + */ tags?: { [propertyName: string]: string }; } /** - * @class - * Initializes a new instance of the ServerUpdateParameters class. - * @constructor - * Parameters allowd to update for a server. - * - * @member {object} [sku] The SKU (pricing tier) of the server. - * @member {string} [sku.name] The name of the sku, typically, tier + family + - * cores, e.g. B_Gen4_1, GP_Gen5_8. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic. - * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' - * @member {number} [sku.capacity] The scale up/out capacity, representing - * server's compute units. - * @member {string} [sku.size] The size code, to be interpreted by resource as - * appropriate. - * @member {string} [sku.family] The family of hardware. - * @member {object} [storageProfile] Storage profile of a server. - * @member {number} [storageProfile.backupRetentionDays] Backup retention days - * for the server. - * @member {string} [storageProfile.geoRedundantBackup] Enable Geo-redundant or - * not for server backup. Possible values include: 'Enabled', 'Disabled' - * @member {number} [storageProfile.storageMB] Max storage allowed for a - * server. - * @member {string} [administratorLoginPassword] The password of the - * administrator login. - * @member {string} [version] The version of a server. Possible values include: - * '5.6', '5.7' - * @member {string} [sslEnforcement] Enable ssl enforcement or not when connect - * to server. Possible values include: 'Enabled', 'Disabled' - * @member {object} [tags] Application-specific metadata in the form of - * key-value pairs. + * Parameters allowed to update for a server. */ export interface ServerUpdateParameters { + /** + * The SKU (pricing tier) of the server. + */ sku?: Sku; + /** + * Storage profile of a server. + */ storageProfile?: StorageProfile; + /** + * The password of the administrator login. + */ administratorLoginPassword?: string; + /** + * The version of a server. Possible values include: '5.6', '5.7' + */ version?: string; + /** + * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', + * 'Disabled' + */ sslEnforcement?: string; + /** + * Application-specific metadata in the form of key-value pairs. + */ tags?: { [propertyName: string]: string }; } /** - * @class - * Initializes a new instance of the FirewallRule class. - * @constructor * Represents a server firewall rule. - * - * @member {string} startIpAddress The start IP address of the server firewall - * rule. Must be IPv4 format. - * @member {string} endIpAddress The end IP address of the server firewall - * rule. Must be IPv4 format. */ export interface FirewallRule extends ProxyResource { + /** + * The start IP address of the server firewall rule. Must be IPv4 format. + */ startIpAddress: string; + /** + * The end IP address of the server firewall rule. Must be IPv4 format. + */ endIpAddress: string; } /** - * @class - * Initializes a new instance of the VirtualNetworkRule class. - * @constructor * A virtual network rule. - * - * @member {string} virtualNetworkSubnetId The ARM resource id of the virtual - * network subnet. - * @member {boolean} [ignoreMissingVnetServiceEndpoint] Create firewall rule - * before the virtual network has vnet service endpoint enabled. - * @member {string} [state] Virtual Network Rule State. Possible values - * include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' */ export interface VirtualNetworkRule extends ProxyResource { + /** + * The ARM resource id of the virtual network subnet. + */ virtualNetworkSubnetId: string; + /** + * Create firewall rule before the virtual network has vnet service endpoint enabled. + */ ignoreMissingVnetServiceEndpoint?: boolean; + /** + * Virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready', + * 'Deleting', 'Unknown' + */ readonly state?: string; } /** - * @class - * Initializes a new instance of the Database class. - * @constructor * Represents a Database. - * - * @member {string} [charset] The charset of the database. - * @member {string} [collation] The collation of the database. */ export interface Database extends ProxyResource { + /** + * The charset of the database. + */ charset?: string; + /** + * The collation of the database. + */ collation?: string; } /** - * @class - * Initializes a new instance of the Configuration class. - * @constructor * Represents a Configuration. - * - * @member {string} [value] Value of the configuration. - * @member {string} [description] Description of the configuration. - * @member {string} [defaultValue] Default value of the configuration. - * @member {string} [dataType] Data type of the configuration. - * @member {string} [allowedValues] Allowed values of the configuration. - * @member {string} [source] Source of the configuration. */ export interface Configuration extends ProxyResource { + /** + * Value of the configuration. + */ value?: string; + /** + * Description of the configuration. + */ readonly description?: string; + /** + * Default value of the configuration. + */ readonly defaultValue?: string; + /** + * Data type of the configuration. + */ readonly dataType?: string; + /** + * Allowed values of the configuration. + */ readonly allowedValues?: string; + /** + * Source of the configuration. + */ source?: string; } /** - * @class - * Initializes a new instance of the OperationDisplay class. - * @constructor * Display metadata associated with the operation. - * - * @member {string} [provider] Operation resource provider name. - * @member {string} [resource] Resource on which the operation is performed. - * @member {string} [operation] Localized friendly name for the operation. - * @member {string} [description] Operation description. */ export interface OperationDisplay { + /** + * Operation resource provider name. + */ readonly provider?: string; + /** + * Resource on which the operation is performed. + */ readonly resource?: string; + /** + * Localized friendly name for the operation. + */ readonly operation?: string; + /** + * Operation description. + */ readonly description?: string; } /** - * @class - * Initializes a new instance of the Operation class. - * @constructor * REST API operation definition. - * - * @member {string} [name] The name of the operation being performed on this - * particular object. - * @member {object} [display] The localized display information for this - * particular operation or action. - * @member {string} [display.provider] Operation resource provider name. - * @member {string} [display.resource] Resource on which the operation is - * performed. - * @member {string} [display.operation] Localized friendly name for the - * operation. - * @member {string} [display.description] Operation description. - * @member {string} [origin] The intended executor of the operation. Possible - * values include: 'NotSpecified', 'user', 'system' - * @member {object} [properties] Additional descriptions for the operation. */ export interface Operation { + /** + * The name of the operation being performed on this particular object. + */ readonly name?: string; + /** + * The localized display information for this particular operation or action. + */ readonly display?: OperationDisplay; + /** + * The intended executor of the operation. Possible values include: 'NotSpecified', 'user', + * 'system' + */ readonly origin?: string; + /** + * Additional descriptions for the operation. + */ readonly properties?: { [propertyName: string]: any }; } /** - * @class - * Initializes a new instance of the OperationListResult class. - * @constructor * A list of resource provider operations. - * - * @member {array} [value] The list of resource provider operations. */ export interface OperationListResult { + /** + * The list of resource provider operations. + */ value?: Operation[]; } /** - * @class - * Initializes a new instance of the LogFile class. - * @constructor * Represents a log file. - * - * @member {number} [sizeInKB] Size of the log file. - * @member {date} [createdTime] Creation timestamp of the log file. - * @member {date} [lastModifiedTime] Last modified timestamp of the log file. - * @member {string} [logFileType] Type of the log file. - * @member {string} [url] The url to download the log file from. */ export interface LogFile extends ProxyResource { + /** + * Size of the log file. + */ sizeInKB?: number; + /** + * Creation timestamp of the log file. + */ readonly createdTime?: Date; + /** + * Last modified timestamp of the log file. + */ readonly lastModifiedTime?: Date; + /** + * Type of the log file. + */ logFileType?: string; + /** + * The url to download the log file from. + */ readonly url?: string; } /** - * @class - * Initializes a new instance of the PerformanceTierServiceLevelObjectives class. - * @constructor * Service level objectives for performance tier. - * - * @member {string} [id] ID for the service level objective. - * @member {string} [edition] Edition of the performance tier. - * @member {number} [vCore] vCore associated with the service level objective - * @member {string} [hardwareGeneration] Hardware generation associated with - * the service level objective - * @member {number} [maxBackupRetentionDays] Maximum Backup retention in days - * for the performance tier edition - * @member {number} [minBackupRetentionDays] Minimum Backup retention in days - * for the performance tier edition - * @member {number} [maxStorageMB] Max storage allowed for a server. - * @member {number} [minStorageMB] Max storage allowed for a server. */ export interface PerformanceTierServiceLevelObjectives { + /** + * ID for the service level objective. + */ id?: string; + /** + * Edition of the performance tier. + */ edition?: string; + /** + * vCore associated with the service level objective + */ vCore?: number; + /** + * Hardware generation associated with the service level objective + */ hardwareGeneration?: string; + /** + * Maximum Backup retention in days for the performance tier edition + */ maxBackupRetentionDays?: number; + /** + * Minimum Backup retention in days for the performance tier edition + */ minBackupRetentionDays?: number; + /** + * Max storage allowed for a server. + */ maxStorageMB?: number; + /** + * Max storage allowed for a server. + */ minStorageMB?: number; } /** - * @class - * Initializes a new instance of the PerformanceTierProperties class. - * @constructor * Performance tier properties - * - * @member {string} [id] ID of the performance tier. - * @member {array} [serviceLevelObjectives] Service level objectives associated - * with the performance tier */ export interface PerformanceTierProperties { + /** + * ID of the performance tier. + */ id?: string; + /** + * Service level objectives associated with the performance tier + */ serviceLevelObjectives?: PerformanceTierServiceLevelObjectives[]; } /** - * @class - * Initializes a new instance of the NameAvailabilityRequest class. - * @constructor * Request from client to check resource name availability. - * - * @member {string} name Resource name to verify. - * @member {string} [type] Resource type used for verification. */ export interface NameAvailabilityRequest { + /** + * Resource name to verify. + */ name: string; + /** + * Resource type used for verification. + */ type?: string; } /** - * @class - * Initializes a new instance of the NameAvailability class. - * @constructor * Represents a resource name availability. - * - * @member {string} [message] Error Message. - * @member {boolean} [nameAvailable] Indicates whether the resource name is - * available. - * @member {string} [reason] Reason for name being unavailable. */ export interface NameAvailability { + /** + * Error Message. + */ message?: string; + /** + * Indicates whether the resource name is available. + */ nameAvailable?: boolean; + /** + * Reason for name being unavailable. + */ reason?: string; } /** - * @class - * Initializes a new instance of the ServerSecurityAlertPolicy class. - * @constructor * A server security alert policy. - * - * @member {string} state Specifies the state of the policy, whether it is - * enabled or disabled. Possible values include: 'Enabled', 'Disabled' - * @member {array} [disabledAlerts] Specifies an array of alerts that are - * disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, - * Access_Anomaly - * @member {array} [emailAddresses] Specifies an array of e-mail addresses to - * which the alert is sent. - * @member {boolean} [emailAccountAdmins] Specifies that the alert is sent to - * the account administrators. - * @member {string} [storageEndpoint] Specifies the blob storage endpoint (e.g. - * https://MyAccount.blob.core.windows.net). This blob storage will hold all - * Threat Detection audit logs. - * @member {string} [storageAccountAccessKey] Specifies the identifier key of - * the Threat Detection audit storage account. - * @member {number} [retentionDays] Specifies the number of days to keep in the - * Threat Detection audit logs. */ export interface ServerSecurityAlertPolicy extends ProxyResource { + /** + * Specifies the state of the policy, whether it is enabled or disabled. Possible values include: + * 'Enabled', 'Disabled' + */ state: string; + /** + * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, + * Sql_Injection_Vulnerability, Access_Anomaly + */ disabledAlerts?: string[]; + /** + * Specifies an array of e-mail addresses to which the alert is sent. + */ emailAddresses?: string[]; + /** + * Specifies that the alert is sent to the account administrators. + */ emailAccountAdmins?: boolean; + /** + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob + * storage will hold all Threat Detection audit logs. + */ storageEndpoint?: string; + /** + * Specifies the identifier key of the Threat Detection audit storage account. + */ storageAccountAccessKey?: string; + /** + * Specifies the number of days to keep in the Threat Detection audit logs. + */ retentionDays?: number; } - /** - * @class - * Initializes a new instance of the ServerListResult class. - * @constructor * A list of servers. - * */ export interface ServerListResult extends Array { } /** - * @class - * Initializes a new instance of the FirewallRuleListResult class. - * @constructor * A list of firewall rules. - * */ export interface FirewallRuleListResult extends Array { } /** - * @class - * Initializes a new instance of the VirtualNetworkRuleListResult class. - * @constructor * A list of virtual network rules. - * - * @member {string} [nextLink] Link to retrieve next page of results. */ export interface VirtualNetworkRuleListResult extends Array { + /** + * Link to retrieve next page of results. + */ readonly nextLink?: string; } /** - * @class - * Initializes a new instance of the DatabaseListResult class. - * @constructor * A List of databases. - * */ export interface DatabaseListResult extends Array { } /** - * @class - * Initializes a new instance of the ConfigurationListResult class. - * @constructor * A list of server configurations. - * */ export interface ConfigurationListResult extends Array { } /** - * @class - * Initializes a new instance of the LogFileListResult class. - * @constructor * A list of log files. - * */ export interface LogFileListResult extends Array { } /** - * @class - * Initializes a new instance of the PerformanceTierListResult class. - * @constructor * A list of performance tiers. - * */ export interface PerformanceTierListResult extends Array { } diff --git a/lib/services/mariadbManagement/lib/models/logFile.js b/lib/services/mariadbManagement/lib/models/logFile.js index f41a125079..000b78a01d 100644 --- a/lib/services/mariadbManagement/lib/models/logFile.js +++ b/lib/services/mariadbManagement/lib/models/logFile.js @@ -20,11 +20,12 @@ const models = require('./index'); class LogFile extends models['ProxyResource'] { /** * Create a LogFile. - * @member {number} [sizeInKB] Size of the log file. - * @member {date} [createdTime] Creation timestamp of the log file. - * @member {date} [lastModifiedTime] Last modified timestamp of the log file. - * @member {string} [logFileType] Type of the log file. - * @member {string} [url] The url to download the log file from. + * @property {number} [sizeInKB] Size of the log file. + * @property {date} [createdTime] Creation timestamp of the log file. + * @property {date} [lastModifiedTime] Last modified timestamp of the log + * file. + * @property {string} [logFileType] Type of the log file. + * @property {string} [url] The url to download the log file from. */ constructor() { super(); diff --git a/lib/services/mariadbManagement/lib/models/nameAvailability.js b/lib/services/mariadbManagement/lib/models/nameAvailability.js index 8a470f1501..4c8c8b9cc2 100644 --- a/lib/services/mariadbManagement/lib/models/nameAvailability.js +++ b/lib/services/mariadbManagement/lib/models/nameAvailability.js @@ -17,10 +17,10 @@ class NameAvailability { /** * Create a NameAvailability. - * @member {string} [message] Error Message. - * @member {boolean} [nameAvailable] Indicates whether the resource name is + * @property {string} [message] Error Message. + * @property {boolean} [nameAvailable] Indicates whether the resource name is * available. - * @member {string} [reason] Reason for name being unavailable. + * @property {string} [reason] Reason for name being unavailable. */ constructor() { } diff --git a/lib/services/mariadbManagement/lib/models/nameAvailabilityRequest.js b/lib/services/mariadbManagement/lib/models/nameAvailabilityRequest.js index 0384b36691..ad02a90a7a 100644 --- a/lib/services/mariadbManagement/lib/models/nameAvailabilityRequest.js +++ b/lib/services/mariadbManagement/lib/models/nameAvailabilityRequest.js @@ -17,8 +17,8 @@ class NameAvailabilityRequest { /** * Create a NameAvailabilityRequest. - * @member {string} name Resource name to verify. - * @member {string} [type] Resource type used for verification. + * @property {string} name Resource name to verify. + * @property {string} [type] Resource type used for verification. */ constructor() { } diff --git a/lib/services/mariadbManagement/lib/models/operation.js b/lib/services/mariadbManagement/lib/models/operation.js index 2041453a3a..9ec40e4b1c 100644 --- a/lib/services/mariadbManagement/lib/models/operation.js +++ b/lib/services/mariadbManagement/lib/models/operation.js @@ -17,19 +17,19 @@ class Operation { /** * Create a Operation. - * @member {string} [name] The name of the operation being performed on this - * particular object. - * @member {object} [display] The localized display information for this + * @property {string} [name] The name of the operation being performed on + * this particular object. + * @property {object} [display] The localized display information for this * particular operation or action. - * @member {string} [display.provider] Operation resource provider name. - * @member {string} [display.resource] Resource on which the operation is + * @property {string} [display.provider] Operation resource provider name. + * @property {string} [display.resource] Resource on which the operation is * performed. - * @member {string} [display.operation] Localized friendly name for the + * @property {string} [display.operation] Localized friendly name for the * operation. - * @member {string} [display.description] Operation description. - * @member {string} [origin] The intended executor of the operation. Possible - * values include: 'NotSpecified', 'user', 'system' - * @member {object} [properties] Additional descriptions for the operation. + * @property {string} [display.description] Operation description. + * @property {string} [origin] The intended executor of the operation. + * Possible values include: 'NotSpecified', 'user', 'system' + * @property {object} [properties] Additional descriptions for the operation. */ constructor() { } diff --git a/lib/services/mariadbManagement/lib/models/operationDisplay.js b/lib/services/mariadbManagement/lib/models/operationDisplay.js index 074b940db7..bae39ab37c 100644 --- a/lib/services/mariadbManagement/lib/models/operationDisplay.js +++ b/lib/services/mariadbManagement/lib/models/operationDisplay.js @@ -17,10 +17,11 @@ class OperationDisplay { /** * Create a OperationDisplay. - * @member {string} [provider] Operation resource provider name. - * @member {string} [resource] Resource on which the operation is performed. - * @member {string} [operation] Localized friendly name for the operation. - * @member {string} [description] Operation description. + * @property {string} [provider] Operation resource provider name. + * @property {string} [resource] Resource on which the operation is + * performed. + * @property {string} [operation] Localized friendly name for the operation. + * @property {string} [description] Operation description. */ constructor() { } diff --git a/lib/services/mariadbManagement/lib/models/operationListResult.js b/lib/services/mariadbManagement/lib/models/operationListResult.js index c2c36757d5..32d2ab1400 100644 --- a/lib/services/mariadbManagement/lib/models/operationListResult.js +++ b/lib/services/mariadbManagement/lib/models/operationListResult.js @@ -17,7 +17,7 @@ class OperationListResult { /** * Create a OperationListResult. - * @member {array} [value] The list of resource provider operations. + * @property {array} [value] The list of resource provider operations. */ constructor() { } diff --git a/lib/services/mariadbManagement/lib/models/performanceTierProperties.js b/lib/services/mariadbManagement/lib/models/performanceTierProperties.js index 97dd8007d9..e534ce715b 100644 --- a/lib/services/mariadbManagement/lib/models/performanceTierProperties.js +++ b/lib/services/mariadbManagement/lib/models/performanceTierProperties.js @@ -17,8 +17,8 @@ class PerformanceTierProperties { /** * Create a PerformanceTierProperties. - * @member {string} [id] ID of the performance tier. - * @member {array} [serviceLevelObjectives] Service level objectives + * @property {string} [id] ID of the performance tier. + * @property {array} [serviceLevelObjectives] Service level objectives * associated with the performance tier */ constructor() { diff --git a/lib/services/mariadbManagement/lib/models/performanceTierServiceLevelObjectives.js b/lib/services/mariadbManagement/lib/models/performanceTierServiceLevelObjectives.js index 13493d1388..1537d9530e 100644 --- a/lib/services/mariadbManagement/lib/models/performanceTierServiceLevelObjectives.js +++ b/lib/services/mariadbManagement/lib/models/performanceTierServiceLevelObjectives.js @@ -17,17 +17,18 @@ class PerformanceTierServiceLevelObjectives { /** * Create a PerformanceTierServiceLevelObjectives. - * @member {string} [id] ID for the service level objective. - * @member {string} [edition] Edition of the performance tier. - * @member {number} [vCore] vCore associated with the service level objective - * @member {string} [hardwareGeneration] Hardware generation associated with - * the service level objective - * @member {number} [maxBackupRetentionDays] Maximum Backup retention in days - * for the performance tier edition - * @member {number} [minBackupRetentionDays] Minimum Backup retention in days - * for the performance tier edition - * @member {number} [maxStorageMB] Max storage allowed for a server. - * @member {number} [minStorageMB] Max storage allowed for a server. + * @property {string} [id] ID for the service level objective. + * @property {string} [edition] Edition of the performance tier. + * @property {number} [vCore] vCore associated with the service level + * objective + * @property {string} [hardwareGeneration] Hardware generation associated + * with the service level objective + * @property {number} [maxBackupRetentionDays] Maximum Backup retention in + * days for the performance tier edition + * @property {number} [minBackupRetentionDays] Minimum Backup retention in + * days for the performance tier edition + * @property {number} [maxStorageMB] Max storage allowed for a server. + * @property {number} [minStorageMB] Max storage allowed for a server. */ constructor() { } diff --git a/lib/services/mariadbManagement/lib/models/proxyResource.js b/lib/services/mariadbManagement/lib/models/proxyResource.js index febc75adc2..74d2004e68 100644 --- a/lib/services/mariadbManagement/lib/models/proxyResource.js +++ b/lib/services/mariadbManagement/lib/models/proxyResource.js @@ -20,9 +20,9 @@ const models = require('./index'); class ProxyResource extends models['BaseResource'] { /** * Create a ProxyResource. - * @member {string} [id] Resource ID - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. + * @property {string} [id] Resource ID + * @property {string} [name] Resource name. + * @property {string} [type] Resource type. */ constructor() { super(); diff --git a/lib/services/mariadbManagement/lib/models/server.js b/lib/services/mariadbManagement/lib/models/server.js index fed96ac529..391701def7 100644 --- a/lib/services/mariadbManagement/lib/models/server.js +++ b/lib/services/mariadbManagement/lib/models/server.js @@ -20,35 +20,36 @@ const models = require('./index'); class Server extends models['TrackedResource'] { /** * Create a Server. - * @member {object} [sku] The SKU (pricing tier) of the server. - * @member {string} [sku.name] The name of the sku, typically, tier + family - * + cores, e.g. B_Gen4_1, GP_Gen5_8. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic. + * @property {object} [sku] The SKU (pricing tier) of the server. + * @property {string} [sku.name] The name of the sku, typically, tier + + * family + cores, e.g. B_Gen4_1, GP_Gen5_8. + * @property {string} [sku.tier] The tier of the particular SKU, e.g. Basic. * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' - * @member {number} [sku.capacity] The scale up/out capacity, representing + * @property {number} [sku.capacity] The scale up/out capacity, representing * server's compute units. - * @member {string} [sku.size] The size code, to be interpreted by resource + * @property {string} [sku.size] The size code, to be interpreted by resource * as appropriate. - * @member {string} [sku.family] The family of hardware. - * @member {string} [administratorLogin] The administrator's login name of a - * server. Can only be specified when the server is being created (and is + * @property {string} [sku.family] The family of hardware. + * @property {string} [administratorLogin] The administrator's login name of + * a server. Can only be specified when the server is being created (and is * required for creation). - * @member {string} [version] Server version. Possible values include: '5.6', - * '5.7' - * @member {string} [sslEnforcement] Enable ssl enforcement or not when + * @property {string} [version] Server version. Possible values include: + * '5.6', '5.7' + * @property {string} [sslEnforcement] Enable ssl enforcement or not when * connect to server. Possible values include: 'Enabled', 'Disabled' - * @member {string} [userVisibleState] A state of a server that is visible to - * user. Possible values include: 'Ready', 'Dropping', 'Disabled' - * @member {string} [fullyQualifiedDomainName] The fully qualified domain + * @property {string} [userVisibleState] A state of a server that is visible + * to user. Possible values include: 'Ready', 'Dropping', 'Disabled' + * @property {string} [fullyQualifiedDomainName] The fully qualified domain * name of a server. - * @member {date} [earliestRestoreDate] Earliest restore point creation time - * (ISO8601 format) - * @member {object} [storageProfile] Storage profile of a server. - * @member {number} [storageProfile.backupRetentionDays] Backup retention + * @property {date} [earliestRestoreDate] Earliest restore point creation + * time (ISO8601 format) + * @property {object} [storageProfile] Storage profile of a server. + * @property {number} [storageProfile.backupRetentionDays] Backup retention * days for the server. - * @member {string} [storageProfile.geoRedundantBackup] Enable Geo-redundant - * or not for server backup. Possible values include: 'Enabled', 'Disabled' - * @member {number} [storageProfile.storageMB] Max storage allowed for a + * @property {string} [storageProfile.geoRedundantBackup] Enable + * Geo-redundant or not for server backup. Possible values include: + * 'Enabled', 'Disabled' + * @property {number} [storageProfile.storageMB] Max storage allowed for a * server. */ constructor() { diff --git a/lib/services/mariadbManagement/lib/models/serverForCreate.js b/lib/services/mariadbManagement/lib/models/serverForCreate.js index eb681cb321..bd79bf7bbd 100644 --- a/lib/services/mariadbManagement/lib/models/serverForCreate.js +++ b/lib/services/mariadbManagement/lib/models/serverForCreate.js @@ -17,32 +17,33 @@ class ServerForCreate { /** * Create a ServerForCreate. - * @member {object} [sku] The SKU (pricing tier) of the server. - * @member {string} [sku.name] The name of the sku, typically, tier + family - * + cores, e.g. B_Gen4_1, GP_Gen5_8. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic. + * @property {object} [sku] The SKU (pricing tier) of the server. + * @property {string} [sku.name] The name of the sku, typically, tier + + * family + cores, e.g. B_Gen4_1, GP_Gen5_8. + * @property {string} [sku.tier] The tier of the particular SKU, e.g. Basic. * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' - * @member {number} [sku.capacity] The scale up/out capacity, representing + * @property {number} [sku.capacity] The scale up/out capacity, representing * server's compute units. - * @member {string} [sku.size] The size code, to be interpreted by resource + * @property {string} [sku.size] The size code, to be interpreted by resource * as appropriate. - * @member {string} [sku.family] The family of hardware. - * @member {object} properties Properties of the server. - * @member {string} [properties.version] Server version. Possible values + * @property {string} [sku.family] The family of hardware. + * @property {object} properties Properties of the server. + * @property {string} [properties.version] Server version. Possible values * include: '5.6', '5.7' - * @member {string} [properties.sslEnforcement] Enable ssl enforcement or not - * when connect to server. Possible values include: 'Enabled', 'Disabled' - * @member {object} [properties.storageProfile] Storage profile of a server. - * @member {number} [properties.storageProfile.backupRetentionDays] Backup + * @property {string} [properties.sslEnforcement] Enable ssl enforcement or + * not when connect to server. Possible values include: 'Enabled', 'Disabled' + * @property {object} [properties.storageProfile] Storage profile of a + * server. + * @property {number} [properties.storageProfile.backupRetentionDays] Backup * retention days for the server. - * @member {string} [properties.storageProfile.geoRedundantBackup] Enable + * @property {string} [properties.storageProfile.geoRedundantBackup] Enable * Geo-redundant or not for server backup. Possible values include: * 'Enabled', 'Disabled' - * @member {number} [properties.storageProfile.storageMB] Max storage allowed - * for a server. - * @member {string} [properties.createMode] Polymorphic Discriminator - * @member {string} location The location the resource resides in. - * @member {object} [tags] Application-specific metadata in the form of + * @property {number} [properties.storageProfile.storageMB] Max storage + * allowed for a server. + * @property {string} [properties.createMode] Polymorphic Discriminator + * @property {string} location The location the resource resides in. + * @property {object} [tags] Application-specific metadata in the form of * key-value pairs. */ constructor() { diff --git a/lib/services/mariadbManagement/lib/models/serverPropertiesForCreate.js b/lib/services/mariadbManagement/lib/models/serverPropertiesForCreate.js index afd6be905c..ac6f1800a7 100644 --- a/lib/services/mariadbManagement/lib/models/serverPropertiesForCreate.js +++ b/lib/services/mariadbManagement/lib/models/serverPropertiesForCreate.js @@ -17,18 +17,19 @@ class ServerPropertiesForCreate { /** * Create a ServerPropertiesForCreate. - * @member {string} [version] Server version. Possible values include: '5.6', - * '5.7' - * @member {string} [sslEnforcement] Enable ssl enforcement or not when + * @property {string} [version] Server version. Possible values include: + * '5.6', '5.7' + * @property {string} [sslEnforcement] Enable ssl enforcement or not when * connect to server. Possible values include: 'Enabled', 'Disabled' - * @member {object} [storageProfile] Storage profile of a server. - * @member {number} [storageProfile.backupRetentionDays] Backup retention + * @property {object} [storageProfile] Storage profile of a server. + * @property {number} [storageProfile.backupRetentionDays] Backup retention * days for the server. - * @member {string} [storageProfile.geoRedundantBackup] Enable Geo-redundant - * or not for server backup. Possible values include: 'Enabled', 'Disabled' - * @member {number} [storageProfile.storageMB] Max storage allowed for a + * @property {string} [storageProfile.geoRedundantBackup] Enable + * Geo-redundant or not for server backup. Possible values include: + * 'Enabled', 'Disabled' + * @property {number} [storageProfile.storageMB] Max storage allowed for a * server. - * @member {string} createMode Polymorphic Discriminator + * @property {string} createMode Polymorphic Discriminator */ constructor() { } diff --git a/lib/services/mariadbManagement/lib/models/serverPropertiesForDefaultCreate.js b/lib/services/mariadbManagement/lib/models/serverPropertiesForDefaultCreate.js index 55ae2939e6..636897ed75 100644 --- a/lib/services/mariadbManagement/lib/models/serverPropertiesForDefaultCreate.js +++ b/lib/services/mariadbManagement/lib/models/serverPropertiesForDefaultCreate.js @@ -20,10 +20,10 @@ const models = require('./index'); class ServerPropertiesForDefaultCreate extends models['ServerPropertiesForCreate'] { /** * Create a ServerPropertiesForDefaultCreate. - * @member {string} administratorLogin The administrator's login name of a + * @property {string} administratorLogin The administrator's login name of a * server. Can only be specified when the server is being created (and is * required for creation). - * @member {string} administratorLoginPassword The password of the + * @property {string} administratorLoginPassword The password of the * administrator login. */ constructor() { diff --git a/lib/services/mariadbManagement/lib/models/serverPropertiesForGeoRestore.js b/lib/services/mariadbManagement/lib/models/serverPropertiesForGeoRestore.js index f4b909b096..55bf1b26a5 100644 --- a/lib/services/mariadbManagement/lib/models/serverPropertiesForGeoRestore.js +++ b/lib/services/mariadbManagement/lib/models/serverPropertiesForGeoRestore.js @@ -21,7 +21,7 @@ const models = require('./index'); class ServerPropertiesForGeoRestore extends models['ServerPropertiesForCreate'] { /** * Create a ServerPropertiesForGeoRestore. - * @member {string} sourceServerId The source server id to restore from. + * @property {string} sourceServerId The source server id to restore from. */ constructor() { super(); diff --git a/lib/services/mariadbManagement/lib/models/serverPropertiesForRestore.js b/lib/services/mariadbManagement/lib/models/serverPropertiesForRestore.js index ab3576dc01..def51b0a2c 100644 --- a/lib/services/mariadbManagement/lib/models/serverPropertiesForRestore.js +++ b/lib/services/mariadbManagement/lib/models/serverPropertiesForRestore.js @@ -20,8 +20,8 @@ const models = require('./index'); class ServerPropertiesForRestore extends models['ServerPropertiesForCreate'] { /** * Create a ServerPropertiesForRestore. - * @member {string} sourceServerId The source server id to restore from. - * @member {date} restorePointInTime Restore point creation time (ISO8601 + * @property {string} sourceServerId The source server id to restore from. + * @property {date} restorePointInTime Restore point creation time (ISO8601 * format), specifying the time to restore from. */ constructor() { diff --git a/lib/services/mariadbManagement/lib/models/serverSecurityAlertPolicy.js b/lib/services/mariadbManagement/lib/models/serverSecurityAlertPolicy.js index bbe37cd620..6786f81742 100644 --- a/lib/services/mariadbManagement/lib/models/serverSecurityAlertPolicy.js +++ b/lib/services/mariadbManagement/lib/models/serverSecurityAlertPolicy.js @@ -20,21 +20,21 @@ const models = require('./index'); class ServerSecurityAlertPolicy extends models['ProxyResource'] { /** * Create a ServerSecurityAlertPolicy. - * @member {string} state Specifies the state of the policy, whether it is + * @property {string} state Specifies the state of the policy, whether it is * enabled or disabled. Possible values include: 'Enabled', 'Disabled' - * @member {array} [disabledAlerts] Specifies an array of alerts that are + * @property {array} [disabledAlerts] Specifies an array of alerts that are * disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, * Access_Anomaly - * @member {array} [emailAddresses] Specifies an array of e-mail addresses to - * which the alert is sent. - * @member {boolean} [emailAccountAdmins] Specifies that the alert is sent to - * the account administrators. - * @member {string} [storageEndpoint] Specifies the blob storage endpoint + * @property {array} [emailAddresses] Specifies an array of e-mail addresses + * to which the alert is sent. + * @property {boolean} [emailAccountAdmins] Specifies that the alert is sent + * to the account administrators. + * @property {string} [storageEndpoint] Specifies the blob storage endpoint * (e.g. https://MyAccount.blob.core.windows.net). This blob storage will * hold all Threat Detection audit logs. - * @member {string} [storageAccountAccessKey] Specifies the identifier key of - * the Threat Detection audit storage account. - * @member {number} [retentionDays] Specifies the number of days to keep in + * @property {string} [storageAccountAccessKey] Specifies the identifier key + * of the Threat Detection audit storage account. + * @property {number} [retentionDays] Specifies the number of days to keep in * the Threat Detection audit logs. */ constructor() { diff --git a/lib/services/mariadbManagement/lib/models/serverUpdateParameters.js b/lib/services/mariadbManagement/lib/models/serverUpdateParameters.js index fa3dfdd2c4..4de8f8c0c7 100644 --- a/lib/services/mariadbManagement/lib/models/serverUpdateParameters.js +++ b/lib/services/mariadbManagement/lib/models/serverUpdateParameters.js @@ -11,36 +11,37 @@ 'use strict'; /** - * Parameters allowd to update for a server. + * Parameters allowed to update for a server. * */ class ServerUpdateParameters { /** * Create a ServerUpdateParameters. - * @member {object} [sku] The SKU (pricing tier) of the server. - * @member {string} [sku.name] The name of the sku, typically, tier + family - * + cores, e.g. B_Gen4_1, GP_Gen5_8. - * @member {string} [sku.tier] The tier of the particular SKU, e.g. Basic. + * @property {object} [sku] The SKU (pricing tier) of the server. + * @property {string} [sku.name] The name of the sku, typically, tier + + * family + cores, e.g. B_Gen4_1, GP_Gen5_8. + * @property {string} [sku.tier] The tier of the particular SKU, e.g. Basic. * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' - * @member {number} [sku.capacity] The scale up/out capacity, representing + * @property {number} [sku.capacity] The scale up/out capacity, representing * server's compute units. - * @member {string} [sku.size] The size code, to be interpreted by resource + * @property {string} [sku.size] The size code, to be interpreted by resource * as appropriate. - * @member {string} [sku.family] The family of hardware. - * @member {object} [storageProfile] Storage profile of a server. - * @member {number} [storageProfile.backupRetentionDays] Backup retention + * @property {string} [sku.family] The family of hardware. + * @property {object} [storageProfile] Storage profile of a server. + * @property {number} [storageProfile.backupRetentionDays] Backup retention * days for the server. - * @member {string} [storageProfile.geoRedundantBackup] Enable Geo-redundant - * or not for server backup. Possible values include: 'Enabled', 'Disabled' - * @member {number} [storageProfile.storageMB] Max storage allowed for a + * @property {string} [storageProfile.geoRedundantBackup] Enable + * Geo-redundant or not for server backup. Possible values include: + * 'Enabled', 'Disabled' + * @property {number} [storageProfile.storageMB] Max storage allowed for a * server. - * @member {string} [administratorLoginPassword] The password of the + * @property {string} [administratorLoginPassword] The password of the * administrator login. - * @member {string} [version] The version of a server. Possible values + * @property {string} [version] The version of a server. Possible values * include: '5.6', '5.7' - * @member {string} [sslEnforcement] Enable ssl enforcement or not when + * @property {string} [sslEnforcement] Enable ssl enforcement or not when * connect to server. Possible values include: 'Enabled', 'Disabled' - * @member {object} [tags] Application-specific metadata in the form of + * @property {object} [tags] Application-specific metadata in the form of * key-value pairs. */ constructor() { diff --git a/lib/services/mariadbManagement/lib/models/sku.js b/lib/services/mariadbManagement/lib/models/sku.js index 8bfd1c8ece..d9a641094d 100644 --- a/lib/services/mariadbManagement/lib/models/sku.js +++ b/lib/services/mariadbManagement/lib/models/sku.js @@ -17,15 +17,15 @@ class Sku { /** * Create a Sku. - * @member {string} [name] The name of the sku, typically, tier + family + + * @property {string} [name] The name of the sku, typically, tier + family + * cores, e.g. B_Gen4_1, GP_Gen5_8. - * @member {string} [tier] The tier of the particular SKU, e.g. Basic. + * @property {string} [tier] The tier of the particular SKU, e.g. Basic. * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' - * @member {number} [capacity] The scale up/out capacity, representing + * @property {number} [capacity] The scale up/out capacity, representing * server's compute units. - * @member {string} [size] The size code, to be interpreted by resource as + * @property {string} [size] The size code, to be interpreted by resource as * appropriate. - * @member {string} [family] The family of hardware. + * @property {string} [family] The family of hardware. */ constructor() { } diff --git a/lib/services/mariadbManagement/lib/models/storageProfile.js b/lib/services/mariadbManagement/lib/models/storageProfile.js index 196082d938..bf3fd729b3 100644 --- a/lib/services/mariadbManagement/lib/models/storageProfile.js +++ b/lib/services/mariadbManagement/lib/models/storageProfile.js @@ -17,11 +17,11 @@ class StorageProfile { /** * Create a StorageProfile. - * @member {number} [backupRetentionDays] Backup retention days for the + * @property {number} [backupRetentionDays] Backup retention days for the * server. - * @member {string} [geoRedundantBackup] Enable Geo-redundant or not for + * @property {string} [geoRedundantBackup] Enable Geo-redundant or not for * server backup. Possible values include: 'Enabled', 'Disabled' - * @member {number} [storageMB] Max storage allowed for a server. + * @property {number} [storageMB] Max storage allowed for a server. */ constructor() { } diff --git a/lib/services/mariadbManagement/lib/models/trackedResource.js b/lib/services/mariadbManagement/lib/models/trackedResource.js index 4868a7154a..324b2b5446 100644 --- a/lib/services/mariadbManagement/lib/models/trackedResource.js +++ b/lib/services/mariadbManagement/lib/models/trackedResource.js @@ -20,8 +20,8 @@ const models = require('./index'); class TrackedResource extends models['ProxyResource'] { /** * Create a TrackedResource. - * @member {string} location The location the resource resides in. - * @member {object} [tags] Application-specific metadata in the form of + * @property {string} location The location the resource resides in. + * @property {object} [tags] Application-specific metadata in the form of * key-value pairs. */ constructor() { diff --git a/lib/services/mariadbManagement/lib/models/virtualNetworkRule.js b/lib/services/mariadbManagement/lib/models/virtualNetworkRule.js index c0f9a60278..80787c6b89 100644 --- a/lib/services/mariadbManagement/lib/models/virtualNetworkRule.js +++ b/lib/services/mariadbManagement/lib/models/virtualNetworkRule.js @@ -20,11 +20,11 @@ const models = require('./index'); class VirtualNetworkRule extends models['ProxyResource'] { /** * Create a VirtualNetworkRule. - * @member {string} virtualNetworkSubnetId The ARM resource id of the virtual - * network subnet. - * @member {boolean} [ignoreMissingVnetServiceEndpoint] Create firewall rule - * before the virtual network has vnet service endpoint enabled. - * @member {string} [state] Virtual Network Rule State. Possible values + * @property {string} virtualNetworkSubnetId The ARM resource id of the + * virtual network subnet. + * @property {boolean} [ignoreMissingVnetServiceEndpoint] Create firewall + * rule before the virtual network has vnet service endpoint enabled. + * @property {string} [state] Virtual Network Rule State. Possible values * include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' */ constructor() { diff --git a/lib/services/mariadbManagement/lib/models/virtualNetworkRuleListResult.js b/lib/services/mariadbManagement/lib/models/virtualNetworkRuleListResult.js index c80a275efd..48f0bd1d48 100644 --- a/lib/services/mariadbManagement/lib/models/virtualNetworkRuleListResult.js +++ b/lib/services/mariadbManagement/lib/models/virtualNetworkRuleListResult.js @@ -16,7 +16,7 @@ class VirtualNetworkRuleListResult extends Array { /** * Create a VirtualNetworkRuleListResult. - * @member {string} [nextLink] Link to retrieve next page of results. + * @property {string} [nextLink] Link to retrieve next page of results. */ constructor() { super(); diff --git a/lib/services/mariadbManagement/package.json b/lib/services/mariadbManagement/package.json index cb20905a09..232eade013 100644 --- a/lib/services/mariadbManagement/package.json +++ b/lib/services/mariadbManagement/package.json @@ -22,4 +22,4 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-node/issues" } -} \ No newline at end of file +}