Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -3416,7 +3416,8 @@
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "Level of free space to be maintained by Cloud Tiering if it is enabled."
"description": "Level of free space to be maintained by Cloud Tiering if it is enabled.",
"default": 20
},
"tierFilesOlderThanDays": {
"type": "integer",
Expand All @@ -3442,15 +3443,18 @@
},
"initialDownloadPolicy": {
"$ref": "#/definitions/InitialDownloadPolicy",
"description": "Policy for how namespace and files are recalled during FastDr."
"description": "Policy for how namespace and files are recalled during FastDr.",
"default": "NamespaceThenModifiedFiles"
},
"localCacheMode": {
"$ref": "#/definitions/LocalCacheMode",
"description": "Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access."
"description": "Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access.",
"default": "UpdateLocallyCachedFiles"
},
"initialUploadPolicy": {
"$ref": "#/definitions/InitialUploadPolicy",
"description": "Policy for how the initial upload sync session is performed."
"description": "Policy for how the initial upload sync session is performed.",
"default": "Merge"
}
}
},
Expand Down Expand Up @@ -4101,28 +4105,23 @@
"properties": {
"lastStepName": {
"type": "string",
"description": "last step name",
"readOnly": true
"description": "last step name"
},
"status": {
"$ref": "#/definitions/WorkflowStatus",
"description": "workflow status.",
"readOnly": true
"description": "workflow status."
},
"operation": {
"$ref": "#/definitions/OperationDirection",
"description": "operation direction.",
"readOnly": true
"description": "operation direction."
},
"steps": {
"type": "string",
"description": "workflow steps",
"readOnly": true
"description": "workflow steps"
},
"lastOperationId": {
"type": "string",
"description": "workflow last operation identifier.",
"readOnly": true
"description": "workflow last operation identifier."
},
"commandName": {
"type": "string",
Expand Down Expand Up @@ -4188,19 +4187,15 @@
},
"serverManagementErrorCode": {
"type": "integer",
"description": "Registered Server Management Error Code",
"readOnly": true
"description": "Registered Server Management Error Code"
},
"lastHeartBeat": {
"type": "string",
"format": "date-time",
"description": "Registered Server last heart beat",
"readOnly": true
"description": "Registered Server last heart beat"
},
"provisioningState": {
"type": "string",
"description": "Registered Server Provisioning State",
"readOnly": true
"description": "Registered Server Provisioning State"
},
"serverRole": {
"type": "string",
Expand All @@ -4220,52 +4215,43 @@
},
"storageSyncServiceUid": {
"type": "string",
"description": "Registered Server storageSyncServiceUid",
"readOnly": true
"description": "Registered Server storageSyncServiceUid"
},
"lastWorkflowId": {
"type": "string",
"description": "Registered Server lastWorkflowId",
"readOnly": true
"description": "Registered Server lastWorkflowId"
},
"lastOperationName": {
"type": "string",
"description": "Resource Last Operation Name",
"readOnly": true
"description": "Resource Last Operation Name"
},
"discoveryEndpointUri": {
"type": "string",
"description": "Resource discoveryEndpointUri",
"readOnly": true
"description": "Resource discoveryEndpointUri"
},
"resourceLocation": {
"type": "string",
"description": "Resource Location",
"readOnly": true
"description": "Resource Location"
},
"serviceLocation": {
"type": "string",
"description": "Service Location",
"readOnly": true
"description": "Service Location"
},
"friendlyName": {
"type": "string",
"description": "Friendly Name"
},
"managementEndpointUri": {
"type": "string",
"description": "Management Endpoint Uri",
"readOnly": true
"description": "Management Endpoint Uri"
},
"monitoringEndpointUri": {
"type": "string",
"description": "Telemetry Endpoint Uri",
"readOnly": true
"description": "Telemetry Endpoint Uri"
},
"monitoringConfiguration": {
"type": "string",
"description": "Monitoring Configuration",
"readOnly": true
"description": "Monitoring Configuration"
},
"serverName": {
"type": "string",
Expand Down Expand Up @@ -5414,4 +5400,4 @@
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output-folder: $(azureresourceschema-folder)/schemas

# all the input files in this apiVersion
input-file:
- Microsoft.StorageSync/preview/2020-09-01/storagesync.json
- Microsoft.StorageSync/stable/2020-09-01/storagesync.json

```

Expand Down
10 changes: 10 additions & 0 deletions specification/storagesync/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ go:

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-09-01
- tag: package-2020-03-01
- tag: package-2019-10-01
- tag: package-2019-06-01
Expand All @@ -22,6 +23,15 @@ batch:
- tag: package-2018-04-02
```

### Tag: package-2020-09-01 and go

These settings apply only when `--tag=package-2020-09-01 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2020-09-01' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-09-01/$(namespace)
```

### Tag: package-2020-03-01 and go

These settings apply only when `--tag=package-2020-03-01 --go` is specified on the command line.
Expand Down
38 changes: 32 additions & 6 deletions specification/storagesync/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ These are the global settings for the Storage Sync API.

``` yaml
openapi-type: arm
tag: package-preview-2020-09-01
tag: package-2020-09-01
```


### Tag: package-preview-2020-09-01
### Tag: package-2020-09-01

These settings apply only when `--tag=package-preview-2020-09-01` is specified on the command line.
These settings apply only when `--tag=package-2020-09-01` is specified on the command line.

```yaml $(tag) == 'package-preview-2020-09-01'
```yaml $(tag) == 'package-2020-09-01'
input-file:
- Microsoft.StorageSync/preview/2020-09-01/storagesync.json
- Microsoft.StorageSync/stable/2020-09-01/storagesync.json
```
### Tag: package-2020-03-01

Expand Down Expand Up @@ -160,7 +160,33 @@ csharp:

## Python

See configuration in [readme.python.md](./readme.python.md)
These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python)
python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.storagesync
package-name: azure-mgmt-storagesync
package-version: 1.0.0
clear-output-folder: true
```

``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync/azure/mgmt/storagesync
```

``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync
```

## Go

Expand Down
11 changes: 11 additions & 0 deletions specification/storagesync/resource-manager/readme.ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,24 @@ azure-arm: true

``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-2020-09-01
- tag: package-2020-03-01
- tag: package-2019-02-01
- tag: package-2018-10-01
- tag: package-2018-07-01
- tag: package-2018-04-02
```

### Tag: package-2020-09-01 and ruby

These settings apply only when `--tag=package-2020-09-01 --ruby` is specified on the command line.
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.

``` yaml $(tag) == 'package-2020-09-01' && $(ruby)
namespace: "Azure::StorageSync::Mgmt::V2020_09_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_storagesync_management/lib
```

### Tag: package-2020-03-01 and ruby

These settings apply only when `--tag=package-2020-03-01 --ruby` is specified on the command line.
Expand Down