Class MSDeployProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.MSDeployCore
-
- com.azure.resourcemanager.appservice.fluent.models.MSDeployProperties
-
public final class MSDeployProperties extends MSDeployCore
Core resource properties.
-
-
Constructor Summary
Constructors Constructor Description MSDeployProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MSDeployCore>addOnPackages()Get the addOnPackages property: List of Add-On packages.voidvalidate()Validates the instance.MSDeployPropertieswithAddOnPackages(List<MSDeployCore> addOnPackages)Set the addOnPackages property: List of Add-On packages.MSDeployPropertieswithAppOffline(Boolean appOffline)Set the appOffline property: Sets the AppOffline rule while the MSDeploy operation executes.MSDeployPropertieswithConnectionString(String connectionString)Set the connectionString property: SQL Connection String.MSDeployPropertieswithDbType(String dbType)Set the dbType property: Database Type.MSDeployPropertieswithPackageUri(String packageUri)Set the packageUri property: Package URI.MSDeployPropertieswithSetParameters(Map<String,String> setParameters)Set the setParameters property: MSDeploy Parameters.MSDeployPropertieswithSetParametersXmlFileUri(String setParametersXmlFileUri)Set the setParametersXmlFileUri property: URI of MSDeploy Parameters file.MSDeployPropertieswithSkipAppData(Boolean skipAppData)Set the skipAppData property: Controls whether the MSDeploy operation skips the App_Data directory.-
Methods inherited from class com.azure.resourcemanager.appservice.models.MSDeployCore
appOffline, connectionString, dbType, packageUri, setParameters, setParametersXmlFileUri, skipAppData
-
-
-
-
Method Detail
-
addOnPackages
public List<MSDeployCore> addOnPackages()
Get the addOnPackages property: List of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.- Returns:
- the addOnPackages value.
-
withAddOnPackages
public MSDeployProperties withAddOnPackages(List<MSDeployCore> addOnPackages)
Set the addOnPackages property: List of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule.- Parameters:
addOnPackages- the addOnPackages value to set.- Returns:
- the MSDeployProperties object itself.
-
withPackageUri
public MSDeployProperties withPackageUri(String packageUri)
Set the packageUri property: Package URI.- Overrides:
withPackageUriin classMSDeployCore- Parameters:
packageUri- the packageUri value to set.- Returns:
- the MSDeployCore object itself.
-
withConnectionString
public MSDeployProperties withConnectionString(String connectionString)
Set the connectionString property: SQL Connection String.- Overrides:
withConnectionStringin classMSDeployCore- Parameters:
connectionString- the connectionString value to set.- Returns:
- the MSDeployCore object itself.
-
withDbType
public MSDeployProperties withDbType(String dbType)
Set the dbType property: Database Type.- Overrides:
withDbTypein classMSDeployCore- Parameters:
dbType- the dbType value to set.- Returns:
- the MSDeployCore object itself.
-
withSetParametersXmlFileUri
public MSDeployProperties withSetParametersXmlFileUri(String setParametersXmlFileUri)
Set the setParametersXmlFileUri property: URI of MSDeploy Parameters file. Must not be set if SetParameters is used.- Overrides:
withSetParametersXmlFileUriin classMSDeployCore- Parameters:
setParametersXmlFileUri- the setParametersXmlFileUri value to set.- Returns:
- the MSDeployCore object itself.
-
withSetParameters
public MSDeployProperties withSetParameters(Map<String,String> setParameters)
Set the setParameters property: MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.- Overrides:
withSetParametersin classMSDeployCore- Parameters:
setParameters- the setParameters value to set.- Returns:
- the MSDeployCore object itself.
-
withSkipAppData
public MSDeployProperties withSkipAppData(Boolean skipAppData)
Set the skipAppData property: 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.- Overrides:
withSkipAppDatain classMSDeployCore- Parameters:
skipAppData- the skipAppData value to set.- Returns:
- the MSDeployCore object itself.
-
withAppOffline
public MSDeployProperties withAppOffline(Boolean appOffline)
Set the appOffline property: Sets the AppOffline rule while the MSDeploy operation executes. Setting is <code>false</code> by default.- Overrides:
withAppOfflinein classMSDeployCore- Parameters:
appOffline- the appOffline value to set.- Returns:
- the MSDeployCore object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMSDeployCore- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-