public class StorageMigrationOptions extends ProxyOnlyResource
| Constructor and Description |
|---|
StorageMigrationOptions() |
| Modifier and Type | Method and Description |
|---|---|
String |
azurefilesConnectionString()
Get the azurefilesConnectionString property: AzureFiles connection string.
|
String |
azurefilesShare()
Get the azurefilesShare property: AzureFiles share.
|
Boolean |
blockWriteAccessToSite()
Get the blockWriteAccessToSite property: <code>true</code> if the app should be read only during copy
operation; otherwise, <code>false</code>.
|
Boolean |
switchSiteAfterMigration()
Get the switchSiteAfterMigration property: <code>true</code>if the app should be switched over;
otherwise, <code>false</code>.
|
void |
validate()
Validates the instance.
|
StorageMigrationOptions |
withAzurefilesConnectionString(String azurefilesConnectionString)
Set the azurefilesConnectionString property: AzureFiles connection string.
|
StorageMigrationOptions |
withAzurefilesShare(String azurefilesShare)
Set the azurefilesShare property: AzureFiles share.
|
StorageMigrationOptions |
withBlockWriteAccessToSite(Boolean blockWriteAccessToSite)
Set the blockWriteAccessToSite property: <code>true</code> if the app should be read only during copy
operation; otherwise, <code>false</code>.
|
StorageMigrationOptions |
withKind(String kind)
Set the kind property: Kind of resource.
|
StorageMigrationOptions |
withSwitchSiteAfterMigration(Boolean switchSiteAfterMigration)
Set the switchSiteAfterMigration property: <code>true</code>if the app should be switched over;
otherwise, <code>false</code>.
|
kindpublic String azurefilesConnectionString()
public StorageMigrationOptions withAzurefilesConnectionString(String azurefilesConnectionString)
azurefilesConnectionString - the azurefilesConnectionString value to set.public String azurefilesShare()
public StorageMigrationOptions withAzurefilesShare(String azurefilesShare)
azurefilesShare - the azurefilesShare value to set.public Boolean switchSiteAfterMigration()
public StorageMigrationOptions withSwitchSiteAfterMigration(Boolean switchSiteAfterMigration)
switchSiteAfterMigration - the switchSiteAfterMigration value to set.public Boolean blockWriteAccessToSite()
public StorageMigrationOptions withBlockWriteAccessToSite(Boolean blockWriteAccessToSite)
blockWriteAccessToSite - the blockWriteAccessToSite value to set.public StorageMigrationOptions withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.