generated/api/Models/AzureDestinationInfo.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>Destination information for the Azure VMs to restore</summary>
    public partial class AzureDestinationInfo :
        Commvault.Powershell.Models.IAzureDestinationInfo,
        Commvault.Powershell.Models.IAzureDestinationInfoInternal
    {

        /// <summary>Backing field for <see cref="AzureVMInfoList" /> property.</summary>
        private Commvault.Powershell.Models.IAzureVMInfo[] _azureVMInfoList;

        /// <summary>List of Azure VMs that are to be restored</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IAzureVMInfo[] AzureVMInfoList { get => this._azureVMInfoList; set => this._azureVMInfoList = value; }

        /// <summary>Backing field for <see cref="NamePrefix" /> property.</summary>
        private string _namePrefix;

        /// <summary>Adds prefix for VM display name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string NamePrefix { get => this._namePrefix; set => this._namePrefix = value; }

        /// <summary>Backing field for <see cref="NameSuffix" /> property.</summary>
        private string _nameSuffix;

        /// <summary>Adds suffix for VM display name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string NameSuffix { get => this._nameSuffix; set => this._nameSuffix = value; }

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

        }
    }
    /// Destination information for the Azure VMs to restore
    public partial interface IAzureDestinationInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>List of Azure VMs that are to be restored</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"List of Azure VMs that are to be restored",
        SerializedName = @"azureVMInfoList",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IAzureVMInfo) })]
        Commvault.Powershell.Models.IAzureVMInfo[] AzureVMInfoList { get; set; }
        /// <summary>Adds prefix for VM display name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Adds prefix for VM display name",
        SerializedName = @"namePrefix",
        PossibleTypes = new [] { typeof(string) })]
        string NamePrefix { get; set; }
        /// <summary>Adds suffix for VM display name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Adds suffix for VM display name",
        SerializedName = @"nameSuffix",
        PossibleTypes = new [] { typeof(string) })]
        string NameSuffix { get; set; }

    }
    /// Destination information for the Azure VMs to restore
    internal partial interface IAzureDestinationInfoInternal

    {
        /// <summary>List of Azure VMs that are to be restored</summary>
        Commvault.Powershell.Models.IAzureVMInfo[] AzureVMInfoList { get; set; }
        /// <summary>Adds prefix for VM display name</summary>
        string NamePrefix { get; set; }
        /// <summary>Adds suffix for VM display name</summary>
        string NameSuffix { get; set; }

    }
}