Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/services/storagesyncManagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
13 changes: 7 additions & 6 deletions lib/services/storagesyncManagement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class BackupRequest {
/**
* Create a BackupRequest.
* @member {string} [azureFileShare] Azure File Share.
* @property {string} [azureFileShare] Azure File Share.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
20 changes: 10 additions & 10 deletions lib/services/storagesyncManagement/lib/models/cloudEndpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -112,7 +112,7 @@ class CloudEndpoint extends models['ProxyResource'] {
readOnly: true,
serializedName: 'properties.backupEnabled',
type: {
name: 'Boolean'
name: 'String'
}
},
provisioningState: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Loading