Class StorageMigrationOptions
- java.lang.Object
-
- com.microsoft.azure.ProxyResource
-
- com.microsoft.azure.management.appservice.ProxyOnlyResource
-
- com.microsoft.azure.management.appservice.StorageMigrationOptions
-
public class StorageMigrationOptions extends ProxyOnlyResource
Options for app content migration.
-
-
Constructor Summary
Constructors Constructor Description StorageMigrationOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringazurefilesConnectionString()Get azureFiles connection string.StringazurefilesShare()Get azureFiles share.BooleanblockWriteAccessToSite()Get <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.BooleanswitchSiteAfterMigration()Get <code>true</code>if the app should be switched over; otherwise, <code>false</code>.StorageMigrationOptionswithAzurefilesConnectionString(String azurefilesConnectionString)Set azureFiles connection string.StorageMigrationOptionswithAzurefilesShare(String azurefilesShare)Set azureFiles share.StorageMigrationOptionswithBlockWriteAccessToSite(Boolean blockWriteAccessToSite)Set <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.StorageMigrationOptionswithSwitchSiteAfterMigration(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
-
-
-
-
Method Detail
-
azurefilesConnectionString
public String azurefilesConnectionString()
Get azureFiles connection string.- Returns:
- the azurefilesConnectionString value
-
withAzurefilesConnectionString
public StorageMigrationOptions withAzurefilesConnectionString(String azurefilesConnectionString)
Set azureFiles connection string.- Parameters:
azurefilesConnectionString- the azurefilesConnectionString value to set- Returns:
- the StorageMigrationOptions object itself.
-
azurefilesShare
public String azurefilesShare()
Get azureFiles share.- Returns:
- the azurefilesShare value
-
withAzurefilesShare
public StorageMigrationOptions withAzurefilesShare(String azurefilesShare)
Set azureFiles share.- Parameters:
azurefilesShare- the azurefilesShare value to set- Returns:
- the StorageMigrationOptions object itself.
-
switchSiteAfterMigration
public Boolean switchSiteAfterMigration()
Get <code>true</code>if the app should be switched over; otherwise, <code>false</code>.- Returns:
- the switchSiteAfterMigration value
-
withSwitchSiteAfterMigration
public StorageMigrationOptions withSwitchSiteAfterMigration(Boolean switchSiteAfterMigration)
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
public Boolean blockWriteAccessToSite()
Get <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.- Returns:
- the blockWriteAccessToSite value
-
withBlockWriteAccessToSite
public StorageMigrationOptions withBlockWriteAccessToSite(Boolean blockWriteAccessToSite)
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.
-
-