Class StorageMigrationOptions
java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.management.appservice.ProxyOnlyResource
com.microsoft.azure.management.appservice.StorageMigrationOptions
Options for app content migration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet azureFiles connection string.Get azureFiles share.Get <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.Get <code>true</code>if the app should be switched over; otherwise, <code>false</code>.withAzurefilesConnectionString
(String azurefilesConnectionString) Set azureFiles connection string.withAzurefilesShare
(String azurefilesShare) Set azureFiles share.withBlockWriteAccessToSite
(Boolean blockWriteAccessToSite) Set <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.withSwitchSiteAfterMigration
(Boolean switchSiteAfterMigration) Set <code>true</code>if the app should be switched over; otherwise, <code>false</code>.Methods inherited from class com.microsoft.azure.management.appservice.ProxyOnlyResource
kind, withKind
Methods inherited from class com.microsoft.azure.ProxyResource
id, name, type
-
Constructor Details
-
StorageMigrationOptions
public StorageMigrationOptions()
-
-
Method Details
-
azurefilesConnectionString
Get azureFiles connection string.- Returns:
- the azurefilesConnectionString value
-
withAzurefilesConnectionString
Set azureFiles connection string.- Parameters:
azurefilesConnectionString
- the azurefilesConnectionString value to set- Returns:
- the StorageMigrationOptions object itself.
-
switchSiteAfterMigration
Get <code>true</code>if the app should be switched over; otherwise, <code>false</code>.- Returns:
- the switchSiteAfterMigration value
-
withSwitchSiteAfterMigration
Set <code>true</code>if the app should be switched over; otherwise, <code>false</code>.- Parameters:
switchSiteAfterMigration
- the switchSiteAfterMigration value to set- Returns:
- the StorageMigrationOptions object itself.
-
blockWriteAccessToSite
Get <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.- Returns:
- the blockWriteAccessToSite value
-
withBlockWriteAccessToSite
Set <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.- Parameters:
blockWriteAccessToSite
- the blockWriteAccessToSite value to set- Returns:
- the StorageMigrationOptions object itself.
-