다음을 통해 공유


ArmAppServiceModelFactory.StorageMigrationContent Method

Definition

Initializes a new instance of StorageMigrationContent.

public static Azure.ResourceManager.AppService.Models.StorageMigrationContent StorageMigrationContent (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string azurefilesConnectionString = default, string azurefilesShare = default, bool? switchSiteAfterMigration = default, bool? blockWriteAccessToSite = default, string kind = default);
static member StorageMigrationContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<bool> * Nullable<bool> * string -> Azure.ResourceManager.AppService.Models.StorageMigrationContent
Public Shared Function StorageMigrationContent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional azurefilesConnectionString As String = Nothing, Optional azurefilesShare As String = Nothing, Optional switchSiteAfterMigration As Nullable(Of Boolean) = Nothing, Optional blockWriteAccessToSite As Nullable(Of Boolean) = Nothing, Optional kind As String = Nothing) As StorageMigrationContent

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

azurefilesConnectionString
String

AzureFiles connection string.

azurefilesShare
String

AzureFiles share.

switchSiteAfterMigration
Nullable<Boolean>

<code>true</code>if the app should be switched over; otherwise, <code>false</code>.

blockWriteAccessToSite
Nullable<Boolean>

<code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.

kind
String

Kind of resource.

Returns

A new StorageMigrationContent instance for mocking.

Applies to