Class SpringCloudApp

  • All Implemented Interfaces:
    com.microsoft.azure.toolkit.lib.common.entity.IAzureBaseResource<SpringCloudApp,​SpringCloudCluster>, com.microsoft.azure.toolkit.lib.common.entity.Removable, com.microsoft.azure.toolkit.lib.common.entity.Startable, com.microsoft.azure.toolkit.lib.common.model.AzResource<SpringCloudApp,​SpringCloudCluster,​com.azure.resourcemanager.appplatform.models.SpringApp>, com.microsoft.azure.toolkit.lib.common.model.AzResourceBase
    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.entity.Startable, com.microsoft.azure.toolkit.lib.common.entity.Removable
    • 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
      • Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResourceBase

        com.microsoft.azure.toolkit.lib.common.model.AzResourceBase.FormalStatus
      • Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.entity.IAzureBaseResource

        com.microsoft.azure.toolkit.lib.common.entity.IAzureBaseResource.Status
    • 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
      • Fields inherited from interface com.microsoft.azure.toolkit.lib.common.entity.IAzureBaseResource

        REST_SEGMENT_JOB_MANAGEMENT_RESOURCE, REST_SEGMENT_JOB_MANAGEMENT_TENANTID
    • Method Detail

      • getSubModules

        public List<com.microsoft.azure.toolkit.lib.common.model.AzResourceModule<?,​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.entity.Startable
      • stop

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

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

        public void remove()
        Specified by:
        remove in interface com.microsoft.azure.toolkit.lib.common.entity.Removable
      • status

        public String status()
        Specified by:
        status in interface com.microsoft.azure.toolkit.lib.common.model.AzResource<SpringCloudApp,​SpringCloudCluster,​com.azure.resourcemanager.appplatform.models.SpringApp>
        Specified by:
        status in interface com.microsoft.azure.toolkit.lib.common.entity.IAzureBaseResource<SpringCloudApp,​SpringCloudCluster>
        Specified by:
        status in interface com.microsoft.azure.toolkit.lib.common.entity.Startable
      • isPublicEndpointEnabled

        public boolean isPublicEndpointEnabled()
      • getActiveDeploymentName

        @Nullable
        public String getActiveDeploymentName()
      • isPersistentDiskEnabled

        public boolean isPersistentDiskEnabled()