Interface DiagnosticSetting.DefinitionStages.WithDiagnosticLogRecipient

    • 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.