ArmRedisEnterpriseModelFactory.AzureCacheForRedisMigrationProperties Method
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.
public static Azure.ResourceManager.RedisEnterprise.Models.AzureCacheForRedisMigrationProperties AzureCacheForRedisMigrationProperties(Azure.Core.ResourceIdentifier targetResourceId = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseMigrationProvisioningState? provisioningState = default, string statusDetails = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, Azure.Core.ResourceIdentifier sourceResourceId = default, bool isSwitchDns = false, bool isSkipDataMigration = false);
static member AzureCacheForRedisMigrationProperties : Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseMigrationProvisioningState> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * bool * bool -> Azure.ResourceManager.RedisEnterprise.Models.AzureCacheForRedisMigrationProperties
Public Shared Function AzureCacheForRedisMigrationProperties (Optional targetResourceId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of RedisEnterpriseMigrationProvisioningState) = Nothing, Optional statusDetails As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional sourceResourceId As ResourceIdentifier = Nothing, Optional isSwitchDns As Boolean = false, Optional isSkipDataMigration As Boolean = false) As AzureCacheForRedisMigrationProperties
Parameters
- targetResourceId
- ResourceIdentifier
The Azure resource ID of the Azure Managed Redis destination cache to migrate.
- provisioningState
- Nullable<RedisEnterpriseMigrationProvisioningState>
Current provisioning status of the migration.
- statusDetails
- String
Additional details about the migration operation's status in free text format.
- createdOn
- Nullable<DateTimeOffset>
The timestamp when the migration operation was created.
- lastModifiedOn
- Nullable<DateTimeOffset>
The timestamp when the migration operation was last updated.
- 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.
Returns
A new AzureCacheForRedisMigrationProperties instance for mocking.