generated/api/Models/FailoverGroupAutomaticFailover.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708) // 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 failover group automatic failover information of access nodes and monitoring status /// </summary> public partial class FailoverGroupAutomaticFailover : Commvault.Powershell.Models.IFailoverGroupAutomaticFailover, Commvault.Powershell.Models.IFailoverGroupAutomaticFailoverInternal { /// <summary>Backing field for <see cref="Machines" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> _machines; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> Machines { get => this._machines; set => this._machines = value; } /// <summary>Backing field for <see cref="MonitoringStatus" /> property.</summary> private string _monitoringStatus; /// <summary>Automatic failover monitoring status</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string MonitoringStatus { get => this._monitoringStatus; set => this._monitoringStatus = value; } /// <summary>Backing field for <see cref="OutageDelayTimeInMinutes" /> property.</summary> private long? _outageDelayTimeInMinutes; /// <summary>Delay time before declaring outage (in minutes)</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? OutageDelayTimeInMinutes { get => this._outageDelayTimeInMinutes; set => this._outageDelayTimeInMinutes = value; } /// <summary>Backing field for <see cref="Status" /> property.</summary> private string _status; /// <summary>Automatic failover configuration status</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Status { get => this._status; set => this._status = value; } /// <summary>Creates an new <see cref="FailoverGroupAutomaticFailover" /> instance.</summary> public FailoverGroupAutomaticFailover() { } } /// The failover group automatic failover information of access nodes and monitoring status public partial interface IFailoverGroupAutomaticFailover : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"machines", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })] System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> Machines { get; set; } /// <summary>Automatic failover monitoring status</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Automatic failover monitoring status", SerializedName = @"monitoringStatus", PossibleTypes = new [] { typeof(string) })] string MonitoringStatus { get; set; } /// <summary>Delay time before declaring outage (in minutes)</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Delay time before declaring outage (in minutes)", SerializedName = @"outageDelayTimeInMinutes", PossibleTypes = new [] { typeof(long) })] long? OutageDelayTimeInMinutes { get; set; } /// <summary>Automatic failover configuration status</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Automatic failover configuration status", SerializedName = @"status", PossibleTypes = new [] { typeof(string) })] string Status { get; set; } } /// The failover group automatic failover information of access nodes and monitoring status internal partial interface IFailoverGroupAutomaticFailoverInternal { System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> Machines { get; set; } /// <summary>Automatic failover monitoring status</summary> string MonitoringStatus { get; set; } /// <summary>Delay time before declaring outage (in minutes)</summary> long? OutageDelayTimeInMinutes { get; set; } /// <summary>Automatic failover configuration status</summary> string Status { get; set; } } } |