AzureCacheForRedisMigrationProperties Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AzureCacheForRedisMigrationProperties.
public AzureCacheForRedisMigrationProperties(Azure.Core.ResourceIdentifier sourceResourceId, bool isSwitchDns, bool isSkipDataMigration);
new Azure.ResourceManager.RedisEnterprise.Models.AzureCacheForRedisMigrationProperties : Azure.Core.ResourceIdentifier * bool * bool -> Azure.ResourceManager.RedisEnterprise.Models.AzureCacheForRedisMigrationProperties
Public Sub New (sourceResourceId As ResourceIdentifier, isSwitchDns As Boolean, isSkipDataMigration As Boolean)
Parameters
- sourceResourceId
- ResourceIdentifier
The source resource ID to migrate from. This is the resource ID of the Azure Cache for Redis.
- isSwitchDns
- Boolean
Sets whether the DNS is switched automatically after the data is transferred from the source cache to the target cache. This property must be true during the preview.
- isSkipDataMigration
- Boolean
Sets whether the data is migrated from source to target or not. This property must be true during the preview.
Exceptions
sourceResourceId is null.