Class ApplicationInsightDraft

  • All Implemented Interfaces:
    com.microsoft.azure.toolkit.lib.common.model.AzResource, com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<ApplicationInsight,​com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent>, com.microsoft.azure.toolkit.lib.common.model.Deletable, com.microsoft.azure.toolkit.lib.common.model.Refreshable

    public class ApplicationInsightDraft
    extends ApplicationInsight
    implements com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<ApplicationInsight,​com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<T extends com.microsoft.azure.toolkit.lib.common.model.AzResource,​R extends Object>, com.microsoft.azure.toolkit.lib.common.model.AzResource.FormalStatus, com.microsoft.azure.toolkit.lib.common.model.AzResource.None, com.microsoft.azure.toolkit.lib.common.model.AzResource.Status
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent createResourceInAzure()  
      private String extractWorkspaceId()  
      com.microsoft.azure.toolkit.lib.common.model.Region getRegion()  
      boolean isModified()  
      void reset()  
      com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent updateResourceInAzure​(com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent origin)  
      • Methods inherited from class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource

        canEqual, delete, doModify, doModify, equals, exists, getCachedSubModules, getId, getModule, getName, getParent, getRemote, getResourceGroup, getResourceGroupName, getStatus, getSubModule, hashCode, invalidateCache, isAuthRequired, isDraft, isDraftForCreating, isDraftForUpdating, isNotFoundException, loadRemoteFromAzure, onRemoteUpdated, refresh, remoteOptional, setRemote, setStatus, toString, update, updateAdditionalProperties
      • Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        getFormalStatus, getFullResourceType, getPortalUrl, getResourceTypeName, getSubscription, getSubscriptionId, id, name
      • Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft

        asResource, commit, createIfNotExist, getModule, getName, getOrigin, getResourceGroupName, updateIfExist
      • Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.Deletable

        delete
    • Method Detail

      • reset

        public void reset()
        Specified by:
        reset in interface com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<ApplicationInsight,​com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent>
      • createResourceInAzure

        @Nonnull
        public com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent createResourceInAzure()
        Specified by:
        createResourceInAzure in interface com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<ApplicationInsight,​com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent>
      • updateResourceInAzure

        @Nonnull
        public com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent updateResourceInAzure​(@Nonnull
                                                                                                                       com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent origin)
        Specified by:
        updateResourceInAzure in interface com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<ApplicationInsight,​com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent>
      • isModified

        public boolean isModified()
        Specified by:
        isModified in interface com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<ApplicationInsight,​com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponent>