Interface DiagnosticSetting.DefinitionStages.WithDiagnosticLogRecipient
-
- All Known Subinterfaces:
DiagnosticSetting.Definition,DiagnosticSetting.DefinitionStages.WithCreate
- Enclosing interface:
- DiagnosticSetting.DefinitionStages
public static interface DiagnosticSetting.DefinitionStages.WithDiagnosticLogRecipientThe stage of the definition which contains minimum required properties to be specified for Diagnostic Settings creation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DiagnosticSetting.DefinitionStages.WithCreatewithEventHub(String eventHubAuthorizationRuleId)Sets EventHub Namespace Authorization Rule for data transfer.DiagnosticSetting.DefinitionStages.WithCreatewithEventHub(String eventHubAuthorizationRuleId, String eventHubName)Sets EventHub Namespace Authorization Rule for data transfer.DiagnosticSetting.DefinitionStages.WithCreatewithLogAnalytics(String workspaceId)Sets Log Analytics workspace for data transfer.DiagnosticSetting.DefinitionStages.WithCreatewithStorageAccount(String storageAccountId)Sets Storage Account for data transfer.
-
-
-
Method Detail
-
withLogAnalytics
DiagnosticSetting.DefinitionStages.WithCreate withLogAnalytics(String workspaceId)
Sets Log Analytics workspace for data transfer.- Parameters:
workspaceId- of Log Analytics that should exist in the same region as resource.- Returns:
- the stage of creating Diagnostic Settings.
-
withStorageAccount
DiagnosticSetting.DefinitionStages.WithCreate withStorageAccount(String storageAccountId)
Sets Storage Account for data transfer.- Parameters:
storageAccountId- of storage account that should exist in the same region as resource.- Returns:
- the stage of creating Diagnostic Settings.
-
withEventHub
DiagnosticSetting.DefinitionStages.WithCreate withEventHub(String eventHubAuthorizationRuleId)
Sets EventHub Namespace Authorization Rule for data transfer.- Parameters:
eventHubAuthorizationRuleId- of EventHub namespace authorization rule that should exist in the same region as resource.- Returns:
- the stage of creating Diagnostic Settings.
-
withEventHub
DiagnosticSetting.DefinitionStages.WithCreate withEventHub(String eventHubAuthorizationRuleId, String eventHubName)
Sets EventHub Namespace Authorization Rule for data transfer.- Parameters:
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.- Returns:
- the stage of creating Diagnostic Settings.
-
-