diff --git a/lib/services/storagesyncManagement/lib/models/index.d.ts b/lib/services/storagesyncManagement/lib/models/index.d.ts index 32628dbc8a..a837844aca 100644 --- a/lib/services/storagesyncManagement/lib/models/index.d.ts +++ b/lib/services/storagesyncManagement/lib/models/index.d.ts @@ -1,755 +1,805 @@ /* * 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. - * - * @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. */ 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 - * - * @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. */ 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 - * - * @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. - * @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. */ 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. - * - * @property {string} [state] State of Azure Subscription. Possible values - * include: 'Registered', 'Unregistered', 'Warned', 'Suspended', 'Deleted' - * @property {boolean} [istransitioning] Is Transitioning - * @property {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 - * @property {string} [id] Fully qualified resource Id for the resource. Ex - - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - * @property {string} [name] The name of the resource - * @property {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 - * - * @property {object} [tags] Resource tags. - * @property {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. - * - * @property {number} [storageSyncServiceStatus] Storage Sync service status. - * @property {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. - * - * @property {string} [uniqueId] Unique Id - * @property {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. - * - * @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 {boolean} [backupEnabled] Backup Enabled - * @property {string} [provisioningState] CloudEndpoint Provisioning State - * @property {string} [lastWorkflowId] CloudEndpoint lastWorkflowId - * @property {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; + /** + * Backup Enabled + */ readonly backupEnabled?: boolean; + /** + * 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. - * - * @property {string} [pattern] Pattern of the files. - * @property {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. - * - * @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. - * @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. - * @property {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. - * - * @property {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. - * - * @property {string} [storageAccountResourceId] Storage Account Resource Id - * @property {string} [storageAccountShareName] Storage Account Share name - * @property {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. - * - * @property {string} [serverLocalPath] Server Local path. - * @property {string} [cloudTiering] Cloud Tiering. Possible values include: - * 'on', 'off' - * @property {number} [volumeFreeSpacePercent] Level of free space to be - * maintained by Cloud Tiering if it is enabled. - * @property {number} [tierFilesOlderThanDays] Tier files older than days. - * @property {string} [friendlyName] Friendly Name - * @property {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; } /** - * @class - * Initializes a new instance of the TriggerRolloverRequest class. - * @constructor * Trigger Rollover Request. - * - * @property {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. - * - * @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 - */ +*/ 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. - * - * @property {string} [cloudTiering] Cloud Tiering. Possible values include: - * 'on', 'off' - * @property {number} [volumeFreeSpacePercent] Level of free space to be - * maintained by Cloud Tiering if it is enabled. - * @property {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; } /** - * @class - * Initializes a new instance of the ServerEndpoint class. - * @constructor * Server Endpoint object. - * - * @property {string} [serverLocalPath] Server Local path. - * @property {string} [cloudTiering] Cloud Tiering. Possible values include: - * 'on', 'off' - * @property {number} [volumeFreeSpacePercent] Level of free space to be - * maintained by Cloud Tiering if it is enabled. - * @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] 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; + /** + * Sync Health Status + */ syncStatus?: any; } /** - * @class - * Initializes a new instance of the RegisteredServer class. - * @constructor * Registered Server resource. - * - * @property {string} [serverCertificate] Registered Server Certificate - * @property {string} [agentVersion] Registered Server Agent Version - * @property {string} [serverOSVersion] Registered Server OS Version - * @property {number} [serverManagementtErrorCode] 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 - * @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 - */ +*/ export interface RegisteredServer extends ProxyResource { + /** + * Registered Server Certificate + */ serverCertificate?: string; + /** + * Registered Server Agent Version + */ agentVersion?: string; + /** + * Registered Server OS Version + */ serverOSVersion?: string; + /** + * Registered Server Management Error Code + */ serverManagementtErrorCode?: 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. - * - * @property {string} [targetResourceGroup] Target resource group. - * @property {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. - * - * @property {string} [lastStepName] last step name - * @property {string} [status] workflow status. Possible values include: - * 'active', 'expired', 'succeeded', 'aborted', 'failed' - * @property {string} [operation] operation direction. Possible values include: - * 'do', 'undo', 'cancel' - * @property {string} [steps] workflow steps - * @property {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. - * - * @property {string} [description] The description of the operation. - * @property {string} [operation] The action that users can perform, based on - * their permission level. - * @property {string} [provider] Service provider: Microsoft StorageSync. - * @property {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. - * - * @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. - * @property {string} [display.provider] Service provider: Microsoft - * StorageSync. - * @property {string} [display.resource] Resource on which the operation is - * performed. - * @property {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. - * - * @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. - */ +*/ 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. - * - * @property {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. - * - * @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. - * @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. - */ +*/ 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. - * - * @property {string} [path] Restore file spec path - * @property {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 - * - * @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. - */ +*/ 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. - * - * @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. - * @property {array} [restoreFileSpec] Pre Restore restore file spec array. - * @property {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 - * - * @property {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 - * - * @property {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. - * - * @property {object} [tags] The user-specified tags associated with the - * storage sync service. - * @property {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. - * - * @property {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. - * - * @property {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 { }