Condividi tramite


ArmAppServiceModelFactory.WebAppMSDeploy Method

Definition

Initializes a new instance of WebAppMSDeploy.

public static Azure.ResourceManager.AppService.Models.WebAppMSDeploy WebAppMSDeploy (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Uri packageUri = default, string connectionString = default, string dbType = default, Uri setParametersXmlFileUri = default, System.Collections.Generic.IDictionary<string,string> setParameters = default, bool? skipAppData = default, bool? isAppOffline = default, string kind = default);
static member WebAppMSDeploy : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Uri * string * string * Uri * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * Nullable<bool> * string -> Azure.ResourceManager.AppService.Models.WebAppMSDeploy
Public Shared Function WebAppMSDeploy (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional packageUri As Uri = Nothing, Optional connectionString As String = Nothing, Optional dbType As String = Nothing, Optional setParametersXmlFileUri As Uri = Nothing, Optional setParameters As IDictionary(Of String, String) = Nothing, Optional skipAppData As Nullable(Of Boolean) = Nothing, Optional isAppOffline As Nullable(Of Boolean) = Nothing, Optional kind As String = Nothing) As WebAppMSDeploy

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

packageUri
Uri

Package URI.

connectionString
String

SQL Connection String.

dbType
String

Database Type.

setParametersXmlFileUri
Uri

URI of MSDeploy Parameters file. Must not be set if SetParameters is used.

setParameters
IDictionary<String,String>

MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.

skipAppData
Nullable<Boolean>

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.

isAppOffline
Nullable<Boolean>

Sets the AppOffline rule while the MSDeploy operation executes. Setting is <code>false</code> by default.

kind
String

Kind of resource.

Returns

A new WebAppMSDeploy instance for mocking.

Applies to