Class MSDeploy
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.models.MSDeploy
-
public final class MSDeploy extends ProxyOnlyResource
MSDeploy ARM PUT information.
-
-
Constructor Summary
Constructors Constructor Description MSDeploy()
-
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.BooleanappOffline()Get the appOffline property: Sets the AppOffline rule while the MSDeploy operation executes.StringconnectionString()Get the connectionString property: SQL Connection String.StringdbType()Get the dbType property: Database Type.StringpackageUri()Get the packageUri property: Package URI.Map<String,String>setParameters()Get the setParameters property: MSDeploy Parameters.StringsetParametersXmlFileUri()Get the setParametersXmlFileUri property: URI of MSDeploy Parameters file.BooleanskipAppData()Get the skipAppData property: Controls whether the MSDeploy operation skips the App_Data directory.voidvalidate()Validates the instance.MSDeploywithAddOnPackages(List<MSDeployCore> addOnPackages)Set the addOnPackages property: List of Add-On packages.MSDeploywithAppOffline(Boolean appOffline)Set the appOffline property: Sets the AppOffline rule while the MSDeploy operation executes.MSDeploywithConnectionString(String connectionString)Set the connectionString property: SQL Connection String.MSDeploywithDbType(String dbType)Set the dbType property: Database Type.MSDeploywithKind(String kind)Set the kind property: Kind of resource.MSDeploywithPackageUri(String packageUri)Set the packageUri property: Package URI.MSDeploywithSetParameters(Map<String,String> setParameters)Set the setParameters property: MSDeploy Parameters.MSDeploywithSetParametersXmlFileUri(String setParametersXmlFileUri)Set the setParametersXmlFileUri property: URI of MSDeploy Parameters file.MSDeploywithSkipAppData(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.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public MSDeploy withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
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 MSDeploy 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 MSDeploy object itself.
-
packageUri
public String packageUri()
Get the packageUri property: Package URI.- Returns:
- the packageUri value.
-
withPackageUri
public MSDeploy withPackageUri(String packageUri)
Set the packageUri property: Package URI.- Parameters:
packageUri- the packageUri value to set.- Returns:
- the MSDeploy object itself.
-
connectionString
public String connectionString()
Get the connectionString property: SQL Connection String.- Returns:
- the connectionString value.
-
withConnectionString
public MSDeploy withConnectionString(String connectionString)
Set the connectionString property: SQL Connection String.- Parameters:
connectionString- the connectionString value to set.- Returns:
- the MSDeploy object itself.
-
dbType
public String dbType()
Get the dbType property: Database Type.- Returns:
- the dbType value.
-
withDbType
public MSDeploy withDbType(String dbType)
Set the dbType property: Database Type.- Parameters:
dbType- the dbType value to set.- Returns:
- the MSDeploy object itself.
-
setParametersXmlFileUri
public String setParametersXmlFileUri()
Get the setParametersXmlFileUri property: URI of MSDeploy Parameters file. Must not be set if SetParameters is used.- Returns:
- the setParametersXmlFileUri value.
-
withSetParametersXmlFileUri
public MSDeploy withSetParametersXmlFileUri(String setParametersXmlFileUri)
Set the setParametersXmlFileUri property: URI of MSDeploy Parameters file. Must not be set if SetParameters is used.- Parameters:
setParametersXmlFileUri- the setParametersXmlFileUri value to set.- Returns:
- the MSDeploy object itself.
-
setParameters
public Map<String,String> setParameters()
Get the setParameters property: MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.- Returns:
- the setParameters value.
-
withSetParameters
public MSDeploy withSetParameters(Map<String,String> setParameters)
Set the setParameters property: MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.- Parameters:
setParameters- the setParameters value to set.- Returns:
- the MSDeploy object itself.
-
skipAppData
public Boolean skipAppData()
Get 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.- Returns:
- the skipAppData value.
-
withSkipAppData
public MSDeploy 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.- Parameters:
skipAppData- the skipAppData value to set.- Returns:
- the MSDeploy object itself.
-
appOffline
public Boolean appOffline()
Get the appOffline property: Sets the AppOffline rule while the MSDeploy operation executes. Setting is <code>false</code> by default.- Returns:
- the appOffline value.
-
withAppOffline
public MSDeploy withAppOffline(Boolean appOffline)
Set the appOffline property: Sets the AppOffline rule while the MSDeploy operation executes. Setting is <code>false</code> by default.- Parameters:
appOffline- the appOffline value to set.- Returns:
- the MSDeploy object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-