|
291 | 291 | "final-state-via": "azure-async-operation"
|
292 | 292 | }
|
293 | 293 | }
|
| 294 | + }, |
| 295 | + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}/migrate": { |
| 296 | + "post": { |
| 297 | + "tags": [ |
| 298 | + "Tables" |
| 299 | + ], |
| 300 | + "x-ms-examples": { |
| 301 | + "TablesGet": { |
| 302 | + "$ref": "./examples/TablesMigrate.json" |
| 303 | + } |
| 304 | + }, |
| 305 | + "operationId": "Tables_Migrate", |
| 306 | + "description": "Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.", |
| 307 | + "parameters": [ |
| 308 | + { |
| 309 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" |
| 310 | + }, |
| 311 | + { |
| 312 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" |
| 313 | + }, |
| 314 | + { |
| 315 | + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" |
| 316 | + }, |
| 317 | + { |
| 318 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" |
| 319 | + }, |
| 320 | + { |
| 321 | + "$ref": "#/parameters/TableNameParameter" |
| 322 | + } |
| 323 | + ], |
| 324 | + "responses": { |
| 325 | + "200": { |
| 326 | + "description": "OK response definition." |
| 327 | + }, |
| 328 | + "default": { |
| 329 | + "description": "Error response describing why the operation failed.", |
| 330 | + "schema": { |
| 331 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" |
| 332 | + } |
| 333 | + } |
| 334 | + } |
| 335 | + } |
294 | 336 | }
|
295 | 337 | },
|
296 | 338 | "definitions": {
|
|
532 | 574 | },
|
533 | 575 | "description": {
|
534 | 576 | "type": "string",
|
535 |
| - "description": "Search results table's Description." |
| 577 | + "description": "Search job Description." |
536 | 578 | },
|
537 | 579 | "limit": {
|
538 | 580 | "type": "integer",
|
|
552 | 594 | "sourceTable": {
|
553 | 595 | "readOnly": true,
|
554 | 596 | "type": "string",
|
555 |
| - "description": "The table to search data from." |
| 597 | + "description": "The table used in the search job." |
556 | 598 | }
|
557 | 599 | },
|
558 | 600 | "description": "Parameters of the search job that initiated this table."
|
|
571 | 613 | "description": "The timestamp to end the restore by (UTC)."
|
572 | 614 | },
|
573 | 615 | "sourceTable": {
|
574 |
| - "readOnly": true, |
575 | 616 | "type": "string",
|
576 | 617 | "description": "The table to restore data from."
|
577 | 618 | }
|
|
604 | 645 | "format": "int32",
|
605 | 646 | "minimum": 4,
|
606 | 647 | "maximum": 730,
|
607 |
| - "description": "The data table data retention in days, between 4 and 730. Setting this property to null will default to the workspace retention." |
| 648 | + "description": "The table retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention." |
608 | 649 | },
|
609 | 650 | "totalRetentionInDays": {
|
610 | 651 | "type": "integer",
|
611 | 652 | "format": "int32",
|
612 | 653 | "minimum": 4,
|
613 | 654 | "maximum": 2555,
|
614 |
| - "description": "The table data total retention in days, between 4 and 2555. Setting this property to null will default to table retention." |
| 655 | + "description": "The table total retention in days, between 4 and 2555. Setting this property to -1 will default to table retention." |
615 | 656 | },
|
616 | 657 | "archiveRetentionInDays": {
|
617 | 658 | "readOnly": true,
|
|
633 | 674 | },
|
634 | 675 | "plan": {
|
635 | 676 | "type": "string",
|
636 |
| - "description": "The table plan.", |
| 677 | + "description": "Instruct the system how to handle and charge the logs ingested to this table.", |
637 | 678 | "enum": [
|
638 | 679 | "Basic",
|
639 | 680 | "Analytics"
|
|
644 | 685 | "values": [
|
645 | 686 | {
|
646 | 687 | "value": "Basic",
|
647 |
| - "description": "Basic - logs that are adjusted to support high volume / low value verbose logs." |
| 688 | + "description": "Logs that are adjusted to support high volume low value verbose logs." |
648 | 689 | },
|
649 | 690 | {
|
650 | 691 | "value": "Analytics",
|
651 |
| - "description": "Analytics - logs that allow monitoring and analytics." |
| 692 | + "description": "Logs that allow monitoring and analytics." |
652 | 693 | }
|
653 | 694 | ]
|
654 | 695 | }
|
|
0 commit comments