| Package | Description |
|---|---|
| com.azure.resourcemanager.monitor.fluent |
Package containing the service clients for MonitorClient.
|
| com.azure.resourcemanager.monitor.fluent.models |
Package containing the inner data models for MonitorClient.
|
| Modifier and Type | Method and Description |
|---|---|
DiagnosticSettingsResourceInner |
DiagnosticSettingsClient.createOrUpdate(String resourceUri,
String name,
DiagnosticSettingsResourceInner parameters)
Creates or updates diagnostic settings for the specified resource.
|
DiagnosticSettingsResourceInner |
DiagnosticSettingsClient.get(String resourceUri,
String name)
Gets the active diagnostic settings for the specified resource.
|
| Modifier and Type | Method and Description |
|---|---|
DiagnosticSettingsResourceInner |
DiagnosticSettingsClient.createOrUpdate(String resourceUri,
String name,
DiagnosticSettingsResourceInner parameters)
Creates or updates diagnostic settings for the specified resource.
|
Mono<DiagnosticSettingsResourceInner> |
DiagnosticSettingsClient.createOrUpdateAsync(String resourceUri,
String name,
DiagnosticSettingsResourceInner parameters)
Creates or updates diagnostic settings for the specified resource.
|
com.azure.core.http.rest.Response<DiagnosticSettingsResourceInner> |
DiagnosticSettingsClient.createOrUpdateWithResponse(String resourceUri,
String name,
DiagnosticSettingsResourceInner parameters,
com.azure.core.util.Context context)
Creates or updates diagnostic settings for the specified resource.
|
Mono<com.azure.core.http.rest.Response<DiagnosticSettingsResourceInner>> |
DiagnosticSettingsClient.createOrUpdateWithResponseAsync(String resourceUri,
String name,
DiagnosticSettingsResourceInner parameters)
Creates or updates diagnostic settings for the specified resource.
|
| Modifier and Type | Method and Description |
|---|---|
DiagnosticSettingsResourceInner |
DiagnosticSettingsResourceInner.withEventHubAuthorizationRuleId(String eventHubAuthorizationRuleId)
Set the eventHubAuthorizationRuleId property: The resource Id for the event hub authorization rule.
|
DiagnosticSettingsResourceInner |
DiagnosticSettingsResourceInner.withEventHubName(String eventHubName)
Set the eventHubName property: The name of the event hub.
|
DiagnosticSettingsResourceInner |
DiagnosticSettingsResourceInner.withLogAnalyticsDestinationType(String logAnalyticsDestinationType)
Set the logAnalyticsDestinationType property: A string indicating whether the export to Log Analytics should use
the default destination type, i.e.
|
DiagnosticSettingsResourceInner |
DiagnosticSettingsResourceInner.withLogs(List<LogSettings> logs)
Set the logs property: The list of logs settings.
|
DiagnosticSettingsResourceInner |
DiagnosticSettingsResourceInner.withMetrics(List<MetricSettings> metrics)
Set the metrics property: The list of metric settings.
|
DiagnosticSettingsResourceInner |
DiagnosticSettingsResourceInner.withServiceBusRuleId(String serviceBusRuleId)
Set the serviceBusRuleId property: The service bus rule Id of the diagnostic setting.
|
DiagnosticSettingsResourceInner |
DiagnosticSettingsResourceInner.withStorageAccountId(String storageAccountId)
Set the storageAccountId property: The resource ID of the storage account to which you would like to send
Diagnostic Logs.
|
DiagnosticSettingsResourceInner |
DiagnosticSettingsResourceInner.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.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.