Class StorageMigrationOptionsProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.StorageMigrationOptionsProperties
StorageMigrationOptions resource specific properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the azurefilesConnectionString property: AzureFiles connection string.Get the azurefilesShare property: AzureFiles share.Get the blockWriteAccessToSite property: <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.Get the switchSiteAfterMigration property: <code>true</code>if the app should be switched over; otherwise, <code>false</code>.void
validate()
Validates the instance.withAzurefilesConnectionString
(String azurefilesConnectionString) Set the azurefilesConnectionString property: AzureFiles connection string.withAzurefilesShare
(String azurefilesShare) Set the azurefilesShare property: AzureFiles share.withBlockWriteAccessToSite
(Boolean blockWriteAccessToSite) Set the blockWriteAccessToSite property: <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.withSwitchSiteAfterMigration
(Boolean switchSiteAfterMigration) Set the switchSiteAfterMigration property: <code>true</code>if the app should be switched over; otherwise, <code>false</code>.
-
Constructor Details
-
StorageMigrationOptionsProperties
public StorageMigrationOptionsProperties()
-
-
Method Details
-
azurefilesConnectionString
Get the azurefilesConnectionString property: AzureFiles connection string.- Returns:
- the azurefilesConnectionString value.
-
withAzurefilesConnectionString
public StorageMigrationOptionsProperties withAzurefilesConnectionString(String azurefilesConnectionString) Set the azurefilesConnectionString property: AzureFiles connection string.- Parameters:
azurefilesConnectionString
- the azurefilesConnectionString value to set.- Returns:
- the StorageMigrationOptionsProperties object itself.
-
switchSiteAfterMigration
Get the switchSiteAfterMigration property: <code>true</code>if the app should be switched over; otherwise, <code>false</code>.- Returns:
- the switchSiteAfterMigration value.
-
withSwitchSiteAfterMigration
public StorageMigrationOptionsProperties withSwitchSiteAfterMigration(Boolean switchSiteAfterMigration) Set the switchSiteAfterMigration property: <code>true</code>if the app should be switched over; otherwise, <code>false</code>.- Parameters:
switchSiteAfterMigration
- the switchSiteAfterMigration value to set.- Returns:
- the StorageMigrationOptionsProperties object itself.
-
blockWriteAccessToSite
Get the blockWriteAccessToSite property: <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.- Returns:
- the blockWriteAccessToSite value.
-
withBlockWriteAccessToSite
Set the blockWriteAccessToSite property: <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 StorageMigrationOptionsProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-