Skip to content

Commit

Permalink
removed systemData from Table API (#12103)
Browse files Browse the repository at this point in the history
* added3 new properties to TableProperties:
IsTroubleshootingAllowed, IsTroubleshootingEnabled, IsTroubleshootingEnabledLastActivation.

* added Tables new api version

* changed bool to boolean types

* prettified jsons

* fix erroes in swagger

* undo changes to 2020-03-01-preview version

* pr fixes

* updated TableUpdate example

* changed lastTroubleshootDate from date format to string, removed isTroubleshootingAllowed from body of example

* changed v1 to v2

* changed WorkspaceNameParameter back to V1

* changed ErrorResponse to default ErrorResponse without ref to local definition

* added systemData

* removed systemData

* added systemData to Patch and Get

* moved systemData to Table properties

* deleted systemData from Table.json, added to Get and Put examles

* changed location of systemData in Tables.json

* moved systemData to inside Table definition

* moved systemData inside Table properties

* removed SystemData
  • Loading branch information
dabenhamMic authored Dec 14, 2020
1 parent dbb0a6f commit 7a9a26f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,6 @@
"x-ms-client-flatten": true,
"$ref": "#/definitions/TableProperties",
"description": "Table properties."
},
"systemData": {
"description": "The system metadata relating to this resource.",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
},
"allOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,7 @@
"lastTroubleshootDate": "Thu, 19 Nov 2020 07:40:51 GMT"
},
"id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table1",
"name": "table1",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
}
"name": "table1"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,7 @@
"isTroubleshootEnabled": true
},
"id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/table1",
"name": "table1",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
}
"name": "table1"
}
}
}
Expand Down

0 comments on commit 7a9a26f

Please sign in to comment.