Skip to content

Commit

Permalink
Adding flag to support non-dynamic destination types while exporting …
Browse files Browse the repository at this point in the history
…to LogAnalytics. Adding new metric units. Fixing some documentation issues. (#6454)

* [Monitor] Make all attributes of EventData class readonly (#2254)

* [Monitor] Fixing issue with metricnamespace specification as client level argument #2565

* [Monitor] Fixing incorrect specification of top parameter for Metrics API (#2655)

* Add two missing "by subscription" operations.

* Remove "examples" nodes as requested since they are not used anymore. Adding documentation to reduce number of warnings in validation.

* Add the serviceBusRuleId back into the DiagnosticSetting resource spec.

* Fix some issues with the examples

* [Monitor] Fix issue #3585: revert previous commit since it is a breaking change

* Add unit "BitsPerSecond" to the metrics specs.

* Fixing workspace Id documentation

* Add the Log Analytics destination type flag to the Diagnostic Settings objects

* Fix a typo in a description
  • Loading branch information
gucalder authored and sarangan12 committed Jun 26, 2019
1 parent 445b403 commit 45bede9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,18 +297,22 @@
"items": {
"$ref": "#/definitions/MetricSettings"
},
"description": "the list of metric settings."
"description": "The list of metric settings."
},
"logs": {
"type": "array",
"items": {
"$ref": "#/definitions/LogSettings"
},
"description": "the list of logs settings."
"description": "The list of logs settings."
},
"workspaceId": {
"type": "string",
"description": "The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2"
"description": "The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2"
},
"logAnalyticsDestinationType": {
"type": "string",
"description": "A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.)"
}
},
"description": "The diagnostic settings."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"days":0
}
}
]
],
"logAnalyticsDestinationType":"Dedicated"
}
}
},
Expand Down Expand Up @@ -63,7 +64,8 @@
"days":0
}
}
]
],
"logAnalyticsDestinationType":"Dedicated"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@
"Percent",
"MilliSeconds",
"ByteSeconds",
"Unspecified"
"Unspecified",
"Cores",
"MilliCores",
"NanoCores",
"BitsPerSecond"
],
"x-ms-enum": {
"name": "Unit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@
"Percent",
"MilliSeconds",
"ByteSeconds",
"Unspecified"
"Unspecified",
"Cores",
"MilliCores",
"NanoCores",
"BitsPerSecond"
],
"x-ms-enum": {
"name": "Unit",
Expand Down

0 comments on commit 45bede9

Please sign in to comment.