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 Details

    • StorageMigrationOptions

      public StorageMigrationOptions()
  • Method Details

    • 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.