public class SpringCloudDeploymentDraft extends SpringCloudDeployment implements AzResource.Draft<SpringCloudDeployment,com.azure.resourcemanager.appplatform.models.SpringAppDeployment>, InvocationHandler
| Modifier and Type | Class and Description |
|---|---|
private static class |
SpringCloudDeploymentDraft.Config
null means not modified for properties |
private static interface |
SpringCloudDeploymentDraft.IConfig |
AzResource.Draft<T extends AzResource,R>, AzResource.FormalStatus, AzResource.None, AzResource.Status| Modifier and Type | Field and Description |
|---|---|
private SpringCloudDeploymentDraft.Config |
config |
private SpringCloudDeploymentDraft.IConfig |
configProxy |
static int |
DEFAULT_CAPACITY |
static double |
DEFAULT_CPU |
static double |
DEFAULT_MEMORY |
static com.azure.resourcemanager.appplatform.models.RuntimeVersion |
DEFAULT_RUNTIME_VERSION |
private SpringCloudDeployment |
origin |
private static String |
RUNTIME_VERSION_PATTERN |
CACHE_LIFETIME, CONNECT_RESOURCE, CREATE_RESOURCE, DEPLOY, NONE, RESOURCE_GROUP_PLACEHOLDER| Modifier | Constructor and Description |
|---|---|
protected |
SpringCloudDeploymentDraft(SpringCloudDeployment origin) |
protected |
SpringCloudDeploymentDraft(String name,
SpringCloudDeploymentModule module) |
| Modifier and Type | Method and Description |
|---|---|
com.azure.resourcemanager.appplatform.models.SpringAppDeployment |
createResourceInAzure() |
static com.azure.resourcemanager.appplatform.models.RuntimeVersion |
formalizeRuntimeVersion(String runtimeVersion) |
SpringCloudDeploymentConfig |
getConfig() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
private Object |
invokeSuper(Method method,
Object[] args) |
boolean |
isModified() |
void |
reset() |
void |
setConfig(SpringCloudDeploymentConfig deploymentConfig) |
boolean |
toDeploy() |
boolean |
toScale() |
boolean |
toUpdate() |
(package private) boolean |
updateDeployingProperties(com.azure.resourcemanager.appplatform.implementation.SpringAppDeploymentImpl deployment) |
(package private) boolean |
updateProperties(com.azure.resourcemanager.appplatform.implementation.SpringAppDeploymentImpl deployment) |
com.azure.resourcemanager.appplatform.models.SpringAppDeployment |
updateResourceInAzure(com.azure.resourcemanager.appplatform.models.SpringAppDeployment deployment) |
(package private) boolean |
updateScalingProperties(com.azure.resourcemanager.appplatform.implementation.SpringAppDeploymentImpl deployment) |
void |
withDefaultConfig() |
disableRemoteDebugging, enableRemoteDebugging, getCapacity, getCpu, getEnvironmentVariables, getInstances, getJvmOptions, getLatestInstance, getMemoryInGB, getRemoteDebuggingPort, getRuntimeVersion, getServiceLinkerModule, getSubModules, isActive, isRemoteDebuggingEnabled, loadStatus, restart, setStatus, start, startStreamingLog, stop, updateAdditionalProperties, waitUntilReadycanEqual, delete, doModify, doModify, equals, exists, getAuthorizationManager, getCachedSubModules, getId, getModule, getName, getParent, getPermissions, getRemote, getResourceGroup, getResourceGroupName, getRoleAssignments, getRoleDefinitions, getStatus, getSubModule, grantPermissionToIdentity, grantPermissionToIdentity, hashCode, invalidateCache, is400, is404, isAuthRequired, isDraft, isDraftForCreating, isDraftForUpdating, isHttpException, isHttpException, isMocked, loadRemoteFromAzure, onRemoteUpdated, refresh, remoteOptional, setRemote, toString, updateclone, finalize, getClass, notify, notifyAll, wait, wait, waitasResource, commit, createIfNotExist, getModule, getName, getOrigin, getResourceGroupName, updateIfExistgetLinkerManager, getServiceLinkersdelete, exists, getFormalStatus, getFullResourceType, getModule, getPortalUrl, getResourceGroupName, getResourceTypeName, getStatus, getSubscription, getSubscriptionId, id, name, refreshgetId, getNamepublic static final com.azure.resourcemanager.appplatform.models.RuntimeVersion DEFAULT_RUNTIME_VERSION
public static final double DEFAULT_MEMORY
public static final double DEFAULT_CPU
public static final int DEFAULT_CAPACITY
private static final String RUNTIME_VERSION_PATTERN
@Nonnull private final SpringCloudDeploymentDraft.IConfig configProxy
@Nullable private final SpringCloudDeployment origin
@Nullable private SpringCloudDeploymentDraft.Config config
protected SpringCloudDeploymentDraft(@Nonnull String name, @Nonnull SpringCloudDeploymentModule module)
protected SpringCloudDeploymentDraft(@Nonnull SpringCloudDeployment origin)
public void setConfig(@Nonnull SpringCloudDeploymentConfig deploymentConfig)
public void withDefaultConfig()
@Nonnull public SpringCloudDeploymentConfig getConfig()
public void reset()
reset in interface AzResource.Draft<SpringCloudDeployment,com.azure.resourcemanager.appplatform.models.SpringAppDeployment>@Nonnull public com.azure.resourcemanager.appplatform.models.SpringAppDeployment createResourceInAzure()
createResourceInAzure in interface AzResource.Draft<SpringCloudDeployment,com.azure.resourcemanager.appplatform.models.SpringAppDeployment>@Nonnull public com.azure.resourcemanager.appplatform.models.SpringAppDeployment updateResourceInAzure(@Nonnull com.azure.resourcemanager.appplatform.models.SpringAppDeployment deployment)
updateResourceInAzure in interface AzResource.Draft<SpringCloudDeployment,com.azure.resourcemanager.appplatform.models.SpringAppDeployment>boolean updateScalingProperties(@Nonnull com.azure.resourcemanager.appplatform.implementation.SpringAppDeploymentImpl deployment)
boolean updateProperties(@Nonnull com.azure.resourcemanager.appplatform.implementation.SpringAppDeploymentImpl deployment)
boolean updateDeployingProperties(@Nonnull com.azure.resourcemanager.appplatform.implementation.SpringAppDeploymentImpl deployment)
@Nonnull public static com.azure.resourcemanager.appplatform.models.RuntimeVersion formalizeRuntimeVersion(String runtimeVersion)
@Nullable public Object invoke(Object proxy, @Nonnull Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowableprivate Object invokeSuper(@Nonnull Method method, @Nonnull Object[] args) throws Throwable
Throwablepublic boolean isModified()
isModified in interface AzResource.Draft<SpringCloudDeployment,com.azure.resourcemanager.appplatform.models.SpringAppDeployment>public boolean toScale()
public boolean toUpdate()
public boolean toDeploy()
Copyright © 2024. All rights reserved.