Class SpringCloudApp

  • All Implemented Interfaces:
    com.microsoft.azure.toolkit.lib.common.model.AzResource<SpringCloudApp,​SpringCloudCluster,​com.azure.resourcemanager.appplatform.models.SpringApp>, com.microsoft.azure.toolkit.lib.common.model.AzResourceBase, 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
    • 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<T,​?,​R>,​R extends Object>, com.microsoft.azure.toolkit.lib.common.model.AzResource.None, com.microsoft.azure.toolkit.lib.common.model.AzResource.Status
      • Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResourceBase

        com.microsoft.azure.toolkit.lib.common.model.AzResourceBase.FormalStatus
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private SpringCloudDeploymentModule deploymentModule  
      • Fields inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        NONE, RESOURCE_GROUP_PLACEHOLDER
    • Method Detail

      • getSubModules

        @Nonnull
        public List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,​SpringCloudApp,​?>> 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()