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

adding partitionkeyProperty to environmentInfo #5

Merged
merged 2 commits into from
Apr 13, 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 @@ -10,7 +10,13 @@
"capacity": 1
},
"properties": {
"dataRetentionTime": "P31D"
"dataRetentionTime": "P31D",
"partitionKeyProperties": [
{
"name": "DeviceId1",
"type": "String"
}
]
}
},
"api-version": "2017-11-15"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@
"creationTime": "2017-04-18T19:20:33.2288820Z",
"storageLimitExceededBehavior": "PurgeOldData",
"dataAccessId": "<dataAccessId>",
"dataAccessFqdn": "<dataAccessIdFqdn>"
"dataAccessFqdn": "<dataAccessIdFqdn>",
"partitionKeyProperties": [
{
"name": "DeviceId1",
"type": "String"
}
]
},
"sku": {
"name": "S1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"provisioningState": "Succeeded",
"creationTime": "2017-04-18T19:20:33.2288820Z",
"storageLimitExceededBehavior": "PurgeOldData",
"partitionKeyProperties": [
{
"name": "DeviceId1",
"type": "String"
}
],
"dataAccessId": "<dataAccessId>",
"dataAccessFqdn": "<dataAccessIdFqdn>",
"status": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,13 @@
"name": "StorageLimitExceededBehavior",
"modelAsString": false
}
},
"partitionKeyProperties": {
"type": "array",
"items": {
"$ref": "#/definitions/PartitionKeyProperty"
},
"description": "The list of partition keys according to which the data in the environment will be ordered."
}
},
"required": [
Expand Down Expand Up @@ -1365,9 +1372,36 @@
"name": "StorageLimitExceededBehavior",
"modelAsString": false
}
},
"partitionKeyProperties": {
"type": "array",
"items": {
"$ref": "#/definitions/PartitionKeyProperty"
},
"description": "The list of event properties which will be used to partition data in the environment."
}
}
},
"PartitionKeyProperty": {
"properties": {
"name": {
"type": "string",
"description": "The name of the property."
},
"type": {
"type": "string",
"description": "The type of the property.",
"enum": [
"String"
],
"x-ms-enum": {
"name": "PropertyType",
"modelAsString": false
}
}
},
"description": "The structure of the property that a partition key can have. An environment can have multiple such properties."
},
"EnvironmentStatus": {
"readOnly": true,
"type": "object",
Expand Down