generated/api/Models/EsxServerMapping.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>An entity to represent one-one ESX server mapping rule</summary> public partial class EsxServerMapping : Commvault.Powershell.Models.IEsxServerMapping, Commvault.Powershell.Models.IEsxServerMappingInternal { /// <summary>Backing field for <see cref="DestinationServer" /> property.</summary> private string _destinationServer; /// <summary>The name of destination ESX server</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DestinationServer { get => this._destinationServer; set => this._destinationServer = value; } /// <summary>Backing field for <see cref="NetworkSettings" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.INetworkSetting> _networkSettings; /// <summary> /// The list of all source network interface to destination network interface mapping /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.INetworkSetting> NetworkSettings { get => this._networkSettings; set => this._networkSettings = value; } /// <summary>Backing field for <see cref="SourceServer" /> property.</summary> private string _sourceServer; /// <summary>The name of source ESX server</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string SourceServer { get => this._sourceServer; set => this._sourceServer = value; } /// <summary>Creates an new <see cref="EsxServerMapping" /> instance.</summary> public EsxServerMapping() { } } /// An entity to represent one-one ESX server mapping rule public partial interface IEsxServerMapping : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>The name of destination ESX server</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The name of destination ESX server", SerializedName = @"destinationServer", PossibleTypes = new [] { typeof(string) })] string DestinationServer { get; set; } /// <summary> /// The list of all source network interface to destination network interface mapping /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The list of all source network interface to destination network interface mapping", SerializedName = @"networkSettings", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.INetworkSetting) })] System.Collections.Generic.List<Commvault.Powershell.Models.INetworkSetting> NetworkSettings { get; set; } /// <summary>The name of source ESX server</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The name of source ESX server", SerializedName = @"sourceServer", PossibleTypes = new [] { typeof(string) })] string SourceServer { get; set; } } /// An entity to represent one-one ESX server mapping rule internal partial interface IEsxServerMappingInternal { /// <summary>The name of destination ESX server</summary> string DestinationServer { get; set; } /// <summary> /// The list of all source network interface to destination network interface mapping /// </summary> System.Collections.Generic.List<Commvault.Powershell.Models.INetworkSetting> NetworkSettings { get; set; } /// <summary>The name of source ESX server</summary> string SourceServer { get; set; } } } |