generated/api/Models/AwsDestinationInfo.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>Destination information for the AWS instances to restore</summary> public partial class AwsDestinationInfo : Commvault.Powershell.Models.IAwsDestinationInfo, Commvault.Powershell.Models.IAwsDestinationInfoInternal { /// <summary>Backing field for <see cref="AwsInstanceInfoList" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IAwsInstanceInfo> _awsInstanceInfoList; /// <summary>List of AWS instances that are to be restored</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IAwsInstanceInfo> AwsInstanceInfoList { get => this._awsInstanceInfoList; set => this._awsInstanceInfoList = value; } /// <summary>Backing field for <see cref="NamePrefix" /> property.</summary> private string _namePrefix; /// <summary>Adds prefix for instance 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 instance 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="AwsDestinationInfo" /> instance.</summary> public AwsDestinationInfo() { } } /// Destination information for the AWS instances to restore public partial interface IAwsDestinationInfo : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>List of AWS instances that are to be restored</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"List of AWS instances that are to be restored", SerializedName = @"awsInstanceInfoList", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IAwsInstanceInfo) })] System.Collections.Generic.List<Commvault.Powershell.Models.IAwsInstanceInfo> AwsInstanceInfoList { get; set; } /// <summary>Adds prefix for instance display name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Adds prefix for instance display name", SerializedName = @"namePrefix", PossibleTypes = new [] { typeof(string) })] string NamePrefix { get; set; } /// <summary>Adds suffix for instance display name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Adds suffix for instance display name", SerializedName = @"nameSuffix", PossibleTypes = new [] { typeof(string) })] string NameSuffix { get; set; } } /// Destination information for the AWS instances to restore internal partial interface IAwsDestinationInfoInternal { /// <summary>List of AWS instances that are to be restored</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IAwsInstanceInfo> AwsInstanceInfoList { get; set; } /// <summary>Adds prefix for instance display name</summary> string NamePrefix { get; set; } /// <summary>Adds suffix for instance display name</summary> string NameSuffix { get; set; } } } |