AzureCacheForRedisMigrationProperties Class
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.
Properties for Redis Enterprise migration operation for Azure Cache for Redis.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.AzureCacheForRedisMigrationPropertiesTypeConverter))]
public class AzureCacheForRedisMigrationProperties : Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.IAzureCacheForRedisMigrationProperties, Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.AzureCacheForRedisMigrationPropertiesTypeConverter))>]
type AzureCacheForRedisMigrationProperties = class
interface IAzureCacheForRedisMigrationProperties
interface IJsonSerializable
interface IMigrationProperties
interface IValidates
Public Class AzureCacheForRedisMigrationProperties
Implements IAzureCacheForRedisMigrationProperties, IValidates
- Inheritance
-
AzureCacheForRedisMigrationProperties
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| AzureCacheForRedisMigrationProperties() |
Creates an new AzureCacheForRedisMigrationProperties instance. |
Properties
| Name | Description |
|---|---|
| CreationTime |
The timestamp when the migration operation was created. |
| ForceMigrate |
Sets whether to ignore warnings when performing validation of the migration request. If this property is true, warning-level disparities between the source and target resources will be ignored, and the request will only fail validation if there are error-level disparities. The default value is false. |
| LastModifiedTime |
The timestamp when the migration operation was last updated. |
| ProvisioningState |
Current provisioning status of the migration |
| RollbackEligibleUntil |
The timestamp until which a successful migration remains eligible to be undone (rolled back) to the source cache. This property is only returned while the migration is in the Succeeded state, and is calculated from the time the migration succeeded plus the rollback window. After this time the source cache is released and the migration can no longer be undone. |
| SkipDataMigration |
Sets whether the data is migrated from source to target or not. Set this property to true to skip data migration. |
| SourceResourceId |
The source resource ID to migrate from. This is the resource ID of the Azure Cache for Redis. |
| SourceType |
Describes the source of the migration operation. |
| StatusDetail |
Additional details about the migration operation's status in free text format. |
| SwitchDns |
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. |
| TargetResourceId |
The Azure resource ID of the Azure Managed Redis destination cache to migrate. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of AzureCacheForRedisMigrationProperties. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of AzureCacheForRedisMigrationProperties. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.IAzureCacheForRedisMigrationProperties. |
| FromJsonString(String) |
Creates a new instance of AzureCacheForRedisMigrationProperties, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of AzureCacheForRedisMigrationProperties into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |