generated/api/Models/VMDestinationInfo.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 informantion for the VM to restore</summary> public partial class VMDestinationInfo : Commvault.Powershell.Models.IVMDestinationInfo, Commvault.Powershell.Models.IVMDestinationInfoInternal { /// <summary>List of AWS instances that are to be restored</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public System.Collections.Generic.List<Commvault.Powershell.Models.IAwsInstanceInfo> AwAwsInstanceInfoList { get => ((Commvault.Powershell.Models.IAwsDestinationInfoInternal)Aws).AwsInstanceInfoList; set => ((Commvault.Powershell.Models.IAwsDestinationInfoInternal)Aws).AwsInstanceInfoList = value ?? null /* arrayOf */; } /// <summary>Adds prefix for instance display name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string AwNamePrefix { get => ((Commvault.Powershell.Models.IAwsDestinationInfoInternal)Aws).NamePrefix; set => ((Commvault.Powershell.Models.IAwsDestinationInfoInternal)Aws).NamePrefix = value ?? null; } /// <summary>Adds suffix for instance display name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string AwNameSuffix { get => ((Commvault.Powershell.Models.IAwsDestinationInfoInternal)Aws).NameSuffix; set => ((Commvault.Powershell.Models.IAwsDestinationInfoInternal)Aws).NameSuffix = value ?? null; } /// <summary>Backing field for <see cref="Aws" /> property.</summary> private Commvault.Powershell.Models.IAwsDestinationInfo _aws; /// <summary>Destination information for the AWS instances to restore</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IAwsDestinationInfo Aws { get => (this._aws = this._aws ?? new Commvault.Powershell.Models.AwsDestinationInfo()); set => this._aws = value; } /// <summary>Backing field for <see cref="Azure" /> property.</summary> private Commvault.Powershell.Models.IAzureDestinationInfo _azure; /// <summary>Destination information for the Azure VMs to restore</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IAzureDestinationInfo Azure { get => (this._azure = this._azure ?? new Commvault.Powershell.Models.AzureDestinationInfo()); set => this._azure = value; } /// <summary>Adds prefix for VM display name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string AzureNamePrefix { get => ((Commvault.Powershell.Models.IAzureDestinationInfoInternal)Azure).NamePrefix; set => ((Commvault.Powershell.Models.IAzureDestinationInfoInternal)Azure).NamePrefix = value ?? null; } /// <summary>Adds suffix for VM display name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string AzureNameSuffix { get => ((Commvault.Powershell.Models.IAzureDestinationInfoInternal)Azure).NameSuffix; set => ((Commvault.Powershell.Models.IAzureDestinationInfoInternal)Azure).NameSuffix = value ?? null; } /// <summary>List of Azure VMs that are to be restored</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public System.Collections.Generic.List<Commvault.Powershell.Models.IAzureVMInfo> AzureVMInfoList { get => ((Commvault.Powershell.Models.IAzureDestinationInfoInternal)Azure).AzureVMInfoList; set => ((Commvault.Powershell.Models.IAzureDestinationInfoInternal)Azure).AzureVMInfoList = value ?? null /* arrayOf */; } /// <summary>Internal Acessors for Aws</summary> Commvault.Powershell.Models.IAwsDestinationInfo Commvault.Powershell.Models.IVMDestinationInfoInternal.Aws { get => (this._aws = this._aws ?? new Commvault.Powershell.Models.AwsDestinationInfo()); set { {_aws = value;} } } /// <summary>Internal Acessors for Azure</summary> Commvault.Powershell.Models.IAzureDestinationInfo Commvault.Powershell.Models.IVMDestinationInfoInternal.Azure { get => (this._azure = this._azure ?? new Commvault.Powershell.Models.AzureDestinationInfo()); set { {_azure = value;} } } /// <summary>Internal Acessors for GoogleCloud</summary> Commvault.Powershell.Models.IGoogleCloudDestinationInfo Commvault.Powershell.Models.IVMDestinationInfoInternal.GoogleCloud { get => (this._googleCloud = this._googleCloud ?? new Commvault.Powershell.Models.GoogleCloudDestinationInfo()); set { {_googleCloud = value;} } } /// <summary>Backing field for <see cref="GoogleCloud" /> property.</summary> private Commvault.Powershell.Models.IGoogleCloudDestinationInfo _googleCloud; /// <summary>Destination information for the GCP VMs to restore</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IGoogleCloudDestinationInfo GoogleCloud { get => (this._googleCloud = this._googleCloud ?? new Commvault.Powershell.Models.GoogleCloudDestinationInfo()); set => this._googleCloud = value; } /// <summary>Adds prefix for VM display name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string GoogleCloudNamePrefix { get => ((Commvault.Powershell.Models.IGoogleCloudDestinationInfoInternal)GoogleCloud).NamePrefix; set => ((Commvault.Powershell.Models.IGoogleCloudDestinationInfoInternal)GoogleCloud).NamePrefix = value ?? null; } /// <summary>Adds suffix for VM display name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string GoogleCloudNameSuffix { get => ((Commvault.Powershell.Models.IGoogleCloudDestinationInfoInternal)GoogleCloud).NameSuffix; set => ((Commvault.Powershell.Models.IGoogleCloudDestinationInfoInternal)GoogleCloud).NameSuffix = value ?? null; } /// <summary>List of Google Cloud VMs that are to be restored</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public System.Collections.Generic.List<Commvault.Powershell.Models.IGoogleCloudVMInfo> GoogleCloudVMInfoList { get => ((Commvault.Powershell.Models.IGoogleCloudDestinationInfoInternal)GoogleCloud).GoogleCloudVMInfoList; set => ((Commvault.Powershell.Models.IGoogleCloudDestinationInfoInternal)GoogleCloud).GoogleCloudVMInfoList = value ?? null /* arrayOf */; } /// <summary>Creates an new <see cref="VMDestinationInfo" /> instance.</summary> public VMDestinationInfo() { } } /// Destination informantion for the VM to restore public partial interface IVMDestinationInfo : 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> AwAwsInstanceInfoList { 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 AwNamePrefix { 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 AwNameSuffix { get; set; } /// <summary>Adds prefix for VM display name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Adds prefix for VM display name", SerializedName = @"namePrefix", PossibleTypes = new [] { typeof(string) })] string AzureNamePrefix { get; set; } /// <summary>Adds suffix for VM display name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Adds suffix for VM display name", SerializedName = @"nameSuffix", PossibleTypes = new [] { typeof(string) })] string AzureNameSuffix { get; set; } /// <summary>List of Azure VMs that are to be restored</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"List of Azure VMs that are to be restored", SerializedName = @"azureVMInfoList", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IAzureVMInfo) })] System.Collections.Generic.List<Commvault.Powershell.Models.IAzureVMInfo> AzureVMInfoList { get; set; } /// <summary>Adds prefix for VM display name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Adds prefix for VM display name", SerializedName = @"namePrefix", PossibleTypes = new [] { typeof(string) })] string GoogleCloudNamePrefix { get; set; } /// <summary>Adds suffix for VM display name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Adds suffix for VM display name", SerializedName = @"nameSuffix", PossibleTypes = new [] { typeof(string) })] string GoogleCloudNameSuffix { get; set; } /// <summary>List of Google Cloud VMs that are to be restored</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"List of Google Cloud VMs that are to be restored", SerializedName = @"googleCloudVMInfoList", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IGoogleCloudVMInfo) })] System.Collections.Generic.List<Commvault.Powershell.Models.IGoogleCloudVMInfo> GoogleCloudVMInfoList { get; set; } } /// Destination informantion for the VM to restore internal partial interface IVMDestinationInfoInternal { /// <summary>List of AWS instances that are to be restored</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IAwsInstanceInfo> AwAwsInstanceInfoList { get; set; } /// <summary>Adds prefix for instance display name</summary> string AwNamePrefix { get; set; } /// <summary>Adds suffix for instance display name</summary> string AwNameSuffix { get; set; } /// <summary>Destination information for the AWS instances to restore</summary> Commvault.Powershell.Models.IAwsDestinationInfo Aws { get; set; } /// <summary>Destination information for the Azure VMs to restore</summary> Commvault.Powershell.Models.IAzureDestinationInfo Azure { get; set; } /// <summary>Adds prefix for VM display name</summary> string AzureNamePrefix { get; set; } /// <summary>Adds suffix for VM display name</summary> string AzureNameSuffix { get; set; } /// <summary>List of Azure VMs that are to be restored</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IAzureVMInfo> AzureVMInfoList { get; set; } /// <summary>Destination information for the GCP VMs to restore</summary> Commvault.Powershell.Models.IGoogleCloudDestinationInfo GoogleCloud { get; set; } /// <summary>Adds prefix for VM display name</summary> string GoogleCloudNamePrefix { get; set; } /// <summary>Adds suffix for VM display name</summary> string GoogleCloudNameSuffix { get; set; } /// <summary>List of Google Cloud VMs that are to be restored</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IGoogleCloudVMInfo> GoogleCloudVMInfoList { get; set; } } } |