Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice; import java.util.Map; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten;
MSDeploy ARM PUT information.
/** * MSDeploy ARM PUT information. */
@JsonFlatten public class MSDeploy extends ProxyOnlyResource {
Package URI.
/** * Package URI. */
@JsonProperty(value = "properties.packageUri") private String packageUri;
SQL Connection String.
/** * SQL Connection String. */
@JsonProperty(value = "properties.connectionString") private String connectionString;
Database Type.
/** * Database Type. */
@JsonProperty(value = "properties.dbType") private String dbType;
URI of MSDeploy Parameters file. Must not be set if SetParameters is used.
/** * URI of MSDeploy Parameters file. Must not be set if SetParameters is * used. */
@JsonProperty(value = "properties.setParametersXmlFileUri") private String setParametersXmlFileUri;
MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.
/** * MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. */
@JsonProperty(value = "properties.setParameters") private Map<String, String> setParameters;
Controls whether the MSDeploy operation skips the App_Data directory. If set to <code>true</code>, the existing App_Data directory on the destination will not be deleted, and any App_Data directory in the source will be ignored. Setting is <code>false</code> by default.
/** * Controls whether the MSDeploy operation skips the App_Data directory. * If set to &lt;code&gt;true&lt;/code&gt;, the existing App_Data directory * on the destination * will not be deleted, and any App_Data directory in the source will be * ignored. * Setting is &lt;code&gt;false&lt;/code&gt; by default. */
@JsonProperty(value = "properties.skipAppData") private Boolean skipAppData;
Sets the AppOffline rule while the MSDeploy operation executes. Setting is <code>false</code> by default.
/** * Sets the AppOffline rule while the MSDeploy operation executes. * Setting is &lt;code&gt;false&lt;/code&gt; by default. */
@JsonProperty(value = "properties.appOffline") private Boolean appOffline;
List of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.
/** * List of Add-On packages. Add-On packages implicitly enable the Do Not * Delete MSDeploy rule. */
@JsonProperty(value = "properties.addOnPackages") private List<MSDeployCore> addOnPackages;
Get package URI.
Returns:the packageUri value
/** * Get package URI. * * @return the packageUri value */
public String packageUri() { return this.packageUri; }
Set package URI.
Params:
  • packageUri – the packageUri value to set
Returns:the MSDeploy object itself.
/** * Set package URI. * * @param packageUri the packageUri value to set * @return the MSDeploy object itself. */
public MSDeploy withPackageUri(String packageUri) { this.packageUri = packageUri; return this; }
Get sQL Connection String.
Returns:the connectionString value
/** * Get sQL Connection String. * * @return the connectionString value */
public String connectionString() { return this.connectionString; }
Set sQL Connection String.
Params:
  • connectionString – the connectionString value to set
Returns:the MSDeploy object itself.
/** * Set sQL Connection String. * * @param connectionString the connectionString value to set * @return the MSDeploy object itself. */
public MSDeploy withConnectionString(String connectionString) { this.connectionString = connectionString; return this; }
Get database Type.
Returns:the dbType value
/** * Get database Type. * * @return the dbType value */
public String dbType() { return this.dbType; }
Set database Type.
Params:
  • dbType – the dbType value to set
Returns:the MSDeploy object itself.
/** * Set database Type. * * @param dbType the dbType value to set * @return the MSDeploy object itself. */
public MSDeploy withDbType(String dbType) { this.dbType = dbType; return this; }
Get uRI of MSDeploy Parameters file. Must not be set if SetParameters is used.
Returns:the setParametersXmlFileUri value
/** * Get uRI of MSDeploy Parameters file. Must not be set if SetParameters is used. * * @return the setParametersXmlFileUri value */
public String setParametersXmlFileUri() { return this.setParametersXmlFileUri; }
Set uRI of MSDeploy Parameters file. Must not be set if SetParameters is used.
Params:
  • setParametersXmlFileUri – the setParametersXmlFileUri value to set
Returns:the MSDeploy object itself.
/** * Set uRI of MSDeploy Parameters file. Must not be set if SetParameters is used. * * @param setParametersXmlFileUri the setParametersXmlFileUri value to set * @return the MSDeploy object itself. */
public MSDeploy withSetParametersXmlFileUri(String setParametersXmlFileUri) { this.setParametersXmlFileUri = setParametersXmlFileUri; return this; }
Get mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.
Returns:the setParameters value
/** * Get mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. * * @return the setParameters value */
public Map<String, String> setParameters() { return this.setParameters; }
Set mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.
Params:
  • setParameters – the setParameters value to set
Returns:the MSDeploy object itself.
/** * Set mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. * * @param setParameters the setParameters value to set * @return the MSDeploy object itself. */
public MSDeploy withSetParameters(Map<String, String> setParameters) { this.setParameters = setParameters; return this; }
Get controls whether the MSDeploy operation skips the App_Data directory. If set to <code>true</code>, the existing App_Data directory on the destination will not be deleted, and any App_Data directory in the source will be ignored. Setting is <code>false</code> by default.
Returns:the skipAppData value
/** * Get controls whether the MSDeploy operation skips the App_Data directory. If set to &lt;code&gt;true&lt;/code&gt;, the existing App_Data directory on the destination will not be deleted, and any App_Data directory in the source will be ignored. Setting is &lt;code&gt;false&lt;/code&gt; by default. * * @return the skipAppData value */
public Boolean skipAppData() { return this.skipAppData; }
Set controls whether the MSDeploy operation skips the App_Data directory. If set to <code>true</code>, the existing App_Data directory on the destination will not be deleted, and any App_Data directory in the source will be ignored. Setting is <code>false</code> by default.
Params:
  • skipAppData – the skipAppData value to set
Returns:the MSDeploy object itself.
/** * Set controls whether the MSDeploy operation skips the App_Data directory. If set to &lt;code&gt;true&lt;/code&gt;, the existing App_Data directory on the destination will not be deleted, and any App_Data directory in the source will be ignored. Setting is &lt;code&gt;false&lt;/code&gt; by default. * * @param skipAppData the skipAppData value to set * @return the MSDeploy object itself. */
public MSDeploy withSkipAppData(Boolean skipAppData) { this.skipAppData = skipAppData; return this; }
Get sets the AppOffline rule while the MSDeploy operation executes. Setting is <code>false</code> by default.
Returns:the appOffline value
/** * Get sets the AppOffline rule while the MSDeploy operation executes. Setting is &lt;code&gt;false&lt;/code&gt; by default. * * @return the appOffline value */
public Boolean appOffline() { return this.appOffline; }
Set sets the AppOffline rule while the MSDeploy operation executes. Setting is <code>false</code> by default.
Params:
  • appOffline – the appOffline value to set
Returns:the MSDeploy object itself.
/** * Set sets the AppOffline rule while the MSDeploy operation executes. Setting is &lt;code&gt;false&lt;/code&gt; by default. * * @param appOffline the appOffline value to set * @return the MSDeploy object itself. */
public MSDeploy withAppOffline(Boolean appOffline) { this.appOffline = appOffline; return this; }
Get list of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.
Returns:the addOnPackages value
/** * Get list of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule. * * @return the addOnPackages value */
public List<MSDeployCore> addOnPackages() { return this.addOnPackages; }
Set list of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.
Params:
  • addOnPackages – the addOnPackages value to set
Returns:the MSDeploy object itself.
/** * Set list of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule. * * @param addOnPackages the addOnPackages value to set * @return the MSDeploy object itself. */
public MSDeploy withAddOnPackages(List<MSDeployCore> addOnPackages) { this.addOnPackages = addOnPackages; return this; } }