generated/api/Models/VMBackupInfo.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;

    public partial class VMBackupInfo :
        Commvault.Powershell.Models.IVMBackupInfo,
        Commvault.Powershell.Models.IVMBackupInfoInternal
    {

        /// <summary>Backing field for <see cref="VMBackedUpWithErrorCount" /> property.</summary>
        private long? _vMBackedUpWithErrorCount;

        /// <summary>VM Backed up with error count</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? VMBackedUpWithErrorCount { get => this._vMBackedUpWithErrorCount; set => this._vMBackedUpWithErrorCount = value; }

        /// <summary>Backing field for <see cref="VMNeverBackedUpCount" /> property.</summary>
        private long? _vMNeverBackedUpCount;

        /// <summary>vm never Backed up count</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? VMNeverBackedUpCount { get => this._vMNeverBackedUpCount; set => this._vMNeverBackedUpCount = value; }

        /// <summary>Backing field for <see cref="VMNotProtectedCount" /> property.</summary>
        private long? _vMNotProtectedCount;

        /// <summary>VM Missed to protect count</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? VMNotProtectedCount { get => this._vMNotProtectedCount; set => this._vMNotProtectedCount = value; }

        /// <summary>Backing field for <see cref="VMPendingCount" /> property.</summary>
        private long? _vMPendingCount;

        /// <summary>VMs pending for Backup</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? VMPendingCount { get => this._vMPendingCount; set => this._vMPendingCount = value; }

        /// <summary>Backing field for <see cref="VMProtectedCount" /> property.</summary>
        private long? _vMProtectedCount;

        /// <summary>Protected vm Count</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? VMProtectedCount { get => this._vMProtectedCount; set => this._vMProtectedCount = value; }

        /// <summary>Backing field for <see cref="VMTotalCount" /> property.</summary>
        private long? _vMTotalCount;

        /// <summary>Total vm Count</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? VMTotalCount { get => this._vMTotalCount; set => this._vMTotalCount = value; }

        /// <summary>Creates an new <see cref="VMBackupInfo" /> instance.</summary>
        public VMBackupInfo()
        {

        }
    }
    public partial interface IVMBackupInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>VM Backed up with error count</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"VM Backed up with error count",
        SerializedName = @"vmBackedUpWithErrorCount",
        PossibleTypes = new [] { typeof(long) })]
        long? VMBackedUpWithErrorCount { get; set; }
        /// <summary>vm never Backed up count</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"vm never Backed up count",
        SerializedName = @"vmNeverBackedUpCount",
        PossibleTypes = new [] { typeof(long) })]
        long? VMNeverBackedUpCount { get; set; }
        /// <summary>VM Missed to protect count</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"VM Missed to protect count",
        SerializedName = @"vmNotProtectedCount",
        PossibleTypes = new [] { typeof(long) })]
        long? VMNotProtectedCount { get; set; }
        /// <summary>VMs pending for Backup</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"VMs pending for Backup",
        SerializedName = @"vmPendingCount",
        PossibleTypes = new [] { typeof(long) })]
        long? VMPendingCount { get; set; }
        /// <summary>Protected vm Count</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Protected vm Count",
        SerializedName = @"vmProtectedCount",
        PossibleTypes = new [] { typeof(long) })]
        long? VMProtectedCount { get; set; }
        /// <summary>Total vm Count</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @" Total vm Count",
        SerializedName = @"vmTotalCount",
        PossibleTypes = new [] { typeof(long) })]
        long? VMTotalCount { get; set; }

    }
    internal partial interface IVMBackupInfoInternal

    {
        /// <summary>VM Backed up with error count</summary>
        long? VMBackedUpWithErrorCount { get; set; }
        /// <summary>vm never Backed up count</summary>
        long? VMNeverBackedUpCount { get; set; }
        /// <summary>VM Missed to protect count</summary>
        long? VMNotProtectedCount { get; set; }
        /// <summary>VMs pending for Backup</summary>
        long? VMPendingCount { get; set; }
        /// <summary>Protected vm Count</summary>
        long? VMProtectedCount { get; set; }
        /// <summary>Total vm Count</summary>
        long? VMTotalCount { get; set; }

    }
}