public final class CloningInfo extends Object
| Constructor and Description |
|---|
CloningInfo() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
appSettingsOverrides()
Get the appSettingsOverrides property: Application setting overrides for cloned app.
|
Boolean |
cloneCustomHostNames()
Get the cloneCustomHostNames property: <code>true</code> to clone custom hostnames from source app;
otherwise, <code>false</code>.
|
Boolean |
cloneSourceControl()
Get the cloneSourceControl property: <code>true</code> to clone source control from source app;
otherwise, <code>false</code>.
|
Boolean |
configureLoadBalancing()
Get the configureLoadBalancing property: <code>true</code> to configure load balancing for source and
destination app.
|
UUID |
correlationId()
Get the correlationId property: Correlation ID of cloning operation.
|
String |
hostingEnvironment()
Get the hostingEnvironment property: App Service Environment.
|
Boolean |
overwrite()
Get the overwrite property: <code>true</code> to overwrite destination app; otherwise,
<code>false</code>.
|
String |
sourceWebAppId()
Get the sourceWebAppId property: ARM resource ID of the source app.
|
String |
sourceWebAppLocation()
Get the sourceWebAppLocation property: Location of source app ex: West US or North Europe.
|
String |
trafficManagerProfileId()
Get the trafficManagerProfileId property: ARM resource ID of the Traffic Manager profile to use, if it exists.
|
String |
trafficManagerProfileName()
Get the trafficManagerProfileName property: Name of Traffic Manager profile to create.
|
void |
validate()
Validates the instance.
|
CloningInfo |
withAppSettingsOverrides(Map<String,String> appSettingsOverrides)
Set the appSettingsOverrides property: Application setting overrides for cloned app.
|
CloningInfo |
withCloneCustomHostNames(Boolean cloneCustomHostNames)
Set the cloneCustomHostNames property: <code>true</code> to clone custom hostnames from source app;
otherwise, <code>false</code>.
|
CloningInfo |
withCloneSourceControl(Boolean cloneSourceControl)
Set the cloneSourceControl property: <code>true</code> to clone source control from source app;
otherwise, <code>false</code>.
|
CloningInfo |
withConfigureLoadBalancing(Boolean configureLoadBalancing)
Set the configureLoadBalancing property: <code>true</code> to configure load balancing for source and
destination app.
|
CloningInfo |
withCorrelationId(UUID correlationId)
Set the correlationId property: Correlation ID of cloning operation.
|
CloningInfo |
withHostingEnvironment(String hostingEnvironment)
Set the hostingEnvironment property: App Service Environment.
|
CloningInfo |
withOverwrite(Boolean overwrite)
Set the overwrite property: <code>true</code> to overwrite destination app; otherwise,
<code>false</code>.
|
CloningInfo |
withSourceWebAppId(String sourceWebAppId)
Set the sourceWebAppId property: ARM resource ID of the source app.
|
CloningInfo |
withSourceWebAppLocation(String sourceWebAppLocation)
Set the sourceWebAppLocation property: Location of source app ex: West US or North Europe.
|
CloningInfo |
withTrafficManagerProfileId(String trafficManagerProfileId)
Set the trafficManagerProfileId property: ARM resource ID of the Traffic Manager profile to use, if it exists.
|
CloningInfo |
withTrafficManagerProfileName(String trafficManagerProfileName)
Set the trafficManagerProfileName property: Name of Traffic Manager profile to create.
|
public UUID correlationId()
public CloningInfo withCorrelationId(UUID correlationId)
correlationId - the correlationId value to set.public Boolean overwrite()
public CloningInfo withOverwrite(Boolean overwrite)
overwrite - the overwrite value to set.public Boolean cloneCustomHostNames()
public CloningInfo withCloneCustomHostNames(Boolean cloneCustomHostNames)
cloneCustomHostNames - the cloneCustomHostNames value to set.public Boolean cloneSourceControl()
public CloningInfo withCloneSourceControl(Boolean cloneSourceControl)
cloneSourceControl - the cloneSourceControl value to set.public String sourceWebAppId()
public CloningInfo withSourceWebAppId(String sourceWebAppId)
sourceWebAppId - the sourceWebAppId value to set.public String sourceWebAppLocation()
public CloningInfo withSourceWebAppLocation(String sourceWebAppLocation)
sourceWebAppLocation - the sourceWebAppLocation value to set.public String hostingEnvironment()
public CloningInfo withHostingEnvironment(String hostingEnvironment)
hostingEnvironment - the hostingEnvironment value to set.public Map<String,String> appSettingsOverrides()
public CloningInfo withAppSettingsOverrides(Map<String,String> appSettingsOverrides)
appSettingsOverrides - the appSettingsOverrides value to set.public Boolean configureLoadBalancing()
public CloningInfo withConfigureLoadBalancing(Boolean configureLoadBalancing)
configureLoadBalancing - the configureLoadBalancing value to set.public String trafficManagerProfileId()
public CloningInfo withTrafficManagerProfileId(String trafficManagerProfileId)
trafficManagerProfileId - the trafficManagerProfileId value to set.public String trafficManagerProfileName()
public CloningInfo withTrafficManagerProfileName(String trafficManagerProfileName)
trafficManagerProfileName - the trafficManagerProfileName value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.