diff --git a/lib/services/storagesyncManagement/LICENSE.txt b/lib/services/storagesyncManagement/LICENSE.txt index 5431ba98b9..8f3d856145 100644 --- a/lib/services/storagesyncManagement/LICENSE.txt +++ b/lib/services/storagesyncManagement/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/lib/services/storagesyncManagement/README.md b/lib/services/storagesyncManagement/README.md index 266b0589d5..9003ac4e4c 100644 --- a/lib/services/storagesyncManagement/README.md +++ b/lib/services/storagesyncManagement/README.md @@ -3,22 +3,23 @@ uid: azure-arm-storagesync summary: *content --- -# Microsoft Azure SDK for Node.js - StorageSyncManagementClient +**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 - StorageSyncManagementClient 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-storagesync ``` -## How to use +### How to use -### Authentication, client creation and list operations as an example. +#### Authentication, client creation and list operations as an example. ```javascript const msRestAzure = require("ms-rest-azure"); @@ -35,6 +36,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/storagesyncManagement/lib/models/azureEntityResource.js b/lib/services/storagesyncManagement/lib/models/azureEntityResource.js index a87a9fe033..83674c0ce4 100644 --- a/lib/services/storagesyncManagement/lib/models/azureEntityResource.js +++ b/lib/services/storagesyncManagement/lib/models/azureEntityResource.js @@ -21,7 +21,7 @@ const models = require('./index'); class AzureEntityResource extends models['Resource'] { /** * Create a AzureEntityResource. - * @member {string} [etag] Resource Etag. + * @property {string} [etag] Resource Etag. */ constructor() { super(); diff --git a/lib/services/storagesyncManagement/lib/models/backupRequest.js b/lib/services/storagesyncManagement/lib/models/backupRequest.js index a87ef97efb..deb6ef62eb 100644 --- a/lib/services/storagesyncManagement/lib/models/backupRequest.js +++ b/lib/services/storagesyncManagement/lib/models/backupRequest.js @@ -17,7 +17,7 @@ class BackupRequest { /** * Create a BackupRequest. - * @member {string} [azureFileShare] Azure File Share. + * @property {string} [azureFileShare] Azure File Share. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/checkNameAvailabilityParameters.js b/lib/services/storagesyncManagement/lib/models/checkNameAvailabilityParameters.js index cad69bf476..4bb70222d0 100644 --- a/lib/services/storagesyncManagement/lib/models/checkNameAvailabilityParameters.js +++ b/lib/services/storagesyncManagement/lib/models/checkNameAvailabilityParameters.js @@ -17,7 +17,7 @@ class CheckNameAvailabilityParameters { /** * Create a CheckNameAvailabilityParameters. - * @member {string} name The name to check for availability + * @property {string} name The name to check for availability */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/checkNameAvailabilityResult.js b/lib/services/storagesyncManagement/lib/models/checkNameAvailabilityResult.js index d060e0e65d..c8235267bc 100644 --- a/lib/services/storagesyncManagement/lib/models/checkNameAvailabilityResult.js +++ b/lib/services/storagesyncManagement/lib/models/checkNameAvailabilityResult.js @@ -17,14 +17,15 @@ class CheckNameAvailabilityResult { /** * Create a CheckNameAvailabilityResult. - * @member {boolean} [nameAvailable] Gets a boolean value that indicates + * @property {boolean} [nameAvailable] Gets a boolean value that indicates * whether the name is available for you to use. If true, the name is * available. If false, the name has already been taken or invalid and cannot * be used. - * @member {string} [reason] Gets the reason that a Storage Sync Service name - * could not be used. The Reason element is only returned if NameAvailable is - * false. Possible values include: 'Invalid', 'AlreadyExists' - * @member {string} [message] Gets an error message explaining the Reason + * @property {string} [reason] Gets the reason that a Storage Sync Service + * name could not be used. The Reason element is only returned if + * NameAvailable is false. Possible values include: 'Invalid', + * 'AlreadyExists' + * @property {string} [message] Gets an error message explaining the Reason * value in more detail. */ constructor() { diff --git a/lib/services/storagesyncManagement/lib/models/cloudEndpoint.js b/lib/services/storagesyncManagement/lib/models/cloudEndpoint.js index fcd8ff7b3d..6065752869 100644 --- a/lib/services/storagesyncManagement/lib/models/cloudEndpoint.js +++ b/lib/services/storagesyncManagement/lib/models/cloudEndpoint.js @@ -20,15 +20,15 @@ const models = require('./index'); class CloudEndpoint extends models['ProxyResource'] { /** * Create a CloudEndpoint. - * @member {string} [storageAccountResourceId] Storage Account Resource Id - * @member {string} [storageAccountShareName] Storage Account Share name - * @member {string} [storageAccountTenantId] Storage Account Tenant Id - * @member {string} [partnershipId] Partnership Id - * @member {string} [friendlyName] Friendly Name - * @member {boolean} [backupEnabled] Backup Enabled - * @member {string} [provisioningState] CloudEndpoint Provisioning State - * @member {string} [lastWorkflowId] CloudEndpoint lastWorkflowId - * @member {string} [lastOperationName] Resource Last Operation Name + * @property {string} [storageAccountResourceId] Storage Account Resource Id + * @property {string} [storageAccountShareName] Storage Account Share name + * @property {string} [storageAccountTenantId] Storage Account Tenant Id + * @property {string} [partnershipId] Partnership Id + * @property {string} [friendlyName] Friendly Name + * @property {string} [backupEnabled] Backup Enabled + * @property {string} [provisioningState] CloudEndpoint Provisioning State + * @property {string} [lastWorkflowId] CloudEndpoint lastWorkflowId + * @property {string} [lastOperationName] Resource Last Operation Name */ constructor() { super(); @@ -112,7 +112,7 @@ class CloudEndpoint extends models['ProxyResource'] { readOnly: true, serializedName: 'properties.backupEnabled', type: { - name: 'Boolean' + name: 'String' } }, provisioningState: { diff --git a/lib/services/storagesyncManagement/lib/models/cloudEndpointCreateParameters.js b/lib/services/storagesyncManagement/lib/models/cloudEndpointCreateParameters.js index f97c739114..738f6fb8c5 100644 --- a/lib/services/storagesyncManagement/lib/models/cloudEndpointCreateParameters.js +++ b/lib/services/storagesyncManagement/lib/models/cloudEndpointCreateParameters.js @@ -20,9 +20,9 @@ const models = require('./index'); class CloudEndpointCreateParameters extends models['ProxyResource'] { /** * Create a CloudEndpointCreateParameters. - * @member {string} [storageAccountResourceId] Storage Account Resource Id - * @member {string} [storageAccountShareName] Storage Account Share name - * @member {string} [storageAccountTenantId] Storage Account Tenant Id + * @property {string} [storageAccountResourceId] Storage Account Resource Id + * @property {string} [storageAccountShareName] Storage Account Share name + * @property {string} [storageAccountTenantId] Storage Account Tenant Id */ constructor() { super(); diff --git a/lib/services/storagesyncManagement/lib/models/index.d.ts b/lib/services/storagesyncManagement/lib/models/index.d.ts index 7a3f5fc09c..4f950db8d4 100644 --- a/lib/services/storagesyncManagement/lib/models/index.d.ts +++ b/lib/services/storagesyncManagement/lib/models/index.d.ts @@ -1,754 +1,935 @@ /* * 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 StorageSyncErrorDetails class. - * @constructor * Error Details object. - * - * @member {string} [code] Error code of the given entry. - * @member {string} [message] Error message of the given entry. - * @member {string} [target] Target of the given entry. */ export interface StorageSyncErrorDetails { + /** + * Error code of the given entry. + */ code?: string; + /** + * Error message of the given entry. + */ message?: string; + /** + * Target of the given entry. + */ target?: string; } /** - * @class - * Initializes a new instance of the StorageSyncApiError class. - * @constructor * Error type - * - * @member {string} [code] Error code of the given entry. - * @member {string} [message] Error message of the given entry. - * @member {string} [target] Target of the given error entry. - * @member {object} [details] Error details of the given entry. - * @member {string} [details.code] Error code of the given entry. - * @member {string} [details.message] Error message of the given entry. - * @member {string} [details.target] Target of the given entry. */ export interface StorageSyncApiError { + /** + * Error code of the given entry. + */ code?: string; + /** + * Error message of the given entry. + */ message?: string; + /** + * Target of the given error entry. + */ target?: string; + /** + * Error details of the given entry. + */ details?: StorageSyncErrorDetails; } /** - * @class - * Initializes a new instance of the StorageSyncError class. - * @constructor * Error type - * - * @member {object} [error] Error details of the given entry. - * @member {string} [error.code] Error code of the given entry. - * @member {string} [error.message] Error message of the given entry. - * @member {string} [error.target] Target of the given error entry. - * @member {object} [error.details] Error details of the given entry. - * @member {string} [error.details.code] Error code of the given entry. - * @member {string} [error.details.message] Error message of the given entry. - * @member {string} [error.details.target] Target of the given entry. - * @member {object} [innererror] Error details of the given entry. - * @member {string} [innererror.code] Error code of the given entry. - * @member {string} [innererror.message] Error message of the given entry. - * @member {string} [innererror.target] Target of the given error entry. - * @member {object} [innererror.details] Error details of the given entry. - * @member {string} [innererror.details.code] Error code of the given entry. - * @member {string} [innererror.details.message] Error message of the given - * entry. - * @member {string} [innererror.details.target] Target of the given entry. */ export interface StorageSyncError { + /** + * Error details of the given entry. + */ error?: StorageSyncApiError; + /** + * Error details of the given entry. + */ innererror?: StorageSyncApiError; } /** - * @class - * Initializes a new instance of the SubscriptionState class. - * @constructor * Subscription State object. - * - * @member {string} [state] State of Azure Subscription. Possible values - * include: 'Registered', 'Unregistered', 'Warned', 'Suspended', 'Deleted' - * @member {boolean} [istransitioning] Is Transitioning - * @member {object} [properties] Subscription state properties. */ export interface SubscriptionState { + /** + * State of Azure Subscription. Possible values include: 'Registered', 'Unregistered', 'Warned', + * 'Suspended', 'Deleted' + */ state?: string; + /** + * Is Transitioning + */ readonly istransitioning?: boolean; + /** + * Subscription state properties. + */ properties?: any; } -/** - * @class - * Initializes a new instance of the Resource class. - * @constructor - * @member {string} [id] Fully qualified resource Id for the resource. Ex - - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - * @member {string} [name] The name of the resource - * @member {string} [type] The type of the resource. Ex- - * Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - */ export interface Resource extends BaseResource { + /** + * Fully qualified resource Id for the resource. Ex - + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ readonly id?: string; + /** + * The name of the resource + */ readonly name?: string; + /** + * The type of the resource. Ex- Microsoft.Compute/virtualMachines or + * Microsoft.Storage/storageAccounts. + */ readonly type?: string; } /** - * @class - * Initializes a new instance of the TrackedResource class. - * @constructor * The resource model definition for a ARM tracked top level resource - * - * @member {object} [tags] Resource tags. - * @member {string} location The geo-location where the resource lives - */ +*/ export interface TrackedResource extends Resource { + /** + * Resource tags. + */ tags?: { [propertyName: string]: string }; + /** + * The geo-location where the resource lives + */ location: string; } /** - * @class - * Initializes a new instance of the StorageSyncService class. - * @constructor * Storage Sync Service object. - * - * @member {number} [storageSyncServiceStatus] Storage Sync service status. - * @member {string} [storageSyncServiceUid] Storage Sync service Uid - */ +*/ export interface StorageSyncService extends TrackedResource { + /** + * Storage Sync service status. + */ readonly storageSyncServiceStatus?: number; + /** + * Storage Sync service Uid + */ readonly storageSyncServiceUid?: string; } /** - * @class - * Initializes a new instance of the ProxyResource class. - * @constructor - * The resource model definition for a ARM proxy resource. It will have - * everything other than required location and tags - * - */ + * The resource model definition for a ARM proxy resource. It will have everything other than + * required location and tags +*/ export interface ProxyResource extends Resource { } /** - * @class - * Initializes a new instance of the SyncGroup class. - * @constructor * Sync Group object. - * - * @member {string} [uniqueId] Unique Id - * @member {string} [syncGroupStatus] Sync group status - */ +*/ export interface SyncGroup extends ProxyResource { + /** + * Unique Id + */ uniqueId?: string; + /** + * Sync group status + */ readonly syncGroupStatus?: string; } /** - * @class - * Initializes a new instance of the CloudEndpoint class. - * @constructor * Cloud Endpoint object. - * - * @member {string} [storageAccountResourceId] Storage Account Resource Id - * @member {string} [storageAccountShareName] Storage Account Share name - * @member {string} [storageAccountTenantId] Storage Account Tenant Id - * @member {string} [partnershipId] Partnership Id - * @member {string} [friendlyName] Friendly Name - * @member {boolean} [backupEnabled] Backup Enabled - * @member {string} [provisioningState] CloudEndpoint Provisioning State - * @member {string} [lastWorkflowId] CloudEndpoint lastWorkflowId - * @member {string} [lastOperationName] Resource Last Operation Name - */ +*/ export interface CloudEndpoint extends ProxyResource { + /** + * Storage Account Resource Id + */ storageAccountResourceId?: string; + /** + * Storage Account Share name + */ storageAccountShareName?: string; + /** + * Storage Account Tenant Id + */ storageAccountTenantId?: string; + /** + * Partnership Id + */ partnershipId?: string; + /** + * Friendly Name + */ friendlyName?: string; - readonly backupEnabled?: boolean; + /** + * Backup Enabled + */ + readonly backupEnabled?: string; + /** + * CloudEndpoint Provisioning State + */ provisioningState?: string; + /** + * CloudEndpoint lastWorkflowId + */ lastWorkflowId?: string; + /** + * Resource Last Operation Name + */ lastOperationName?: string; } /** - * @class - * Initializes a new instance of the RecallActionParameters class. - * @constructor * The parameters used when calling recall action on server endpoint. - * - * @member {string} [pattern] Pattern of the files. - * @member {string} [recallPath] Recall path. - */ +*/ export interface RecallActionParameters { + /** + * Pattern of the files. + */ pattern?: string; + /** + * Recall path. + */ recallPath?: string; } /** - * @class - * Initializes a new instance of the StorageSyncServiceCreateParameters class. - * @constructor * The parameters used when creating a storage sync service. - * - * @member {string} location Required. Gets or sets the location of the - * resource. This will be one of the supported and registered Azure Geo Regions - * (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource - * cannot be changed once it is created, but if an identical geo region is - * specified on update, the request will succeed. - * @member {object} [tags] Gets or sets a list of key value pairs that describe - * the resource. These tags can be used for viewing and grouping this resource - * (across resource groups). A maximum of 15 tags can be provided for a - * resource. Each tag must have a key with a length no greater than 128 - * characters and a value with a length no greater than 256 characters. - * @member {object} [properties] - */ +*/ export interface StorageSyncServiceCreateParameters { + /** + * Required. Gets or sets the location of the resource. This will be one of the supported and + * registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of + * a resource cannot be changed once it is created, but if an identical geo region is specified + * on update, the request will succeed. + */ location: string; + /** + * Gets or sets a list of key value pairs that describe the resource. These tags can be used for + * viewing and grouping this resource (across resource groups). A maximum of 15 tags can be + * provided for a resource. Each tag must have a key with a length no greater than 128 characters + * and a value with a length no greater than 256 characters. + */ tags?: { [propertyName: string]: string }; properties?: any; } /** - * @class - * Initializes a new instance of the SyncGroupCreateParameters class. - * @constructor * The parameters used when creating a sync group. - * - * @member {object} [properties] The parameters used to create the sync group - */ +*/ export interface SyncGroupCreateParameters extends ProxyResource { + /** + * The parameters used to create the sync group + */ properties?: any; } /** - * @class - * Initializes a new instance of the CloudEndpointCreateParameters class. - * @constructor * The parameters used when creating a cloud endpoint. - * - * @member {string} [storageAccountResourceId] Storage Account Resource Id - * @member {string} [storageAccountShareName] Storage Account Share name - * @member {string} [storageAccountTenantId] Storage Account Tenant Id - */ +*/ export interface CloudEndpointCreateParameters extends ProxyResource { + /** + * Storage Account Resource Id + */ storageAccountResourceId?: string; + /** + * Storage Account Share name + */ storageAccountShareName?: string; + /** + * Storage Account Tenant Id + */ storageAccountTenantId?: string; } /** - * @class - * Initializes a new instance of the ServerEndpointCreateParameters class. - * @constructor * The parameters used when creating a server endpoint. - * - * @member {string} [serverLocalPath] Server Local path. - * @member {string} [cloudTiering] Cloud Tiering. Possible values include: - * 'on', 'off' - * @member {number} [volumeFreeSpacePercent] Level of free space to be - * maintained by Cloud Tiering if it is enabled. - * @member {number} [tierFilesOlderThanDays] Tier files older than days. - * @member {string} [friendlyName] Friendly Name - * @member {string} [serverResourceId] Server Resource Id. - */ +*/ export interface ServerEndpointCreateParameters extends ProxyResource { + /** + * Server Local path. + */ serverLocalPath?: string; + /** + * Cloud Tiering. Possible values include: 'on', 'off' + */ cloudTiering?: string; + /** + * Level of free space to be maintained by Cloud Tiering if it is enabled. + */ volumeFreeSpacePercent?: number; + /** + * Tier files older than days. + */ tierFilesOlderThanDays?: number; + /** + * Friendly Name + */ friendlyName?: string; + /** + * Server Resource Id. + */ serverResourceId?: string; + /** + * Offline data transfer. Possible values include: 'on', 'off' + */ + offlineDataTransfer?: string; + /** + * Offline data transfer share name + */ + offlineDataTransferShareName?: string; } /** - * @class - * Initializes a new instance of the TriggerRolloverRequest class. - * @constructor * Trigger Rollover Request. - * - * @member {string} [serverCertificate] Certificate Data - */ +*/ export interface TriggerRolloverRequest { + /** + * Certificate Data + */ serverCertificate?: string; } /** - * @class - * Initializes a new instance of the RegisteredServerCreateParameters class. - * @constructor * The parameters used when creating a registered server. - * - * @member {string} [serverCertificate] Registered Server Certificate - * @member {string} [agentVersion] Registered Server Agent Version - * @member {string} [serverOSVersion] Registered Server OS Version - * @member {string} [lastHeartBeat] Registered Server last heart beat - * @member {string} [serverRole] Registered Server serverRole - * @member {string} [clusterId] Registered Server clusterId - * @member {string} [clusterName] Registered Server clusterName - * @member {string} [serverId] Registered Server serverId - * @member {string} [friendlyName] Friendly Name - */ +*/ export interface RegisteredServerCreateParameters extends ProxyResource { + /** + * Registered Server Certificate + */ serverCertificate?: string; + /** + * Registered Server Agent Version + */ agentVersion?: string; + /** + * Registered Server OS Version + */ serverOSVersion?: string; + /** + * Registered Server last heart beat + */ lastHeartBeat?: string; + /** + * Registered Server serverRole + */ serverRole?: string; + /** + * Registered Server clusterId + */ clusterId?: string; + /** + * Registered Server clusterName + */ clusterName?: string; + /** + * Registered Server serverId + */ serverId?: string; + /** + * Friendly Name + */ friendlyName?: string; } /** - * @class - * Initializes a new instance of the ServerEndpointUpdateParameters class. - * @constructor * Parameters for updating an Server Endpoint. - * - * @member {string} [cloudTiering] Cloud Tiering. Possible values include: - * 'on', 'off' - * @member {number} [volumeFreeSpacePercent] Level of free space to be - * maintained by Cloud Tiering if it is enabled. - * @member {number} [tierFilesOlderThanDays] Tier files older than days. - */ +*/ export interface ServerEndpointUpdateParameters { + /** + * Cloud Tiering. Possible values include: 'on', 'off' + */ cloudTiering?: string; + /** + * Level of free space to be maintained by Cloud Tiering if it is enabled. + */ volumeFreeSpacePercent?: number; + /** + * Tier files older than days. + */ tierFilesOlderThanDays?: number; + /** + * Offline data transfer. Possible values include: 'on', 'off' + */ + offlineDataTransfer?: string; + /** + * Offline data transfer share name + */ + offlineDataTransferShareName?: string; +} + +/** + * Sync Session status object. +*/ +export interface SyncSessionStatus { + /** + * Last sync status + */ + lastSyncResult?: number; + /** + * Last sync timestamp + */ + lastSyncTimestamp?: Date; + /** + * Last sync success timestamp + */ + lastSyncSuccessTimestamp?: Date; + /** + * Last sync per item error count. + */ + lastSyncPerItemErrorCount?: number; +} + +/** + * Sync Session status object. +*/ +export interface SyncProgressStatus { + /** + * Progress timestamp + */ + progressTimestamp?: Date; + /** + * Sync direction. Possible values include: 'none', 'initialize', 'download', 'upload', 'recall' + */ + syncDirection?: string; + /** + * Per item error count + */ + perItemErrorCount?: number; + /** + * Applied item count. + */ + appliedItemCount?: number; + /** + * Total item count + */ + totalItemCount?: number; + /** + * Applied bytes + */ + appliedBytes?: number; + /** + * Total bytes + */ + totalBytes?: number; +} + +/** + * ServerEndpoint Health object. +*/ +export interface ServerEndpointHealth { + /** + * Download Health Status. Possible values include: 'Healthy', 'Error', 'SyncBlockedForRestore', + * 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + */ + downloadHealth?: string; + /** + * Upload Health Status. Possible values include: 'Healthy', 'Error', 'SyncBlockedForRestore', + * 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + */ + uploadHealth?: string; + /** + * Combined Health Status. Possible values include: 'Healthy', 'Error', 'SyncBlockedForRestore', + * 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + */ + combinedHealth?: string; + /** + * Last Updated Timestamp + */ + lastUpdatedTimestamp?: Date; + /** + * Upload Status + */ + uploadStatus?: SyncSessionStatus; + /** + * Download Status + */ + downloadStatus?: SyncSessionStatus; + /** + * Current progress + */ + currentProgress?: SyncProgressStatus; + /** + * Offline Data Transfer State. Possible values include: 'InProgress', 'Stopping', 'NotRunning', + * 'Complete' + */ + offlineDataTransferStatus?: string; } /** - * @class - * Initializes a new instance of the ServerEndpoint class. - * @constructor * Server Endpoint object. - * - * @member {string} [serverLocalPath] Server Local path. - * @member {string} [cloudTiering] Cloud Tiering. Possible values include: - * 'on', 'off' - * @member {number} [volumeFreeSpacePercent] Level of free space to be - * maintained by Cloud Tiering if it is enabled. - * @member {number} [tierFilesOlderThanDays] Tier files older than days. - * @member {string} [friendlyName] Friendly Name - * @member {string} [serverResourceId] Server Resource Id. - * @member {string} [provisioningState] ServerEndpoint Provisioning State - * @member {string} [lastWorkflowId] ServerEndpoint lastWorkflowId - * @member {string} [lastOperationName] Resource Last Operation Name - * @member {object} [syncStatus] Sync Health Status - */ +*/ export interface ServerEndpoint extends ProxyResource { + /** + * Server Local path. + */ serverLocalPath?: string; + /** + * Cloud Tiering. Possible values include: 'on', 'off' + */ cloudTiering?: string; + /** + * Level of free space to be maintained by Cloud Tiering if it is enabled. + */ volumeFreeSpacePercent?: number; + /** + * Tier files older than days. + */ tierFilesOlderThanDays?: number; + /** + * Friendly Name + */ friendlyName?: string; + /** + * Server Resource Id. + */ serverResourceId?: string; + /** + * ServerEndpoint Provisioning State + */ provisioningState?: string; + /** + * ServerEndpoint lastWorkflowId + */ lastWorkflowId?: string; + /** + * Resource Last Operation Name + */ lastOperationName?: string; - syncStatus?: any; + /** + * Server Endpoint properties. + */ + syncStatus?: ServerEndpointHealth; + /** + * Offline data transfer. Possible values include: 'on', 'off' + */ + offlineDataTransfer?: string; + /** + * Offline data transfer storage account resource ID + */ + readonly offlineDataTransferStorageAccountResourceId?: string; + /** + * Offline data transfer storage account tenant ID + */ + readonly offlineDataTransferStorageAccountTenantId?: string; + /** + * Offline data transfer share name + */ + offlineDataTransferShareName?: string; } /** - * @class - * Initializes a new instance of the RegisteredServer class. - * @constructor * Registered Server resource. - * - * @member {string} [serverCertificate] Registered Server Certificate - * @member {string} [agentVersion] Registered Server Agent Version - * @member {string} [serverOSVersion] Registered Server OS Version - * @member {number} [serverManagementtErrorCode] Registered Server Management - * Error Code - * @member {string} [lastHeartBeat] Registered Server last heart beat - * @member {string} [provisioningState] Registered Server Provisioning State - * @member {string} [serverRole] Registered Server serverRole - * @member {string} [clusterId] Registered Server clusterId - * @member {string} [clusterName] Registered Server clusterName - * @member {string} [serverId] Registered Server serverId - * @member {string} [storageSyncServiceUid] Registered Server - * storageSyncServiceUid - * @member {string} [lastWorkflowId] Registered Server lastWorkflowId - * @member {string} [lastOperationName] Resource Last Operation Name - * @member {string} [discoveryEndpointUri] Resource discoveryEndpointUri - * @member {string} [resourceLocation] Resource Location - * @member {string} [serviceLocation] Service Location - * @member {string} [friendlyName] Friendly Name - * @member {string} [managementEndpointUri] Management Endpoint Uri - * @member {string} [monitoringConfiguration] Monitoring Configuration - */ +*/ export interface RegisteredServer extends ProxyResource { + /** + * Registered Server Certificate + */ serverCertificate?: string; + /** + * Registered Server Agent Version + */ agentVersion?: string; + /** + * Registered Server OS Version + */ serverOSVersion?: string; - serverManagementtErrorCode?: number; + /** + * Registered Server Management Error Code + */ + serverManagementErrorCode?: number; + /** + * Registered Server last heart beat + */ lastHeartBeat?: string; + /** + * Registered Server Provisioning State + */ provisioningState?: string; + /** + * Registered Server serverRole + */ serverRole?: string; + /** + * Registered Server clusterId + */ clusterId?: string; + /** + * Registered Server clusterName + */ clusterName?: string; + /** + * Registered Server serverId + */ serverId?: string; + /** + * Registered Server storageSyncServiceUid + */ storageSyncServiceUid?: string; + /** + * Registered Server lastWorkflowId + */ lastWorkflowId?: string; + /** + * Resource Last Operation Name + */ lastOperationName?: string; + /** + * Resource discoveryEndpointUri + */ discoveryEndpointUri?: string; + /** + * Resource Location + */ resourceLocation?: string; + /** + * Service Location + */ serviceLocation?: string; + /** + * Friendly Name + */ friendlyName?: string; + /** + * Management Endpoint Uri + */ managementEndpointUri?: string; + /** + * Monitoring Configuration + */ monitoringConfiguration?: string; } /** - * @class - * Initializes a new instance of the ResourcesMoveInfo class. - * @constructor * Resource Move Info. - * - * @member {string} [targetResourceGroup] Target resource group. - * @member {array} [resources] Collection of Resources. - */ +*/ export interface ResourcesMoveInfo { + /** + * Target resource group. + */ targetResourceGroup?: string; + /** + * Collection of Resources. + */ resources?: string[]; } /** - * @class - * Initializes a new instance of the Workflow class. - * @constructor * Workflow resource. - * - * @member {string} [lastStepName] last step name - * @member {string} [status] workflow status. Possible values include: - * 'active', 'expired', 'succeeded', 'aborted', 'failed' - * @member {string} [operation] operation direction. Possible values include: - * 'do', 'undo', 'cancel' - * @member {string} [steps] workflow steps - * @member {string} [lastOperationId] workflow last operation identifier. - */ +*/ export interface Workflow extends ProxyResource { + /** + * last step name + */ lastStepName?: string; + /** + * workflow status. Possible values include: 'active', 'expired', 'succeeded', 'aborted', + * 'failed' + */ status?: string; + /** + * operation direction. Possible values include: 'do', 'undo', 'cancel' + */ operation?: string; + /** + * workflow steps + */ steps?: string; + /** + * workflow last operation identifier. + */ lastOperationId?: string; } /** - * @class - * Initializes a new instance of the OperationDisplayInfo class. - * @constructor * The operation supported by storage sync. - * - * @member {string} [description] The description of the operation. - * @member {string} [operation] The action that users can perform, based on - * their permission level. - * @member {string} [provider] Service provider: Microsoft StorageSync. - * @member {string} [resource] Resource on which the operation is performed. - */ +*/ export interface OperationDisplayInfo { + /** + * The description of the operation. + */ description?: string; + /** + * The action that users can perform, based on their permission level. + */ operation?: string; + /** + * Service provider: Microsoft StorageSync. + */ provider?: string; + /** + * Resource on which the operation is performed. + */ resource?: string; } /** - * @class - * Initializes a new instance of the OperationEntity class. - * @constructor * The operation supported by storage sync. - * - * @member {string} [name] Operation name: {provider}/{resource}/{operation}. - * @member {object} [display] The operation supported by storage sync. - * @member {string} [display.description] The description of the operation. - * @member {string} [display.operation] The action that users can perform, - * based on their permission level. - * @member {string} [display.provider] Service provider: Microsoft StorageSync. - * @member {string} [display.resource] Resource on which the operation is - * performed. - * @member {string} [origin] The origin. - */ +*/ export interface OperationEntity { + /** + * Operation name: {provider}/{resource}/{operation}. + */ name?: string; + /** + * The operation supported by storage sync. + */ display?: OperationDisplayInfo; + /** + * The origin. + */ origin?: string; } /** - * @class - * Initializes a new instance of the OperationDisplayResource class. - * @constructor * Operation Display Resource object. - * - * @member {string} [provider] Operation Display Resource Provider. - * @member {string} [resource] Operation Display Resource. - * @member {string} [operation] Operation Display Resource Operation. - * @member {string} [description] Operation Display Resource Description. - */ +*/ export interface OperationDisplayResource { + /** + * Operation Display Resource Provider. + */ provider?: string; + /** + * Operation Display Resource. + */ resource?: string; + /** + * Operation Display Resource Operation. + */ operation?: string; + /** + * Operation Display Resource Description. + */ description?: string; } /** - * @class - * Initializes a new instance of the CheckNameAvailabilityParameters class. - * @constructor * Parameters for a check name availability request. - * - * @member {string} name The name to check for availability - */ +*/ export interface CheckNameAvailabilityParameters { + /** + * The name to check for availability + */ name: string; } /** - * @class - * Initializes a new instance of the CheckNameAvailabilityResult class. - * @constructor * The CheckNameAvailability operation response. - * - * @member {boolean} [nameAvailable] Gets a boolean value that indicates - * whether the name is available for you to use. If true, the name is - * available. If false, the name has already been taken or invalid and cannot - * be used. - * @member {string} [reason] Gets the reason that a Storage Sync Service name - * could not be used. The Reason element is only returned if NameAvailable is - * false. Possible values include: 'Invalid', 'AlreadyExists' - * @member {string} [message] Gets an error message explaining the Reason value - * in more detail. - */ +*/ export interface CheckNameAvailabilityResult { + /** + * Gets a boolean value that indicates whether the name is available for you to use. If true, the + * name is available. If false, the name has already been taken or invalid and cannot be used. + */ readonly nameAvailable?: boolean; + /** + * Gets the reason that a Storage Sync Service name could not be used. The Reason element is only + * returned if NameAvailable is false. Possible values include: 'Invalid', 'AlreadyExists' + */ readonly reason?: string; + /** + * Gets an error message explaining the Reason value in more detail. + */ readonly message?: string; } /** - * @class - * Initializes a new instance of the RestoreFileSpec class. - * @constructor * Restore file spec. - * - * @member {string} [path] Restore file spec path - * @member {boolean} [isdir] Restore file spec isdir - */ +*/ export interface RestoreFileSpec { + /** + * Restore file spec path + */ path?: string; + /** + * Restore file spec isdir + */ readonly isdir?: boolean; } /** - * @class - * Initializes a new instance of the PostRestoreRequest class. - * @constructor * Post Restore Request - * - * @member {string} [partition] Post Restore partition. - * @member {string} [replicaGroup] Post Restore replica group. - * @member {string} [requestId] Post Restore request id. - * @member {string} [azureFileShareUri] Post Restore Azure file share uri. - * @member {string} [status] Post Restore Azure status. - * @member {string} [sourceAzureFileShareUri] Post Restore Azure source azure - * file share uri. - * @member {string} [failedFileList] Post Restore Azure failed file list. - * @member {array} [restoreFileSpec] Post Restore restore file spec array. - */ +*/ export interface PostRestoreRequest { + /** + * Post Restore partition. + */ partition?: string; + /** + * Post Restore replica group. + */ replicaGroup?: string; + /** + * Post Restore request id. + */ requestId?: string; + /** + * Post Restore Azure file share uri. + */ azureFileShareUri?: string; + /** + * Post Restore Azure status. + */ status?: string; + /** + * Post Restore Azure source azure file share uri. + */ sourceAzureFileShareUri?: string; + /** + * Post Restore Azure failed file list. + */ failedFileList?: string; + /** + * Post Restore restore file spec array. + */ restoreFileSpec?: RestoreFileSpec[]; } /** - * @class - * Initializes a new instance of the PreRestoreRequest class. - * @constructor * Pre Restore request object. - * - * @member {string} [partition] Pre Restore partition. - * @member {string} [replicaGroup] Pre Restore replica group. - * @member {string} [requestId] Pre Restore request id. - * @member {string} [azureFileShareUri] Pre Restore Azure file share uri. - * @member {string} [status] Pre Restore Azure status. - * @member {string} [sourceAzureFileShareUri] Pre Restore Azure source azure - * file share uri. - * @member {string} [backupMetadataPropertyBag] Pre Restore backup metadata - * property bag. - * @member {array} [restoreFileSpec] Pre Restore restore file spec array. - * @member {number} [pauseWaitForSyncDrainTimePeriodInSeconds] Pre Restore - * pause wait for sync drain time period in seconds. - */ +*/ export interface PreRestoreRequest { + /** + * Pre Restore partition. + */ partition?: string; + /** + * Pre Restore replica group. + */ replicaGroup?: string; + /** + * Pre Restore request id. + */ requestId?: string; + /** + * Pre Restore Azure file share uri. + */ azureFileShareUri?: string; + /** + * Pre Restore Azure status. + */ status?: string; + /** + * Pre Restore Azure source azure file share uri. + */ sourceAzureFileShareUri?: string; + /** + * Pre Restore backup metadata property bag. + */ backupMetadataPropertyBag?: string; + /** + * Pre Restore restore file spec array. + */ restoreFileSpec?: RestoreFileSpec[]; + /** + * Pre Restore pause wait for sync drain time period in seconds. + */ pauseWaitForSyncDrainTimePeriodInSeconds?: number; } /** - * @class - * Initializes a new instance of the BackupRequest class. - * @constructor * Backup request - * - * @member {string} [azureFileShare] Azure File Share. - */ +*/ export interface BackupRequest { + /** + * Azure File Share. + */ azureFileShare?: string; } /** - * @class - * Initializes a new instance of the PostBackupResponse class. - * @constructor * Post Backup Response - * - * @member {string} [cloudEndpointName] cloud endpoint Name. - */ +*/ export interface PostBackupResponse { + /** + * cloud endpoint Name. + */ readonly cloudEndpointName?: string; } /** - * @class - * Initializes a new instance of the StorageSyncServiceUpdateParameters class. - * @constructor * Parameters for updating an Storage sync service. - * - * @member {object} [tags] The user-specified tags associated with the storage - * sync service. - * @member {object} [properties] The properties of the storage sync service. - */ +*/ export interface StorageSyncServiceUpdateParameters { + /** + * The user-specified tags associated with the storage sync service. + */ tags?: { [propertyName: string]: string }; + /** + * The properties of the storage sync service. + */ properties?: any; } /** - * @class - * Initializes a new instance of the AzureEntityResource class. - * @constructor - * The resource model definition for a Azure Resource Manager resource with an - * etag. - * - * @member {string} [etag] Resource Etag. - */ + * The resource model definition for a Azure Resource Manager resource with an etag. +*/ export interface AzureEntityResource extends Resource { + /** + * Resource Etag. + */ readonly etag?: string; } - /** - * @class - * Initializes a new instance of the OperationEntityListResult class. - * @constructor * The list of storage sync operations. - * - * @member {string} [nextLink] The link used to get the next page of - * operations. - */ +*/ export interface OperationEntityListResult extends Array { + /** + * The link used to get the next page of operations. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the StorageSyncServiceArray class. - * @constructor * Array of StorageSyncServices - * - */ +*/ export interface StorageSyncServiceArray extends Array { } /** - * @class - * Initializes a new instance of the SyncGroupArray class. - * @constructor * Array of SyncGroup - * - */ +*/ export interface SyncGroupArray extends Array { } /** - * @class - * Initializes a new instance of the CloudEndpointArray class. - * @constructor * Array of CloudEndpoint - * - */ +*/ export interface CloudEndpointArray extends Array { } /** - * @class - * Initializes a new instance of the ServerEndpointArray class. - * @constructor * Array of ServerEndpoint - * - */ +*/ export interface ServerEndpointArray extends Array { } /** - * @class - * Initializes a new instance of the RegisteredServerArray class. - * @constructor * Array of RegisteredServer - * - */ +*/ export interface RegisteredServerArray extends Array { } /** - * @class - * Initializes a new instance of the WorkflowArray class. - * @constructor * Array of Workflow - * - */ +*/ export interface WorkflowArray extends Array { } diff --git a/lib/services/storagesyncManagement/lib/models/index.js b/lib/services/storagesyncManagement/lib/models/index.js index 0f5b9cbd94..41d3816218 100644 --- a/lib/services/storagesyncManagement/lib/models/index.js +++ b/lib/services/storagesyncManagement/lib/models/index.js @@ -36,6 +36,9 @@ exports.ServerEndpointCreateParameters = require('./serverEndpointCreateParamete exports.TriggerRolloverRequest = require('./triggerRolloverRequest'); exports.RegisteredServerCreateParameters = require('./registeredServerCreateParameters'); exports.ServerEndpointUpdateParameters = require('./serverEndpointUpdateParameters'); +exports.SyncSessionStatus = require('./syncSessionStatus'); +exports.SyncProgressStatus = require('./syncProgressStatus'); +exports.ServerEndpointHealth = require('./serverEndpointHealth'); exports.ServerEndpoint = require('./serverEndpoint'); exports.RegisteredServer = require('./registeredServer'); exports.ResourcesMoveInfo = require('./resourcesMoveInfo'); diff --git a/lib/services/storagesyncManagement/lib/models/operationDisplayInfo.js b/lib/services/storagesyncManagement/lib/models/operationDisplayInfo.js index cf5183c004..753a75abc0 100644 --- a/lib/services/storagesyncManagement/lib/models/operationDisplayInfo.js +++ b/lib/services/storagesyncManagement/lib/models/operationDisplayInfo.js @@ -17,11 +17,12 @@ class OperationDisplayInfo { /** * Create a OperationDisplayInfo. - * @member {string} [description] The description of the operation. - * @member {string} [operation] The action that users can perform, based on + * @property {string} [description] The description of the operation. + * @property {string} [operation] The action that users can perform, based on * their permission level. - * @member {string} [provider] Service provider: Microsoft StorageSync. - * @member {string} [resource] Resource on which the operation is performed. + * @property {string} [provider] Service provider: Microsoft StorageSync. + * @property {string} [resource] Resource on which the operation is + * performed. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/operationDisplayResource.js b/lib/services/storagesyncManagement/lib/models/operationDisplayResource.js index 5e67311540..64a20ef330 100644 --- a/lib/services/storagesyncManagement/lib/models/operationDisplayResource.js +++ b/lib/services/storagesyncManagement/lib/models/operationDisplayResource.js @@ -17,10 +17,10 @@ class OperationDisplayResource { /** * Create a OperationDisplayResource. - * @member {string} [provider] Operation Display Resource Provider. - * @member {string} [resource] Operation Display Resource. - * @member {string} [operation] Operation Display Resource Operation. - * @member {string} [description] Operation Display Resource Description. + * @property {string} [provider] Operation Display Resource Provider. + * @property {string} [resource] Operation Display Resource. + * @property {string} [operation] Operation Display Resource Operation. + * @property {string} [description] Operation Display Resource Description. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/operationEntity.js b/lib/services/storagesyncManagement/lib/models/operationEntity.js index e7a1b503f7..4ba806f0a8 100644 --- a/lib/services/storagesyncManagement/lib/models/operationEntity.js +++ b/lib/services/storagesyncManagement/lib/models/operationEntity.js @@ -17,16 +17,17 @@ class OperationEntity { /** * Create a OperationEntity. - * @member {string} [name] Operation name: {provider}/{resource}/{operation}. - * @member {object} [display] The operation supported by storage sync. - * @member {string} [display.description] The description of the operation. - * @member {string} [display.operation] The action that users can perform, + * @property {string} [name] Operation name: + * {provider}/{resource}/{operation}. + * @property {object} [display] The operation supported by storage sync. + * @property {string} [display.description] The description of the operation. + * @property {string} [display.operation] The action that users can perform, * based on their permission level. - * @member {string} [display.provider] Service provider: Microsoft + * @property {string} [display.provider] Service provider: Microsoft * StorageSync. - * @member {string} [display.resource] Resource on which the operation is + * @property {string} [display.resource] Resource on which the operation is * performed. - * @member {string} [origin] The origin. + * @property {string} [origin] The origin. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/operationEntityListResult.js b/lib/services/storagesyncManagement/lib/models/operationEntityListResult.js index f2fd520020..f8107dc5a9 100644 --- a/lib/services/storagesyncManagement/lib/models/operationEntityListResult.js +++ b/lib/services/storagesyncManagement/lib/models/operationEntityListResult.js @@ -16,7 +16,7 @@ class OperationEntityListResult extends Array { /** * Create a OperationEntityListResult. - * @member {string} [nextLink] The link used to get the next page of + * @property {string} [nextLink] The link used to get the next page of * operations. */ constructor() { diff --git a/lib/services/storagesyncManagement/lib/models/postBackupResponse.js b/lib/services/storagesyncManagement/lib/models/postBackupResponse.js index dfb4c14bf1..4c0a1961c1 100644 --- a/lib/services/storagesyncManagement/lib/models/postBackupResponse.js +++ b/lib/services/storagesyncManagement/lib/models/postBackupResponse.js @@ -17,7 +17,7 @@ class PostBackupResponse { /** * Create a PostBackupResponse. - * @member {string} [cloudEndpointName] cloud endpoint Name. + * @property {string} [cloudEndpointName] cloud endpoint Name. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/postRestoreRequest.js b/lib/services/storagesyncManagement/lib/models/postRestoreRequest.js index 32be654193..4c92fc2ad4 100644 --- a/lib/services/storagesyncManagement/lib/models/postRestoreRequest.js +++ b/lib/services/storagesyncManagement/lib/models/postRestoreRequest.js @@ -17,15 +17,15 @@ class PostRestoreRequest { /** * Create a PostRestoreRequest. - * @member {string} [partition] Post Restore partition. - * @member {string} [replicaGroup] Post Restore replica group. - * @member {string} [requestId] Post Restore request id. - * @member {string} [azureFileShareUri] Post Restore Azure file share uri. - * @member {string} [status] Post Restore Azure status. - * @member {string} [sourceAzureFileShareUri] Post Restore Azure source azure - * file share uri. - * @member {string} [failedFileList] Post Restore Azure failed file list. - * @member {array} [restoreFileSpec] Post Restore restore file spec array. + * @property {string} [partition] Post Restore partition. + * @property {string} [replicaGroup] Post Restore replica group. + * @property {string} [requestId] Post Restore request id. + * @property {string} [azureFileShareUri] Post Restore Azure file share uri. + * @property {string} [status] Post Restore Azure status. + * @property {string} [sourceAzureFileShareUri] Post Restore Azure source + * azure file share uri. + * @property {string} [failedFileList] Post Restore Azure failed file list. + * @property {array} [restoreFileSpec] Post Restore restore file spec array. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/preRestoreRequest.js b/lib/services/storagesyncManagement/lib/models/preRestoreRequest.js index 47c2c0e206..a27c3cb8ec 100644 --- a/lib/services/storagesyncManagement/lib/models/preRestoreRequest.js +++ b/lib/services/storagesyncManagement/lib/models/preRestoreRequest.js @@ -17,17 +17,17 @@ class PreRestoreRequest { /** * Create a PreRestoreRequest. - * @member {string} [partition] Pre Restore partition. - * @member {string} [replicaGroup] Pre Restore replica group. - * @member {string} [requestId] Pre Restore request id. - * @member {string} [azureFileShareUri] Pre Restore Azure file share uri. - * @member {string} [status] Pre Restore Azure status. - * @member {string} [sourceAzureFileShareUri] Pre Restore Azure source azure - * file share uri. - * @member {string} [backupMetadataPropertyBag] Pre Restore backup metadata + * @property {string} [partition] Pre Restore partition. + * @property {string} [replicaGroup] Pre Restore replica group. + * @property {string} [requestId] Pre Restore request id. + * @property {string} [azureFileShareUri] Pre Restore Azure file share uri. + * @property {string} [status] Pre Restore Azure status. + * @property {string} [sourceAzureFileShareUri] Pre Restore Azure source + * azure file share uri. + * @property {string} [backupMetadataPropertyBag] Pre Restore backup metadata * property bag. - * @member {array} [restoreFileSpec] Pre Restore restore file spec array. - * @member {number} [pauseWaitForSyncDrainTimePeriodInSeconds] Pre Restore + * @property {array} [restoreFileSpec] Pre Restore restore file spec array. + * @property {number} [pauseWaitForSyncDrainTimePeriodInSeconds] Pre Restore * pause wait for sync drain time period in seconds. */ constructor() { diff --git a/lib/services/storagesyncManagement/lib/models/recallActionParameters.js b/lib/services/storagesyncManagement/lib/models/recallActionParameters.js index 96d1da2872..ed8f8a22ee 100644 --- a/lib/services/storagesyncManagement/lib/models/recallActionParameters.js +++ b/lib/services/storagesyncManagement/lib/models/recallActionParameters.js @@ -17,8 +17,8 @@ class RecallActionParameters { /** * Create a RecallActionParameters. - * @member {string} [pattern] Pattern of the files. - * @member {string} [recallPath] Recall path. + * @property {string} [pattern] Pattern of the files. + * @property {string} [recallPath] Recall path. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/registeredServer.js b/lib/services/storagesyncManagement/lib/models/registeredServer.js index eb1b371513..1d1c0f1ded 100644 --- a/lib/services/storagesyncManagement/lib/models/registeredServer.js +++ b/lib/services/storagesyncManagement/lib/models/registeredServer.js @@ -20,27 +20,28 @@ const models = require('./index'); class RegisteredServer extends models['ProxyResource'] { /** * Create a RegisteredServer. - * @member {string} [serverCertificate] Registered Server Certificate - * @member {string} [agentVersion] Registered Server Agent Version - * @member {string} [serverOSVersion] Registered Server OS Version - * @member {number} [serverManagementtErrorCode] Registered Server Management - * Error Code - * @member {string} [lastHeartBeat] Registered Server last heart beat - * @member {string} [provisioningState] Registered Server Provisioning State - * @member {string} [serverRole] Registered Server serverRole - * @member {string} [clusterId] Registered Server clusterId - * @member {string} [clusterName] Registered Server clusterName - * @member {string} [serverId] Registered Server serverId - * @member {string} [storageSyncServiceUid] Registered Server + * @property {string} [serverCertificate] Registered Server Certificate + * @property {string} [agentVersion] Registered Server Agent Version + * @property {string} [serverOSVersion] Registered Server OS Version + * @property {number} [serverManagementErrorCode] Registered Server + * Management Error Code + * @property {string} [lastHeartBeat] Registered Server last heart beat + * @property {string} [provisioningState] Registered Server Provisioning + * State + * @property {string} [serverRole] Registered Server serverRole + * @property {string} [clusterId] Registered Server clusterId + * @property {string} [clusterName] Registered Server clusterName + * @property {string} [serverId] Registered Server serverId + * @property {string} [storageSyncServiceUid] Registered Server * storageSyncServiceUid - * @member {string} [lastWorkflowId] Registered Server lastWorkflowId - * @member {string} [lastOperationName] Resource Last Operation Name - * @member {string} [discoveryEndpointUri] Resource discoveryEndpointUri - * @member {string} [resourceLocation] Resource Location - * @member {string} [serviceLocation] Service Location - * @member {string} [friendlyName] Friendly Name - * @member {string} [managementEndpointUri] Management Endpoint Uri - * @member {string} [monitoringConfiguration] Monitoring Configuration + * @property {string} [lastWorkflowId] Registered Server lastWorkflowId + * @property {string} [lastOperationName] Resource Last Operation Name + * @property {string} [discoveryEndpointUri] Resource discoveryEndpointUri + * @property {string} [resourceLocation] Resource Location + * @property {string} [serviceLocation] Service Location + * @property {string} [friendlyName] Friendly Name + * @property {string} [managementEndpointUri] Management Endpoint Uri + * @property {string} [monitoringConfiguration] Monitoring Configuration */ constructor() { super(); @@ -105,9 +106,9 @@ class RegisteredServer extends models['ProxyResource'] { name: 'String' } }, - serverManagementtErrorCode: { + serverManagementErrorCode: { required: false, - serializedName: 'properties.serverManagementtErrorCode', + serializedName: 'properties.serverManagementErrorCode', type: { name: 'Number' } diff --git a/lib/services/storagesyncManagement/lib/models/registeredServerCreateParameters.js b/lib/services/storagesyncManagement/lib/models/registeredServerCreateParameters.js index 0aaa1045fc..6869966ee3 100644 --- a/lib/services/storagesyncManagement/lib/models/registeredServerCreateParameters.js +++ b/lib/services/storagesyncManagement/lib/models/registeredServerCreateParameters.js @@ -20,15 +20,15 @@ const models = require('./index'); class RegisteredServerCreateParameters extends models['ProxyResource'] { /** * Create a RegisteredServerCreateParameters. - * @member {string} [serverCertificate] Registered Server Certificate - * @member {string} [agentVersion] Registered Server Agent Version - * @member {string} [serverOSVersion] Registered Server OS Version - * @member {string} [lastHeartBeat] Registered Server last heart beat - * @member {string} [serverRole] Registered Server serverRole - * @member {string} [clusterId] Registered Server clusterId - * @member {string} [clusterName] Registered Server clusterName - * @member {string} [serverId] Registered Server serverId - * @member {string} [friendlyName] Friendly Name + * @property {string} [serverCertificate] Registered Server Certificate + * @property {string} [agentVersion] Registered Server Agent Version + * @property {string} [serverOSVersion] Registered Server OS Version + * @property {string} [lastHeartBeat] Registered Server last heart beat + * @property {string} [serverRole] Registered Server serverRole + * @property {string} [clusterId] Registered Server clusterId + * @property {string} [clusterName] Registered Server clusterName + * @property {string} [serverId] Registered Server serverId + * @property {string} [friendlyName] Friendly Name */ constructor() { super(); diff --git a/lib/services/storagesyncManagement/lib/models/resource.js b/lib/services/storagesyncManagement/lib/models/resource.js index b9797bc86d..8dc0265e3c 100644 --- a/lib/services/storagesyncManagement/lib/models/resource.js +++ b/lib/services/storagesyncManagement/lib/models/resource.js @@ -19,10 +19,10 @@ const models = require('./index'); class Resource extends models['BaseResource'] { /** * Create a Resource. - * @member {string} [id] Fully qualified resource Id for the resource. Ex - + * @property {string} [id] Fully qualified resource Id for the resource. Ex - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - * @member {string} [name] The name of the resource - * @member {string} [type] The type of the resource. Ex- + * @property {string} [name] The name of the resource + * @property {string} [type] The type of the resource. Ex- * Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. */ constructor() { diff --git a/lib/services/storagesyncManagement/lib/models/resourcesMoveInfo.js b/lib/services/storagesyncManagement/lib/models/resourcesMoveInfo.js index a7b26c132f..ea70e628dc 100644 --- a/lib/services/storagesyncManagement/lib/models/resourcesMoveInfo.js +++ b/lib/services/storagesyncManagement/lib/models/resourcesMoveInfo.js @@ -17,8 +17,8 @@ class ResourcesMoveInfo { /** * Create a ResourcesMoveInfo. - * @member {string} [targetResourceGroup] Target resource group. - * @member {array} [resources] Collection of Resources. + * @property {string} [targetResourceGroup] Target resource group. + * @property {array} [resources] Collection of Resources. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/restoreFileSpec.js b/lib/services/storagesyncManagement/lib/models/restoreFileSpec.js index 1f6eb235f7..419bb0c857 100644 --- a/lib/services/storagesyncManagement/lib/models/restoreFileSpec.js +++ b/lib/services/storagesyncManagement/lib/models/restoreFileSpec.js @@ -17,8 +17,8 @@ class RestoreFileSpec { /** * Create a RestoreFileSpec. - * @member {string} [path] Restore file spec path - * @member {boolean} [isdir] Restore file spec isdir + * @property {string} [path] Restore file spec path + * @property {boolean} [isdir] Restore file spec isdir */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/serverEndpoint.js b/lib/services/storagesyncManagement/lib/models/serverEndpoint.js index 6a7308141f..da89947c59 100644 --- a/lib/services/storagesyncManagement/lib/models/serverEndpoint.js +++ b/lib/services/storagesyncManagement/lib/models/serverEndpoint.js @@ -20,18 +20,71 @@ const models = require('./index'); class ServerEndpoint extends models['ProxyResource'] { /** * Create a ServerEndpoint. - * @member {string} [serverLocalPath] Server Local path. - * @member {string} [cloudTiering] Cloud Tiering. Possible values include: + * @property {string} [serverLocalPath] Server Local path. + * @property {string} [cloudTiering] Cloud Tiering. Possible values include: * 'on', 'off' - * @member {number} [volumeFreeSpacePercent] Level of free space to be + * @property {number} [volumeFreeSpacePercent] Level of free space to be * maintained by Cloud Tiering if it is enabled. - * @member {number} [tierFilesOlderThanDays] Tier files older than days. - * @member {string} [friendlyName] Friendly Name - * @member {string} [serverResourceId] Server Resource Id. - * @member {string} [provisioningState] ServerEndpoint Provisioning State - * @member {string} [lastWorkflowId] ServerEndpoint lastWorkflowId - * @member {string} [lastOperationName] Resource Last Operation Name - * @member {object} [syncStatus] Sync Health Status + * @property {number} [tierFilesOlderThanDays] Tier files older than days. + * @property {string} [friendlyName] Friendly Name + * @property {string} [serverResourceId] Server Resource Id. + * @property {string} [provisioningState] ServerEndpoint Provisioning State + * @property {string} [lastWorkflowId] ServerEndpoint lastWorkflowId + * @property {string} [lastOperationName] Resource Last Operation Name + * @property {object} [syncStatus] Server Endpoint properties. + * @property {string} [syncStatus.downloadHealth] Download Health Status. + * Possible values include: 'Healthy', 'Error', 'SyncBlockedForRestore', + * 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + * @property {string} [syncStatus.uploadHealth] Upload Health Status. + * Possible values include: 'Healthy', 'Error', 'SyncBlockedForRestore', + * 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + * @property {string} [syncStatus.combinedHealth] Combined Health Status. + * Possible values include: 'Healthy', 'Error', 'SyncBlockedForRestore', + * 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + * @property {date} [syncStatus.lastUpdatedTimestamp] Last Updated Timestamp + * @property {object} [syncStatus.uploadStatus] Upload Status + * @property {number} [syncStatus.uploadStatus.lastSyncResult] Last sync + * status + * @property {date} [syncStatus.uploadStatus.lastSyncTimestamp] Last sync + * timestamp + * @property {date} [syncStatus.uploadStatus.lastSyncSuccessTimestamp] Last + * sync success timestamp + * @property {number} [syncStatus.uploadStatus.lastSyncPerItemErrorCount] + * Last sync per item error count. + * @property {object} [syncStatus.downloadStatus] Download Status + * @property {number} [syncStatus.downloadStatus.lastSyncResult] Last sync + * status + * @property {date} [syncStatus.downloadStatus.lastSyncTimestamp] Last sync + * timestamp + * @property {date} [syncStatus.downloadStatus.lastSyncSuccessTimestamp] Last + * sync success timestamp + * @property {number} [syncStatus.downloadStatus.lastSyncPerItemErrorCount] + * Last sync per item error count. + * @property {object} [syncStatus.currentProgress] Current progress + * @property {date} [syncStatus.currentProgress.progressTimestamp] Progress + * timestamp + * @property {string} [syncStatus.currentProgress.syncDirection] Sync + * direction. Possible values include: 'none', 'initialize', 'download', + * 'upload', 'recall' + * @property {number} [syncStatus.currentProgress.perItemErrorCount] Per item + * error count + * @property {number} [syncStatus.currentProgress.appliedItemCount] Applied + * item count. + * @property {number} [syncStatus.currentProgress.totalItemCount] Total item + * count + * @property {number} [syncStatus.currentProgress.appliedBytes] Applied bytes + * @property {number} [syncStatus.currentProgress.totalBytes] Total bytes + * @property {string} [syncStatus.offlineDataTransferStatus] Offline Data + * Transfer State. Possible values include: 'InProgress', 'Stopping', + * 'NotRunning', 'Complete' + * @property {string} [offlineDataTransfer] Offline data transfer. Possible + * values include: 'on', 'off' + * @property {string} [offlineDataTransferStorageAccountResourceId] Offline + * data transfer storage account resource ID + * @property {string} [offlineDataTransferStorageAccountTenantId] Offline + * data transfer storage account tenant ID + * @property {string} [offlineDataTransferShareName] Offline data transfer + * share name */ constructor() { super(); @@ -150,7 +203,38 @@ class ServerEndpoint extends models['ProxyResource'] { required: false, serializedName: 'properties.syncStatus', type: { - name: 'Object' + name: 'Composite', + className: 'ServerEndpointHealth' + } + }, + offlineDataTransfer: { + required: false, + serializedName: 'properties.offlineDataTransfer', + type: { + name: 'String' + } + }, + offlineDataTransferStorageAccountResourceId: { + required: false, + readOnly: true, + serializedName: 'properties.offlineDataTransferStorageAccountResourceId', + type: { + name: 'String' + } + }, + offlineDataTransferStorageAccountTenantId: { + required: false, + readOnly: true, + serializedName: 'properties.offlineDataTransferStorageAccountTenantId', + type: { + name: 'String' + } + }, + offlineDataTransferShareName: { + required: false, + serializedName: 'properties.offlineDataTransferShareName', + type: { + name: 'String' } } } diff --git a/lib/services/storagesyncManagement/lib/models/serverEndpointCreateParameters.js b/lib/services/storagesyncManagement/lib/models/serverEndpointCreateParameters.js index fe0c1bcd95..609c5f2131 100644 --- a/lib/services/storagesyncManagement/lib/models/serverEndpointCreateParameters.js +++ b/lib/services/storagesyncManagement/lib/models/serverEndpointCreateParameters.js @@ -20,14 +20,18 @@ const models = require('./index'); class ServerEndpointCreateParameters extends models['ProxyResource'] { /** * Create a ServerEndpointCreateParameters. - * @member {string} [serverLocalPath] Server Local path. - * @member {string} [cloudTiering] Cloud Tiering. Possible values include: + * @property {string} [serverLocalPath] Server Local path. + * @property {string} [cloudTiering] Cloud Tiering. Possible values include: * 'on', 'off' - * @member {number} [volumeFreeSpacePercent] Level of free space to be + * @property {number} [volumeFreeSpacePercent] Level of free space to be * maintained by Cloud Tiering if it is enabled. - * @member {number} [tierFilesOlderThanDays] Tier files older than days. - * @member {string} [friendlyName] Friendly Name - * @member {string} [serverResourceId] Server Resource Id. + * @property {number} [tierFilesOlderThanDays] Tier files older than days. + * @property {string} [friendlyName] Friendly Name + * @property {string} [serverResourceId] Server Resource Id. + * @property {string} [offlineDataTransfer] Offline data transfer. Possible + * values include: 'on', 'off' + * @property {string} [offlineDataTransferShareName] Offline data transfer + * share name */ constructor() { super(); @@ -120,6 +124,20 @@ class ServerEndpointCreateParameters extends models['ProxyResource'] { type: { name: 'String' } + }, + offlineDataTransfer: { + required: false, + serializedName: 'properties.offlineDataTransfer', + type: { + name: 'String' + } + }, + offlineDataTransferShareName: { + required: false, + serializedName: 'properties.offlineDataTransferShareName', + type: { + name: 'String' + } } } } diff --git a/lib/services/storagesyncManagement/lib/models/serverEndpointHealth.js b/lib/services/storagesyncManagement/lib/models/serverEndpointHealth.js new file mode 100644 index 0000000000..7243b8a66d --- /dev/null +++ b/lib/services/storagesyncManagement/lib/models/serverEndpointHealth.js @@ -0,0 +1,141 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +'use strict'; + +/** + * ServerEndpoint Health object. + * + */ +class ServerEndpointHealth { + /** + * Create a ServerEndpointHealth. + * @property {string} [downloadHealth] Download Health Status. Possible + * values include: 'Healthy', 'Error', 'SyncBlockedForRestore', + * 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + * @property {string} [uploadHealth] Upload Health Status. Possible values + * include: 'Healthy', 'Error', 'SyncBlockedForRestore', + * 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + * @property {string} [combinedHealth] Combined Health Status. Possible + * values include: 'Healthy', 'Error', 'SyncBlockedForRestore', + * 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + * @property {date} [lastUpdatedTimestamp] Last Updated Timestamp + * @property {object} [uploadStatus] Upload Status + * @property {number} [uploadStatus.lastSyncResult] Last sync status + * @property {date} [uploadStatus.lastSyncTimestamp] Last sync timestamp + * @property {date} [uploadStatus.lastSyncSuccessTimestamp] Last sync success + * timestamp + * @property {number} [uploadStatus.lastSyncPerItemErrorCount] Last sync per + * item error count. + * @property {object} [downloadStatus] Download Status + * @property {number} [downloadStatus.lastSyncResult] Last sync status + * @property {date} [downloadStatus.lastSyncTimestamp] Last sync timestamp + * @property {date} [downloadStatus.lastSyncSuccessTimestamp] Last sync + * success timestamp + * @property {number} [downloadStatus.lastSyncPerItemErrorCount] Last sync + * per item error count. + * @property {object} [currentProgress] Current progress + * @property {date} [currentProgress.progressTimestamp] Progress timestamp + * @property {string} [currentProgress.syncDirection] Sync direction. + * Possible values include: 'none', 'initialize', 'download', 'upload', + * 'recall' + * @property {number} [currentProgress.perItemErrorCount] Per item error + * count + * @property {number} [currentProgress.appliedItemCount] Applied item count. + * @property {number} [currentProgress.totalItemCount] Total item count + * @property {number} [currentProgress.appliedBytes] Applied bytes + * @property {number} [currentProgress.totalBytes] Total bytes + * @property {string} [offlineDataTransferStatus] Offline Data Transfer + * State. Possible values include: 'InProgress', 'Stopping', 'NotRunning', + * 'Complete' + */ + constructor() { + } + + /** + * Defines the metadata of ServerEndpointHealth + * + * @returns {object} metadata of ServerEndpointHealth + * + */ + mapper() { + return { + required: false, + serializedName: 'ServerEndpointHealth', + type: { + name: 'Composite', + className: 'ServerEndpointHealth', + modelProperties: { + downloadHealth: { + required: false, + serializedName: 'downloadHealth', + type: { + name: 'String' + } + }, + uploadHealth: { + required: false, + serializedName: 'uploadHealth', + type: { + name: 'String' + } + }, + combinedHealth: { + required: false, + serializedName: 'combinedHealth', + type: { + name: 'String' + } + }, + lastUpdatedTimestamp: { + required: false, + serializedName: 'lastUpdatedTimestamp', + type: { + name: 'DateTime' + } + }, + uploadStatus: { + required: false, + serializedName: 'uploadStatus', + type: { + name: 'Composite', + className: 'SyncSessionStatus' + } + }, + downloadStatus: { + required: false, + serializedName: 'downloadStatus', + type: { + name: 'Composite', + className: 'SyncSessionStatus' + } + }, + currentProgress: { + required: false, + serializedName: 'currentProgress', + type: { + name: 'Composite', + className: 'SyncProgressStatus' + } + }, + offlineDataTransferStatus: { + required: false, + serializedName: 'offlineDataTransferStatus', + type: { + name: 'String' + } + } + } + } + }; + } +} + +module.exports = ServerEndpointHealth; diff --git a/lib/services/storagesyncManagement/lib/models/serverEndpointUpdateParameters.js b/lib/services/storagesyncManagement/lib/models/serverEndpointUpdateParameters.js index dc2722d596..b53680fa4d 100644 --- a/lib/services/storagesyncManagement/lib/models/serverEndpointUpdateParameters.js +++ b/lib/services/storagesyncManagement/lib/models/serverEndpointUpdateParameters.js @@ -17,11 +17,15 @@ class ServerEndpointUpdateParameters { /** * Create a ServerEndpointUpdateParameters. - * @member {string} [cloudTiering] Cloud Tiering. Possible values include: + * @property {string} [cloudTiering] Cloud Tiering. Possible values include: * 'on', 'off' - * @member {number} [volumeFreeSpacePercent] Level of free space to be + * @property {number} [volumeFreeSpacePercent] Level of free space to be * maintained by Cloud Tiering if it is enabled. - * @member {number} [tierFilesOlderThanDays] Tier files older than days. + * @property {number} [tierFilesOlderThanDays] Tier files older than days. + * @property {string} [offlineDataTransfer] Offline data transfer. Possible + * values include: 'on', 'off' + * @property {string} [offlineDataTransferShareName] Offline data transfer + * share name */ constructor() { } @@ -68,6 +72,20 @@ class ServerEndpointUpdateParameters { type: { name: 'Number' } + }, + offlineDataTransfer: { + required: false, + serializedName: 'properties.offlineDataTransfer', + type: { + name: 'String' + } + }, + offlineDataTransferShareName: { + required: false, + serializedName: 'properties.offlineDataTransferShareName', + type: { + name: 'String' + } } } } diff --git a/lib/services/storagesyncManagement/lib/models/storageSyncApiError.js b/lib/services/storagesyncManagement/lib/models/storageSyncApiError.js index 553ef6142a..edff1960c7 100644 --- a/lib/services/storagesyncManagement/lib/models/storageSyncApiError.js +++ b/lib/services/storagesyncManagement/lib/models/storageSyncApiError.js @@ -17,13 +17,13 @@ class StorageSyncApiError { /** * Create a StorageSyncApiError. - * @member {string} [code] Error code of the given entry. - * @member {string} [message] Error message of the given entry. - * @member {string} [target] Target of the given error entry. - * @member {object} [details] Error details of the given entry. - * @member {string} [details.code] Error code of the given entry. - * @member {string} [details.message] Error message of the given entry. - * @member {string} [details.target] Target of the given entry. + * @property {string} [code] Error code of the given entry. + * @property {string} [message] Error message of the given entry. + * @property {string} [target] Target of the given error entry. + * @property {object} [details] Error details of the given entry. + * @property {string} [details.code] Error code of the given entry. + * @property {string} [details.message] Error message of the given entry. + * @property {string} [details.target] Target of the given entry. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/storageSyncError.js b/lib/services/storagesyncManagement/lib/models/storageSyncError.js index 69cb149ebd..c4732f5250 100644 --- a/lib/services/storagesyncManagement/lib/models/storageSyncError.js +++ b/lib/services/storagesyncManagement/lib/models/storageSyncError.js @@ -17,23 +17,25 @@ class StorageSyncError { /** * Create a StorageSyncError. - * @member {object} [error] Error details of the given entry. - * @member {string} [error.code] Error code of the given entry. - * @member {string} [error.message] Error message of the given entry. - * @member {string} [error.target] Target of the given error entry. - * @member {object} [error.details] Error details of the given entry. - * @member {string} [error.details.code] Error code of the given entry. - * @member {string} [error.details.message] Error message of the given entry. - * @member {string} [error.details.target] Target of the given entry. - * @member {object} [innererror] Error details of the given entry. - * @member {string} [innererror.code] Error code of the given entry. - * @member {string} [innererror.message] Error message of the given entry. - * @member {string} [innererror.target] Target of the given error entry. - * @member {object} [innererror.details] Error details of the given entry. - * @member {string} [innererror.details.code] Error code of the given entry. - * @member {string} [innererror.details.message] Error message of the given + * @property {object} [error] Error details of the given entry. + * @property {string} [error.code] Error code of the given entry. + * @property {string} [error.message] Error message of the given entry. + * @property {string} [error.target] Target of the given error entry. + * @property {object} [error.details] Error details of the given entry. + * @property {string} [error.details.code] Error code of the given entry. + * @property {string} [error.details.message] Error message of the given * entry. - * @member {string} [innererror.details.target] Target of the given entry. + * @property {string} [error.details.target] Target of the given entry. + * @property {object} [innererror] Error details of the given entry. + * @property {string} [innererror.code] Error code of the given entry. + * @property {string} [innererror.message] Error message of the given entry. + * @property {string} [innererror.target] Target of the given error entry. + * @property {object} [innererror.details] Error details of the given entry. + * @property {string} [innererror.details.code] Error code of the given + * entry. + * @property {string} [innererror.details.message] Error message of the given + * entry. + * @property {string} [innererror.details.target] Target of the given entry. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/storageSyncErrorDetails.js b/lib/services/storagesyncManagement/lib/models/storageSyncErrorDetails.js index d8fe07560a..19547b0627 100644 --- a/lib/services/storagesyncManagement/lib/models/storageSyncErrorDetails.js +++ b/lib/services/storagesyncManagement/lib/models/storageSyncErrorDetails.js @@ -17,9 +17,9 @@ class StorageSyncErrorDetails { /** * Create a StorageSyncErrorDetails. - * @member {string} [code] Error code of the given entry. - * @member {string} [message] Error message of the given entry. - * @member {string} [target] Target of the given entry. + * @property {string} [code] Error code of the given entry. + * @property {string} [message] Error message of the given entry. + * @property {string} [target] Target of the given entry. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/storageSyncService.js b/lib/services/storagesyncManagement/lib/models/storageSyncService.js index 3ec28e3fab..1897f08897 100644 --- a/lib/services/storagesyncManagement/lib/models/storageSyncService.js +++ b/lib/services/storagesyncManagement/lib/models/storageSyncService.js @@ -20,8 +20,8 @@ const models = require('./index'); class StorageSyncService extends models['TrackedResource'] { /** * Create a StorageSyncService. - * @member {number} [storageSyncServiceStatus] Storage Sync service status. - * @member {string} [storageSyncServiceUid] Storage Sync service Uid + * @property {number} [storageSyncServiceStatus] Storage Sync service status. + * @property {string} [storageSyncServiceUid] Storage Sync service Uid */ constructor() { super(); diff --git a/lib/services/storagesyncManagement/lib/models/storageSyncServiceCreateParameters.js b/lib/services/storagesyncManagement/lib/models/storageSyncServiceCreateParameters.js index 776dcaf1fc..ed112c727f 100644 --- a/lib/services/storagesyncManagement/lib/models/storageSyncServiceCreateParameters.js +++ b/lib/services/storagesyncManagement/lib/models/storageSyncServiceCreateParameters.js @@ -17,18 +17,18 @@ class StorageSyncServiceCreateParameters { /** * Create a StorageSyncServiceCreateParameters. - * @member {string} location Required. Gets or sets the location of the + * @property {string} location Required. Gets or sets the location of the * resource. This will be one of the supported and registered Azure Geo * Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a * resource cannot be changed once it is created, but if an identical geo * region is specified on update, the request will succeed. - * @member {object} [tags] Gets or sets a list of key value pairs that + * @property {object} [tags] Gets or sets a list of key value pairs that * describe the resource. These tags can be used for viewing and grouping * this resource (across resource groups). A maximum of 15 tags can be * provided for a resource. Each tag must have a key with a length no greater * than 128 characters and a value with a length no greater than 256 * characters. - * @member {object} [properties] + * @property {object} [properties] */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/storageSyncServiceUpdateParameters.js b/lib/services/storagesyncManagement/lib/models/storageSyncServiceUpdateParameters.js index 68506e6955..923e939146 100644 --- a/lib/services/storagesyncManagement/lib/models/storageSyncServiceUpdateParameters.js +++ b/lib/services/storagesyncManagement/lib/models/storageSyncServiceUpdateParameters.js @@ -17,9 +17,10 @@ class StorageSyncServiceUpdateParameters { /** * Create a StorageSyncServiceUpdateParameters. - * @member {object} [tags] The user-specified tags associated with the + * @property {object} [tags] The user-specified tags associated with the * storage sync service. - * @member {object} [properties] The properties of the storage sync service. + * @property {object} [properties] The properties of the storage sync + * service. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/subscriptionState.js b/lib/services/storagesyncManagement/lib/models/subscriptionState.js index cf77bf1f05..8980ed4e02 100644 --- a/lib/services/storagesyncManagement/lib/models/subscriptionState.js +++ b/lib/services/storagesyncManagement/lib/models/subscriptionState.js @@ -17,10 +17,10 @@ class SubscriptionState { /** * Create a SubscriptionState. - * @member {string} [state] State of Azure Subscription. Possible values + * @property {string} [state] State of Azure Subscription. Possible values * include: 'Registered', 'Unregistered', 'Warned', 'Suspended', 'Deleted' - * @member {boolean} [istransitioning] Is Transitioning - * @member {object} [properties] Subscription state properties. + * @property {boolean} [istransitioning] Is Transitioning + * @property {object} [properties] Subscription state properties. */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/syncGroup.js b/lib/services/storagesyncManagement/lib/models/syncGroup.js index d66fe945b0..17452beebe 100644 --- a/lib/services/storagesyncManagement/lib/models/syncGroup.js +++ b/lib/services/storagesyncManagement/lib/models/syncGroup.js @@ -20,8 +20,8 @@ const models = require('./index'); class SyncGroup extends models['ProxyResource'] { /** * Create a SyncGroup. - * @member {string} [uniqueId] Unique Id - * @member {string} [syncGroupStatus] Sync group status + * @property {string} [uniqueId] Unique Id + * @property {string} [syncGroupStatus] Sync group status */ constructor() { super(); diff --git a/lib/services/storagesyncManagement/lib/models/syncGroupCreateParameters.js b/lib/services/storagesyncManagement/lib/models/syncGroupCreateParameters.js index 1dd6690814..312ebb7e13 100644 --- a/lib/services/storagesyncManagement/lib/models/syncGroupCreateParameters.js +++ b/lib/services/storagesyncManagement/lib/models/syncGroupCreateParameters.js @@ -20,7 +20,8 @@ const models = require('./index'); class SyncGroupCreateParameters extends models['ProxyResource'] { /** * Create a SyncGroupCreateParameters. - * @member {object} [properties] The parameters used to create the sync group + * @property {object} [properties] The parameters used to create the sync + * group */ constructor() { super(); diff --git a/lib/services/storagesyncManagement/lib/models/syncProgressStatus.js b/lib/services/storagesyncManagement/lib/models/syncProgressStatus.js new file mode 100644 index 0000000000..8cc546d409 --- /dev/null +++ b/lib/services/storagesyncManagement/lib/models/syncProgressStatus.js @@ -0,0 +1,121 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +'use strict'; + +/** + * Sync Session status object. + * + */ +class SyncProgressStatus { + /** + * Create a SyncProgressStatus. + * @property {date} [progressTimestamp] Progress timestamp + * @property {string} [syncDirection] Sync direction. Possible values + * include: 'none', 'initialize', 'download', 'upload', 'recall' + * @property {number} [perItemErrorCount] Per item error count + * @property {number} [appliedItemCount] Applied item count. + * @property {number} [totalItemCount] Total item count + * @property {number} [appliedBytes] Applied bytes + * @property {number} [totalBytes] Total bytes + */ + constructor() { + } + + /** + * Defines the metadata of SyncProgressStatus + * + * @returns {object} metadata of SyncProgressStatus + * + */ + mapper() { + return { + required: false, + serializedName: 'SyncProgressStatus', + type: { + name: 'Composite', + className: 'SyncProgressStatus', + modelProperties: { + progressTimestamp: { + required: false, + serializedName: 'progressTimestamp', + type: { + name: 'DateTime' + } + }, + syncDirection: { + required: false, + serializedName: 'syncDirection', + type: { + name: 'String' + } + }, + perItemErrorCount: { + required: false, + serializedName: 'perItemErrorCount', + constraints: { + InclusiveMaximum: 2147483647, + InclusiveMinimum: 0 + }, + type: { + name: 'Number' + } + }, + appliedItemCount: { + required: false, + serializedName: 'appliedItemCount', + constraints: { + InclusiveMaximum: 2147483647, + InclusiveMinimum: 0 + }, + type: { + name: 'Number' + } + }, + totalItemCount: { + required: false, + serializedName: 'totalItemCount', + constraints: { + InclusiveMaximum: 2147483647, + InclusiveMinimum: 0 + }, + type: { + name: 'Number' + } + }, + appliedBytes: { + required: false, + serializedName: 'appliedBytes', + constraints: { + InclusiveMaximum: 2147483647, + InclusiveMinimum: 0 + }, + type: { + name: 'Number' + } + }, + totalBytes: { + required: false, + serializedName: 'totalBytes', + constraints: { + InclusiveMaximum: 2147483647, + InclusiveMinimum: 0 + }, + type: { + name: 'Number' + } + } + } + } + }; + } +} + +module.exports = SyncProgressStatus; diff --git a/lib/services/storagesyncManagement/lib/models/syncSessionStatus.js b/lib/services/storagesyncManagement/lib/models/syncSessionStatus.js new file mode 100644 index 0000000000..57f4fb27e8 --- /dev/null +++ b/lib/services/storagesyncManagement/lib/models/syncSessionStatus.js @@ -0,0 +1,81 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * 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. + */ + +'use strict'; + +/** + * Sync Session status object. + * + */ +class SyncSessionStatus { + /** + * Create a SyncSessionStatus. + * @property {number} [lastSyncResult] Last sync status + * @property {date} [lastSyncTimestamp] Last sync timestamp + * @property {date} [lastSyncSuccessTimestamp] Last sync success timestamp + * @property {number} [lastSyncPerItemErrorCount] Last sync per item error + * count. + */ + constructor() { + } + + /** + * Defines the metadata of SyncSessionStatus + * + * @returns {object} metadata of SyncSessionStatus + * + */ + mapper() { + return { + required: false, + serializedName: 'SyncSessionStatus', + type: { + name: 'Composite', + className: 'SyncSessionStatus', + modelProperties: { + lastSyncResult: { + required: false, + serializedName: 'lastSyncResult', + type: { + name: 'Number' + } + }, + lastSyncTimestamp: { + required: false, + serializedName: 'lastSyncTimestamp', + type: { + name: 'DateTime' + } + }, + lastSyncSuccessTimestamp: { + required: false, + serializedName: 'lastSyncSuccessTimestamp', + type: { + name: 'DateTime' + } + }, + lastSyncPerItemErrorCount: { + required: false, + serializedName: 'lastSyncPerItemErrorCount', + constraints: { + InclusiveMaximum: 2147483647, + InclusiveMinimum: 0 + }, + type: { + name: 'Number' + } + } + } + } + }; + } +} + +module.exports = SyncSessionStatus; diff --git a/lib/services/storagesyncManagement/lib/models/trackedResource.js b/lib/services/storagesyncManagement/lib/models/trackedResource.js index 5c6804d7c8..d74a5106d9 100644 --- a/lib/services/storagesyncManagement/lib/models/trackedResource.js +++ b/lib/services/storagesyncManagement/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 The geo-location where the resource lives + * @property {object} [tags] Resource tags. + * @property {string} location The geo-location where the resource lives */ constructor() { super(); diff --git a/lib/services/storagesyncManagement/lib/models/triggerRolloverRequest.js b/lib/services/storagesyncManagement/lib/models/triggerRolloverRequest.js index 550c7094eb..cc20f0d36d 100644 --- a/lib/services/storagesyncManagement/lib/models/triggerRolloverRequest.js +++ b/lib/services/storagesyncManagement/lib/models/triggerRolloverRequest.js @@ -17,7 +17,7 @@ class TriggerRolloverRequest { /** * Create a TriggerRolloverRequest. - * @member {string} [serverCertificate] Certificate Data + * @property {string} [serverCertificate] Certificate Data */ constructor() { } diff --git a/lib/services/storagesyncManagement/lib/models/workflow.js b/lib/services/storagesyncManagement/lib/models/workflow.js index b6fcb81fed..81dd87ebde 100644 --- a/lib/services/storagesyncManagement/lib/models/workflow.js +++ b/lib/services/storagesyncManagement/lib/models/workflow.js @@ -20,13 +20,13 @@ const models = require('./index'); class Workflow extends models['ProxyResource'] { /** * Create a Workflow. - * @member {string} [lastStepName] last step name - * @member {string} [status] workflow status. Possible values include: + * @property {string} [lastStepName] last step name + * @property {string} [status] workflow status. Possible values include: * 'active', 'expired', 'succeeded', 'aborted', 'failed' - * @member {string} [operation] operation direction. Possible values include: - * 'do', 'undo', 'cancel' - * @member {string} [steps] workflow steps - * @member {string} [lastOperationId] workflow last operation identifier. + * @property {string} [operation] operation direction. Possible values + * include: 'do', 'undo', 'cancel' + * @property {string} [steps] workflow steps + * @property {string} [lastOperationId] workflow last operation identifier. */ constructor() { super(); diff --git a/lib/services/storagesyncManagement/lib/operations/index.d.ts b/lib/services/storagesyncManagement/lib/operations/index.d.ts index 5f7784e7ed..d7f49448d4 100644 --- a/lib/services/storagesyncManagement/lib/operations/index.d.ts +++ b/lib/services/storagesyncManagement/lib/operations/index.d.ts @@ -2261,6 +2261,12 @@ export interface ServerEndpoints { * * @param {string} [parameters.serverResourceId] Server Resource Id. * + * @param {string} [parameters.offlineDataTransfer] Offline data transfer. + * Possible values include: 'on', 'off' + * + * @param {string} [parameters.offlineDataTransferShareName] Offline data + * transfer share name + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2304,6 +2310,12 @@ export interface ServerEndpoints { * * @param {string} [parameters.serverResourceId] Server Resource Id. * + * @param {string} [parameters.offlineDataTransfer] Offline data transfer. + * Possible values include: 'on', 'off' + * + * @param {string} [parameters.offlineDataTransferShareName] Offline data + * transfer share name + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2363,6 +2375,12 @@ export interface ServerEndpoints { * @param {number} [options.parameters.tierFilesOlderThanDays] Tier files older * than days. * + * @param {string} [options.parameters.offlineDataTransfer] Offline data + * transfer. Possible values include: 'on', 'off' + * + * @param {string} [options.parameters.offlineDataTransferShareName] Offline + * data transfer share name + * * @param {object} [options.customHeaders] Headers that will be added to the * request * @@ -2401,6 +2419,12 @@ export interface ServerEndpoints { * @param {number} [options.parameters.tierFilesOlderThanDays] Tier files older * than days. * + * @param {string} [options.parameters.offlineDataTransfer] Offline data + * transfer. Possible values include: 'on', 'off' + * + * @param {string} [options.parameters.offlineDataTransferShareName] Offline + * data transfer share name + * * @param {object} [options.customHeaders] Headers that will be added to the * request * @@ -2640,7 +2664,7 @@ export interface ServerEndpoints { /** - * Recall a serverendpoint. + * Recall a server endpoint. * * @param {string} resourceGroupName The name of the resource group. The name * is case insensitive. @@ -2672,7 +2696,7 @@ export interface ServerEndpoints { recallActionWithHttpOperationResponse(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: models.RecallActionParameters, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Recall a serverendpoint. + * Recall a server endpoint. * * @param {string} resourceGroupName The name of the resource group. The name * is case insensitive. @@ -2751,6 +2775,12 @@ export interface ServerEndpoints { * * @param {string} [parameters.serverResourceId] Server Resource Id. * + * @param {string} [parameters.offlineDataTransfer] Offline data transfer. + * Possible values include: 'on', 'off' + * + * @param {string} [parameters.offlineDataTransferShareName] Offline data + * transfer share name + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2794,6 +2824,12 @@ export interface ServerEndpoints { * * @param {string} [parameters.serverResourceId] Server Resource Id. * + * @param {string} [parameters.offlineDataTransfer] Offline data transfer. + * Possible values include: 'on', 'off' + * + * @param {string} [parameters.offlineDataTransferShareName] Offline data + * transfer share name + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2853,6 +2889,12 @@ export interface ServerEndpoints { * @param {number} [options.parameters.tierFilesOlderThanDays] Tier files older * than days. * + * @param {string} [options.parameters.offlineDataTransfer] Offline data + * transfer. Possible values include: 'on', 'off' + * + * @param {string} [options.parameters.offlineDataTransferShareName] Offline + * data transfer share name + * * @param {object} [options.customHeaders] Headers that will be added to the * request * @@ -2891,6 +2933,12 @@ export interface ServerEndpoints { * @param {number} [options.parameters.tierFilesOlderThanDays] Tier files older * than days. * + * @param {string} [options.parameters.offlineDataTransfer] Offline data + * transfer. Possible values include: 'on', 'off' + * + * @param {string} [options.parameters.offlineDataTransferShareName] Offline + * data transfer share name + * * @param {object} [options.customHeaders] Headers that will be added to the * request * @@ -2992,7 +3040,7 @@ export interface ServerEndpoints { /** - * Recall a serverendpoint. + * Recall a server endpoint. * * @param {string} resourceGroupName The name of the resource group. The name * is case insensitive. @@ -3024,7 +3072,7 @@ export interface ServerEndpoints { beginRecallActionWithHttpOperationResponse(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: models.RecallActionParameters, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Recall a serverendpoint. + * Recall a server endpoint. * * @param {string} resourceGroupName The name of the resource group. The name * is case insensitive. diff --git a/lib/services/storagesyncManagement/lib/operations/serverEndpoints.js b/lib/services/storagesyncManagement/lib/operations/serverEndpoints.js index fd0a566b95..8c1eb2be71 100644 --- a/lib/services/storagesyncManagement/lib/operations/serverEndpoints.js +++ b/lib/services/storagesyncManagement/lib/operations/serverEndpoints.js @@ -45,6 +45,12 @@ const WebResource = msRest.WebResource; * * @param {string} [parameters.serverResourceId] Server Resource Id. * + * @param {string} [parameters.offlineDataTransfer] Offline data transfer. + * Possible values include: 'on', 'off' + * + * @param {string} [parameters.offlineDataTransferShareName] Offline data + * transfer share name + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -143,6 +149,12 @@ function _create(resourceGroupName, storageSyncServiceName, syncGroupName, serve * @param {number} [options.parameters.tierFilesOlderThanDays] Tier files older * than days. * + * @param {string} [options.parameters.offlineDataTransfer] Offline data + * transfer. Possible values include: 'on', 'off' + * + * @param {string} [options.parameters.offlineDataTransferShareName] Offline + * data transfer share name + * * @param {object} [options.customHeaders] Headers that will be added to the * request * @@ -648,7 +660,7 @@ function _listBySyncGroup(resourceGroupName, storageSyncServiceName, syncGroupNa /** - * Recall a serverendpoint. + * Recall a server endpoint. * * @param {string} resourceGroupName The name of the resource group. The name * is case insensitive. @@ -751,6 +763,12 @@ function _recallAction(resourceGroupName, storageSyncServiceName, syncGroupName, * * @param {string} [parameters.serverResourceId] Server Resource Id. * + * @param {string} [parameters.offlineDataTransfer] Offline data transfer. + * Possible values include: 'on', 'off' + * + * @param {string} [parameters.offlineDataTransferShareName] Offline data + * transfer share name + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -968,6 +986,12 @@ function _beginCreate(resourceGroupName, storageSyncServiceName, syncGroupName, * @param {number} [options.parameters.tierFilesOlderThanDays] Tier files older * than days. * + * @param {string} [options.parameters.offlineDataTransfer] Offline data + * transfer. Possible values include: 'on', 'off' + * + * @param {string} [options.parameters.offlineDataTransferShareName] Offline + * data transfer share name + * * @param {object} [options.customHeaders] Headers that will be added to the * request * @@ -1323,7 +1347,7 @@ function _beginDeleteMethod(resourceGroupName, storageSyncServiceName, syncGroup } /** - * Recall a serverendpoint. + * Recall a server endpoint. * * @param {string} resourceGroupName The name of the resource group. The name * is case insensitive. @@ -1563,6 +1587,12 @@ class ServerEndpoints { * * @param {string} [parameters.serverResourceId] Server Resource Id. * + * @param {string} [parameters.offlineDataTransfer] Offline data transfer. + * Possible values include: 'on', 'off' + * + * @param {string} [parameters.offlineDataTransferShareName] Offline data + * transfer share name + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1618,6 +1648,12 @@ class ServerEndpoints { * * @param {string} [parameters.serverResourceId] Server Resource Id. * + * @param {string} [parameters.offlineDataTransfer] Offline data transfer. + * Possible values include: 'on', 'off' + * + * @param {string} [parameters.offlineDataTransferShareName] Offline data + * transfer share name + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -1692,6 +1728,12 @@ class ServerEndpoints { * @param {number} [options.parameters.tierFilesOlderThanDays] Tier files older * than days. * + * @param {string} [options.parameters.offlineDataTransfer] Offline data + * transfer. Possible values include: 'on', 'off' + * + * @param {string} [options.parameters.offlineDataTransferShareName] Offline + * data transfer share name + * * @param {object} [options.customHeaders] Headers that will be added to the * request * @@ -1742,6 +1784,12 @@ class ServerEndpoints { * @param {number} [options.parameters.tierFilesOlderThanDays] Tier files older * than days. * + * @param {string} [options.parameters.offlineDataTransfer] Offline data + * transfer. Possible values include: 'on', 'off' + * + * @param {string} [options.parameters.offlineDataTransferShareName] Offline + * data transfer share name + * * @param {object} [options.customHeaders] Headers that will be added to the * request * @@ -2077,7 +2125,7 @@ class ServerEndpoints { } /** - * Recall a serverendpoint. + * Recall a server endpoint. * * @param {string} resourceGroupName The name of the resource group. The name * is case insensitive. @@ -2121,7 +2169,7 @@ class ServerEndpoints { } /** - * Recall a serverendpoint. + * Recall a server endpoint. * * @param {string} resourceGroupName The name of the resource group. The name * is case insensitive. @@ -2215,6 +2263,12 @@ class ServerEndpoints { * * @param {string} [parameters.serverResourceId] Server Resource Id. * + * @param {string} [parameters.offlineDataTransfer] Offline data transfer. + * Possible values include: 'on', 'off' + * + * @param {string} [parameters.offlineDataTransferShareName] Offline data + * transfer share name + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2270,6 +2324,12 @@ class ServerEndpoints { * * @param {string} [parameters.serverResourceId] Server Resource Id. * + * @param {string} [parameters.offlineDataTransfer] Offline data transfer. + * Possible values include: 'on', 'off' + * + * @param {string} [parameters.offlineDataTransferShareName] Offline data + * transfer share name + * * @param {object} [options] Optional Parameters. * * @param {object} [options.customHeaders] Headers that will be added to the @@ -2344,6 +2404,12 @@ class ServerEndpoints { * @param {number} [options.parameters.tierFilesOlderThanDays] Tier files older * than days. * + * @param {string} [options.parameters.offlineDataTransfer] Offline data + * transfer. Possible values include: 'on', 'off' + * + * @param {string} [options.parameters.offlineDataTransferShareName] Offline + * data transfer share name + * * @param {object} [options.customHeaders] Headers that will be added to the * request * @@ -2394,6 +2460,12 @@ class ServerEndpoints { * @param {number} [options.parameters.tierFilesOlderThanDays] Tier files older * than days. * + * @param {string} [options.parameters.offlineDataTransfer] Offline data + * transfer. Possible values include: 'on', 'off' + * + * @param {string} [options.parameters.offlineDataTransferShareName] Offline + * data transfer share name + * * @param {object} [options.customHeaders] Headers that will be added to the * request * @@ -2537,7 +2609,7 @@ class ServerEndpoints { } /** - * Recall a serverendpoint. + * Recall a server endpoint. * * @param {string} resourceGroupName The name of the resource group. The name * is case insensitive. @@ -2581,7 +2653,7 @@ class ServerEndpoints { } /** - * Recall a serverendpoint. + * Recall a server endpoint. * * @param {string} resourceGroupName The name of the resource group. The name * is case insensitive. diff --git a/lib/services/storagesyncManagement/lib/storageSyncManagementClient.js b/lib/services/storagesyncManagement/lib/storageSyncManagementClient.js index 092c1b3228..c2d19694f9 100644 --- a/lib/services/storagesyncManagement/lib/storageSyncManagementClient.js +++ b/lib/services/storagesyncManagement/lib/storageSyncManagementClient.js @@ -50,7 +50,7 @@ class StorageSyncManagementClient extends ServiceClient { super(credentials, options); - this.apiVersion = '2018-07-01'; + this.apiVersion = '2018-10-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.generateClientRequestId = true; diff --git a/lib/services/storagesyncManagement/package.json b/lib/services/storagesyncManagement/package.json index 02c30991cb..7678db0b5e 100644 --- a/lib/services/storagesyncManagement/package.json +++ b/lib/services/storagesyncManagement/package.json @@ -2,7 +2,7 @@ "name": "azure-arm-storagesync", "author": "Microsoft Corporation", "description": "StorageSyncManagementClient Library with typescript type definitions for node", - "version": "6.1.0", + "version": "6.2.0", "dependencies": { "ms-rest": "^2.3.3", "ms-rest-azure": "^2.5.5" @@ -22,4 +22,4 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-node/issues" } -} \ No newline at end of file +}