Class SpringCloudDeployment

    • 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 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

      • start

        public void start()
      • stop

        public void stop()
      • restart

        public void restart()
      • loadStatus

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

        public List<com.microsoft.azure.toolkit.lib.common.model.AzResourceModule<?,​SpringCloudDeployment,​?>> getSubModules()
        Specified by:
        getSubModules in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<SpringCloudDeployment,​SpringCloudApp,​com.azure.resourcemanager.appplatform.models.SpringAppDeployment>
      • streamLogs

        public reactor.core.publisher.Flux<String> streamLogs​(String instance)
      • streamLogs

        public reactor.core.publisher.Flux<String> streamLogs​(String instance,
                                                              int sinceSeconds,
                                                              int tailLines,
                                                              int limitBytes,
                                                              boolean follow)
      • waitUntilReady

        public boolean waitUntilReady​(int timeoutInSeconds)
      • getInstances

        @Nonnull
        public List<com.azure.resourcemanager.appplatform.models.DeploymentInstance> getInstances()