Class MSDeploy
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.MSDeploy
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
MSDeploy ARM PUT information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the addOnPackages property: List of Add-On packages.Get the appOffline property: Sets the AppOffline rule while the MSDeploy operation executes.Get the connectionString property: SQL Connection String.dbType()Get the dbType property: Database Type.static MSDeployfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MSDeploy from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.name()Get the name property: The name of the resource.Get the packageUri property: Package URI.Get the setParameters property: MSDeploy Parameters.Get the setParametersXmlFileUri property: URI of MSDeploy Parameters file.Get the skipAppData property: Controls whether the MSDeploy operation skips the App_Data directory.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withAddOnPackages(List<MSDeployCore> addOnPackages) Set the addOnPackages property: List of Add-On packages.withAppOffline(Boolean appOffline) Set the appOffline property: Sets the AppOffline rule while the MSDeploy operation executes.withConnectionString(String connectionString) Set the connectionString property: SQL Connection String.withDbType(String dbType) Set the dbType property: Database Type.Set the kind property: Kind of resource.withPackageUri(String packageUri) Set the packageUri property: Package URI.withSetParameters(Map<String, String> setParameters) Set the setParameters property: MSDeploy Parameters.withSetParametersXmlFileUri(String setParametersXmlFileUri) Set the setParametersXmlFileUri property: URI of MSDeploy Parameters file.withSkipAppData(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
kindMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
MSDeploy
public MSDeploy()Creates an instance of MSDeploy class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
typein classProxyOnlyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classProxyOnlyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classProxyOnlyResource- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
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
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
Get the packageUri property: Package URI.- Returns:
- the packageUri value.
-
withPackageUri
Set the packageUri property: Package URI.- Parameters:
packageUri- the packageUri value to set.- Returns:
- the MSDeploy object itself.
-
connectionString
Get the connectionString property: SQL Connection String.- Returns:
- the connectionString value.
-
withConnectionString
Set the connectionString property: SQL Connection String.- Parameters:
connectionString- the connectionString value to set.- Returns:
- the MSDeploy object itself.
-
dbType
Get the dbType property: Database Type.- Returns:
- the dbType value.
-
withDbType
Set the dbType property: Database Type.- Parameters:
dbType- the dbType value to set.- Returns:
- the MSDeploy object itself.
-
setParametersXmlFileUri
Get the setParametersXmlFileUri property: URI of MSDeploy Parameters file. Must not be set if SetParameters is used.- Returns:
- the setParametersXmlFileUri value.
-
withSetParametersXmlFileUri
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
Get the setParameters property: MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.- Returns:
- the setParameters value.
-
withSetParameters
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
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
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
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
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classProxyOnlyResource- Throws:
IOException
-
fromJson
Reads an instance of MSDeploy from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of MSDeploy if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the MSDeploy.
-