public static interface DiagnosticSetting.DefinitionStages.WithDiagnosticLogRecipient
| Modifier and Type | Method and Description |
|---|---|
DiagnosticSetting.DefinitionStages.WithCreate |
withEventHub(String eventHubAuthorizationRuleId)
Sets EventHub Namespace Authorization Rule for data transfer.
|
DiagnosticSetting.DefinitionStages.WithCreate |
withEventHub(String eventHubAuthorizationRuleId,
String eventHubName)
Sets EventHub Namespace Authorization Rule for data transfer.
|
DiagnosticSetting.DefinitionStages.WithCreate |
withLogAnalytics(String workspaceId)
Sets Log Analytics workspace for data transfer.
|
DiagnosticSetting.DefinitionStages.WithCreate |
withStorageAccount(String storageAccountId)
Sets Storage Account for data transfer.
|
DiagnosticSetting.DefinitionStages.WithCreate withLogAnalytics(String workspaceId)
workspaceId - of Log Analytics that should exist in the same region as resource.DiagnosticSetting.DefinitionStages.WithCreate withStorageAccount(String storageAccountId)
storageAccountId - of storage account that should exist in the same region as resource.DiagnosticSetting.DefinitionStages.WithCreate withEventHub(String eventHubAuthorizationRuleId)
eventHubAuthorizationRuleId - of EventHub namespace authorization rule that should exist in
the same region as resource.DiagnosticSetting.DefinitionStages.WithCreate withEventHub(String eventHubAuthorizationRuleId, String eventHubName)
eventHubAuthorizationRuleId - of EventHub namespace authorization rule that should exist in
the same region as resource.eventHubName - name of the EventHub. If none is specified, the default EventHub will be selected./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/