Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change payload-flattening-threshold from 2 to 1 #3758

Merged
merged 3 commits into from
Aug 29, 2018
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 @@ -2429,27 +2429,6 @@
}
}
},
"Resource": {
"description": "The Azure Resource Manager resource.",
"properties": {
"id": {
"description": "The id of the resource.",
"readOnly": true,
"type": "string"
},
"name": {
"description": "The name of the resource.",
"readOnly": true,
"type": "string"
},
"type": {
"description": "The type of the resource",
"readOnly": true,
"type": "string"
}
},
"x-ms-azure-resource": true
},
"SubscriptionState": {
"type": "object",
"description": "Subscription State object.",
Expand Down Expand Up @@ -2487,56 +2466,47 @@
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
},
{
"properties": {
}
],
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/StorageSyncServiceProperties",
"description": "Storage Sync Service properties."
}
}
}
],
"x-ms-azure-resource": true
}
},
"SyncGroup": {
"type": "object",
"description": "Sync Group object.",
"allOf": [
{
"$ref": "#/definitions/Resource"
},
{
"properties": {
"properties": {
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
}
],
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/SyncGroupProperties",
"description": "SyncGroup properties."
}
}
}
],
"x-ms-azure-resource": true
}
}
},
"CloudEndpoint": {
"type": "object",
"description": "Cloud Endpoint object.",
"allOf": [
{
"$ref": "#/definitions/Resource"
},
{
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/CloudEndpointProperties",
"description": "Cloud Endpoint properties."
}
}
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
}
],
"x-ms-azure-resource": true
],
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/CloudEndpointProperties",
"description": "Cloud Endpoint properties."
}
}
},
"ServerEndpointUpdateParameters": {
"properties": {
Expand All @@ -2560,19 +2530,16 @@
"description": "Server Endpoint object.",
"allOf": [
{
"$ref": "#/definitions/Resource"
},
{
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/ServerEndpointProperties",
"description": "Server Endpoint properties."
}
}
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
}
],
"x-ms-azure-resource": true
],
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/ServerEndpointProperties",
"description": "Server Endpoint properties."
}
}
},
"RegisteredServer": {
"type": "object",
Expand Down Expand Up @@ -2623,19 +2590,16 @@
"description": "Workflow resource.",
"allOf": [
{
"$ref": "#/definitions/Resource"
},
{
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/WorkflowProperties",
"description": "Workflow properties."
}
}
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
}
],
"x-ms-azure-resource": true
],
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/WorkflowProperties",
"description": "Workflow properties."
}
}
},
"OperationEntityListResult": {
"description": "The list of storage sync operations.",
Expand Down
2 changes: 1 addition & 1 deletion specification/storagesync/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.StorageSync
payload-flattening-threshold: 2
sergey-shandar marked this conversation as resolved.
Show resolved Hide resolved
payload-flattening-threshold: 1
output-folder: $(csharp-sdks-folder)/StorageSync/Management.StorageSync/Generated
clear-output-folder: true
```
Expand Down