Uses of Class
com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettings
Packages that use DiagnosticSettings
Package
Description
Package containing the inner data models for MonitorClient.
-
Uses of DiagnosticSettings in com.azure.resourcemanager.monitor.fluent.models
Methods in com.azure.resourcemanager.monitor.fluent.models that return DiagnosticSettingsModifier and TypeMethodDescriptionstatic DiagnosticSettings
DiagnosticSettings.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DiagnosticSettings from the JsonReader.DiagnosticSettings.withEventHubAuthorizationRuleId
(String eventHubAuthorizationRuleId) Set the eventHubAuthorizationRuleId property: The resource Id for the event hub authorization rule.DiagnosticSettings.withEventHubName
(String eventHubName) Set the eventHubName property: The name of the event hub.DiagnosticSettings.withLogAnalyticsDestinationType
(String logAnalyticsDestinationType) Set the logAnalyticsDestinationType property: A string indicating whether the export to Log Analytics should use the default destination type, i.e.DiagnosticSettings.withLogs
(List<LogSettings> logs) Set the logs property: The list of logs settings.DiagnosticSettings.withMarketplacePartnerId
(String marketplacePartnerId) Set the marketplacePartnerId property: The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.DiagnosticSettings.withMetrics
(List<MetricSettings> metrics) Set the metrics property: The list of metric settings.DiagnosticSettings.withServiceBusRuleId
(String serviceBusRuleId) Set the serviceBusRuleId property: The service bus rule Id of the diagnostic setting.DiagnosticSettings.withStorageAccountId
(String storageAccountId) Set the storageAccountId property: The resource ID of the storage account to which you would like to send Diagnostic Logs.DiagnosticSettings.withWorkspaceId
(String workspaceId) Set the workspaceId property: The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs.