Class GetOrCreateApplicationInsightsTask

  • All Implemented Interfaces:
    com.microsoft.azure.toolkit.lib.common.operation.Operation

    public class GetOrCreateApplicationInsightsTask
    extends com.microsoft.azure.toolkit.lib.common.task.AzureTask<ApplicationInsight>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.microsoft.azure.toolkit.lib.common.task.AzureTask

        com.microsoft.azure.toolkit.lib.common.task.AzureTask.DefaultMonitor, com.microsoft.azure.toolkit.lib.common.task.AzureTask.Modality, com.microsoft.azure.toolkit.lib.common.task.AzureTask.Monitor
      • Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.operation.Operation

        com.microsoft.azure.toolkit.lib.common.operation.Operation.Type
    • Constructor Summary

      Constructors 
      Constructor Description
      GetOrCreateApplicationInsightsTask​(String subscriptionId, String resourceGroup, com.microsoft.azure.toolkit.lib.common.model.Region region, String name, com.microsoft.azure.toolkit.lib.monitor.LogAnalyticsWorkspaceConfig workspaceConfig)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ApplicationInsight doExecute()  
      • Methods inherited from class com.microsoft.azure.toolkit.lib.common.task.AzureTask

        execute, getBackgrounded, getBody, getDescription, getExecutionId, getId, getModality, getMonitor, getProject, getType, isBackgroundable, isCancellable, setBackgroundable, setBackgrounded, setMonitor, setType, toString
      • Methods inherited from class com.microsoft.azure.toolkit.lib.common.operation.OperationBase

        getContext, getParent, setParent
      • Methods inherited from interface com.microsoft.azure.toolkit.lib.common.operation.Operation

        getActionParent, getEffectiveParent
    • Field Detail

      • region

        @Nonnull
        private final com.microsoft.azure.toolkit.lib.common.model.Region region
      • workspaceConfig

        @Nonnull
        private final com.microsoft.azure.toolkit.lib.monitor.LogAnalyticsWorkspaceConfig workspaceConfig
    • Constructor Detail

      • GetOrCreateApplicationInsightsTask

        public GetOrCreateApplicationInsightsTask​(@Nonnull
                                                  String subscriptionId,
                                                  @Nonnull
                                                  String resourceGroup,
                                                  @Nonnull
                                                  com.microsoft.azure.toolkit.lib.common.model.Region region,
                                                  @Nonnull
                                                  String name,
                                                  @Nonnull
                                                  com.microsoft.azure.toolkit.lib.monitor.LogAnalyticsWorkspaceConfig workspaceConfig)