Class SpringCloudApp

  • All Implemented Interfaces:
    com.microsoft.azure.toolkit.lib.common.model.AzResource, com.microsoft.azure.toolkit.lib.common.model.Deletable, com.microsoft.azure.toolkit.lib.common.model.Refreshable, com.microsoft.azure.toolkit.lib.common.model.Startable
    Direct Known Subclasses:
    SpringCloudAppDraft

    public class SpringCloudApp
    extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<SpringCloudApp,​SpringCloudCluster,​com.azure.resourcemanager.appplatform.models.SpringApp>
    implements com.microsoft.azure.toolkit.lib.common.model.Startable, com.microsoft.azure.toolkit.lib.common.model.Deletable
    • Method Detail

      • invalidateCache

        public void invalidateCache()
        Overrides:
        invalidateCache in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<SpringCloudApp,​SpringCloudCluster,​com.azure.resourcemanager.appplatform.models.SpringApp>
      • updateAdditionalProperties

        protected void updateAdditionalProperties​(com.azure.resourcemanager.appplatform.models.SpringApp newRemote,
                                                  com.azure.resourcemanager.appplatform.models.SpringApp oldRemote)
        Overrides:
        updateAdditionalProperties in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<SpringCloudApp,​SpringCloudCluster,​com.azure.resourcemanager.appplatform.models.SpringApp>
      • getSubModules

        @Nonnull
        public List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,​?,​?>> getSubModules()
        Specified by:
        getSubModules in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<SpringCloudApp,​SpringCloudCluster,​com.azure.resourcemanager.appplatform.models.SpringApp>
      • loadStatus

        @Nonnull
        public String loadStatus​(@Nonnull
                                 com.azure.resourcemanager.appplatform.models.SpringApp remote)
        Specified by:
        loadStatus in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<SpringCloudApp,​SpringCloudCluster,​com.azure.resourcemanager.appplatform.models.SpringApp>
      • start

        public void start()
        Specified by:
        start in interface com.microsoft.azure.toolkit.lib.common.model.Startable
      • stop

        public void stop()
        Specified by:
        stop in interface com.microsoft.azure.toolkit.lib.common.model.Startable
      • restart

        public void restart()
        Specified by:
        restart in interface com.microsoft.azure.toolkit.lib.common.model.Startable
      • isPublicEndpointEnabled

        public boolean isPublicEndpointEnabled()
      • getActiveDeploymentName

        @Nullable
        public String getActiveDeploymentName()
      • isPersistentDiskEnabled

        public boolean isPersistentDiskEnabled()