Class GetOrCreateApplicationInsightsTask
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.common.operation.OperationBase
-
- com.microsoft.azure.toolkit.lib.common.task.AzureTask<ApplicationInsight>
-
- com.microsoft.azure.toolkit.lib.applicationinsights.task.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
-
Field Summary
Fields Modifier and Type Field Description private static StringAPPLICATION_INSIGHTS_CREATE_STARTprivate static StringAPPLICATION_INSIGHTS_CREATEDprivate Stringnameprivate com.microsoft.azure.toolkit.lib.common.model.Regionregionprivate StringresourceGroupprivate StringsubscriptionIdprivate com.microsoft.azure.toolkit.lib.monitor.LogAnalyticsWorkspaceConfigworkspaceConfig
-
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 ApplicationInsightdoExecute()-
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
-
-
-
-
Field Detail
-
APPLICATION_INSIGHTS_CREATE_START
private static final String APPLICATION_INSIGHTS_CREATE_START
- See Also:
- Constant Field Values
-
APPLICATION_INSIGHTS_CREATED
private static final String APPLICATION_INSIGHTS_CREATED
- See Also:
- Constant Field Values
-
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)
-
-
Method Detail
-
doExecute
public ApplicationInsight doExecute()
- Overrides:
doExecutein classcom.microsoft.azure.toolkit.lib.common.task.AzureTask<ApplicationInsight>
-
-