generated/api/Models/ContinuousPairFailoverRequest.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using static Commvault.Powershell.Runtime.Extensions; /// <summary>The payload of the replication monitor continuous pair failover request</summary> public partial class ContinuousPairFailoverRequest : Commvault.Powershell.Models.IContinuousPairFailoverRequest, Commvault.Powershell.Models.IContinuousPairFailoverRequestInternal { /// <summary>Backing field for <see cref="FailoverType" /> property.</summary> private string _failoverType; /// <summary>Type of failover to be performed</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string FailoverType { get => this._failoverType; set => this._failoverType = value; } /// <summary>Backing field for <see cref="FailoverVMName" /> property.</summary> private string _failoverVMName; /// <summary>New Failover VM Name - Applicable only for Test Failover and Clone DR VM</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string FailoverVMName { get => this._failoverVMName; set => this._failoverVMName = value; } /// <summary>Backing field for <see cref="Hostname" /> property.</summary> private string _hostname; /// <summary>Override boot options - Destination host name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Hostname { get => this._hostname; set => this._hostname = value; } /// <summary>Backing field for <see cref="RecoverFrom" /> property.</summary> private string _recoverFrom; /// <summary>Recovery point type</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string RecoverFrom { get => this._recoverFrom; set => this._recoverFrom = value; } /// <summary>Backing field for <see cref="RecoveryPointTime" /> property.</summary> private string _recoveryPointTime; /// <summary> /// Applicable if recoverFrom is GRAPH_SELECTION or RECOVERY_POINT. Format- MM/DD/YYY HH:MM:SS AM/PM /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string RecoveryPointTime { get => this._recoveryPointTime; set => this._recoveryPointTime = value; } /// <summary>Backing field for <see cref="VMExpirationTime" /> property.</summary> private long? _vMExpirationTime; /// <summary> /// Expiration time in seconds for new test failover VM - Applicable only for Test Failover /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? VMExpirationTime { get => this._vMExpirationTime; set => this._vMExpirationTime = value; } /// <summary>Backing field for <see cref="VMNetworkName" /> property.</summary> private string _vMNetworkName; /// <summary>Override boot options - Destination network</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string VMNetworkName { get => this._vMNetworkName; set => this._vMNetworkName = value; } /// <summary>Creates an new <see cref="ContinuousPairFailoverRequest" /> instance.</summary> public ContinuousPairFailoverRequest() { } } /// The payload of the replication monitor continuous pair failover request public partial interface IContinuousPairFailoverRequest : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Type of failover to be performed</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Description = @"Type of failover to be performed", SerializedName = @"failoverType", PossibleTypes = new [] { typeof(string) })] string FailoverType { get; set; } /// <summary>New Failover VM Name - Applicable only for Test Failover and Clone DR VM</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"New Failover VM Name - Applicable only for Test Failover and Clone DR VM", SerializedName = @"failoverVmName", PossibleTypes = new [] { typeof(string) })] string FailoverVMName { get; set; } /// <summary>Override boot options - Destination host name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Override boot options - Destination host name", SerializedName = @"hostname", PossibleTypes = new [] { typeof(string) })] string Hostname { get; set; } /// <summary>Recovery point type</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Description = @"Recovery point type", SerializedName = @"recoverFrom", PossibleTypes = new [] { typeof(string) })] string RecoverFrom { get; set; } /// <summary> /// Applicable if recoverFrom is GRAPH_SELECTION or RECOVERY_POINT. Format- MM/DD/YYY HH:MM:SS AM/PM /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Applicable if recoverFrom is GRAPH_SELECTION or RECOVERY_POINT. Format- MM/DD/YYY HH:MM:SS AM/PM", SerializedName = @"recoveryPointTime", PossibleTypes = new [] { typeof(string) })] string RecoveryPointTime { get; set; } /// <summary> /// Expiration time in seconds for new test failover VM - Applicable only for Test Failover /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Expiration time in seconds for new test failover VM - Applicable only for Test Failover", SerializedName = @"vmExpirationTime", PossibleTypes = new [] { typeof(long) })] long? VMExpirationTime { get; set; } /// <summary>Override boot options - Destination network</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Override boot options - Destination network", SerializedName = @"vmNetworkName", PossibleTypes = new [] { typeof(string) })] string VMNetworkName { get; set; } } /// The payload of the replication monitor continuous pair failover request internal partial interface IContinuousPairFailoverRequestInternal { /// <summary>Type of failover to be performed</summary> string FailoverType { get; set; } /// <summary>New Failover VM Name - Applicable only for Test Failover and Clone DR VM</summary> string FailoverVMName { get; set; } /// <summary>Override boot options - Destination host name</summary> string Hostname { get; set; } /// <summary>Recovery point type</summary> string RecoverFrom { get; set; } /// <summary> /// Applicable if recoverFrom is GRAPH_SELECTION or RECOVERY_POINT. Format- MM/DD/YYY HH:MM:SS AM/PM /// </summary> string RecoveryPointTime { get; set; } /// <summary> /// Expiration time in seconds for new test failover VM - Applicable only for Test Failover /// </summary> long? VMExpirationTime { get; set; } /// <summary>Override boot options - Destination network</summary> string VMNetworkName { get; set; } } } |