You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, as part of my audit tooling, I've been extending it into the LA service as we launch them.
calling ListLabelPriorities is failing at the output level, before any form of JSON conversion etc.
Both calls fail:
var request = new ListLabelPrioritiesRequest() { NamespaceName = namespaceName };
call type 1
var response = _client.Paginators.ListLabelPrioritiesResponseEnumerator(request);
call type 2
var response = _client.ListLabelPriorities(request);
So code does not pass beyond either of those call formats.
Inner Exception 2:
JsonSerializationException: Error converting value "NONE" to type 'Oci.LoganalyticsService.Models.LabelPriority'. Path 'items[0]', line 1, position 16.
Inner Exception 3:
ArgumentException: Could not cast or convert from System.String to Oci.LoganalyticsService.Models.LabelPriority.
via CLI
oci log-analytics label list-label-priorities --namespace-name --profile
@jbcintra
This looks like an issue with the service response at initial glance. We will reach out to the Log Analytics team to further investigate this issue.
Hi, as part of my audit tooling, I've been extending it into the LA service as we launch them.
calling ListLabelPriorities is failing at the output level, before any form of JSON conversion etc.
Both calls fail:
var request = new ListLabelPrioritiesRequest() { NamespaceName = namespaceName };
So code does not pass beyond either of those call formats.
Inner Exception 2:
JsonSerializationException: Error converting value "NONE" to type 'Oci.LoganalyticsService.Models.LabelPriority'. Path 'items[0]', line 1, position 16.
Inner Exception 3:
ArgumentException: Could not cast or convert from System.String to Oci.LoganalyticsService.Models.LabelPriority.
via CLI
oci log-analytics label list-label-priorities --namespace-name --profile
returns ...
{
"data": {
"items": [
{
"priority": null
},
{
"priority": null
},
{
"priority": null
},
{
"priority": null
}
]
}
}
The text was updated successfully, but these errors were encountered: