generated/api/Models/NetworkCard.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>NetworkCard</summary> public partial class NetworkCard : Commvault.Powershell.Models.INetworkCard, Commvault.Powershell.Models.INetworkCardInternal { /// <summary>Backing field for <see cref="DestinationNetworks" /> property.</summary> private System.Collections.Generic.List<string> _destinationNetworks; /// <summary>Destination network name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<string> DestinationNetworks { get => this._destinationNetworks; set => this._destinationNetworks = value; } /// <summary>Backing field for <see cref="Network" /> property.</summary> private string _network; /// <summary>Name of network switch</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Network { get => this._network; set => this._network = value; } /// <summary>Backing field for <see cref="NetworkDisplayName" /> property.</summary> private string _networkDisplayName; /// <summary>Selected network display name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string NetworkDisplayName { get => this._networkDisplayName; set => this._networkDisplayName = value; } /// <summary>Backing field for <see cref="NetworkId" /> property.</summary> private string _networkId; /// <summary>VPC id for the amazon network</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string NetworkId { get => this._networkId; set => this._networkId = value; } /// <summary>Backing field for <see cref="NetworkNames" /> property.</summary> private System.Collections.Generic.List<string> _networkNames; /// <summary>Name of network to which the nic is connected</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<string> NetworkNames { get => this._networkNames; set => this._networkNames = value; } /// <summary>Backing field for <see cref="SubnetId" /> property.</summary> private string _subnetId; /// <summary>Subnet id of the subnet</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string SubnetId { get => this._subnetId; set => this._subnetId = value; } /// <summary>Creates an new <see cref="NetworkCard" /> instance.</summary> public NetworkCard() { } } /// NetworkCard public partial interface INetworkCard : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Destination network name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Destination network name", SerializedName = @"destinationNetworks", PossibleTypes = new [] { typeof(string) })] System.Collections.Generic.List<string> DestinationNetworks { get; set; } /// <summary>Name of network switch</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of network switch", SerializedName = @"network", PossibleTypes = new [] { typeof(string) })] string Network { get; set; } /// <summary>Selected network display name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Selected network display name", SerializedName = @"networkDisplayName", PossibleTypes = new [] { typeof(string) })] string NetworkDisplayName { get; set; } /// <summary>VPC id for the amazon network</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"VPC id for the amazon network", SerializedName = @"networkId", PossibleTypes = new [] { typeof(string) })] string NetworkId { get; set; } /// <summary>Name of network to which the nic is connected</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of network to which the nic is connected", SerializedName = @"networkNames", PossibleTypes = new [] { typeof(string) })] System.Collections.Generic.List<string> NetworkNames { get; set; } /// <summary>Subnet id of the subnet</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Subnet id of the subnet", SerializedName = @"subnetId", PossibleTypes = new [] { typeof(string) })] string SubnetId { get; set; } } /// NetworkCard internal partial interface INetworkCardInternal { /// <summary>Destination network name</summary> System.Collections.Generic.List<string> DestinationNetworks { get; set; } /// <summary>Name of network switch</summary> string Network { get; set; } /// <summary>Selected network display name</summary> string NetworkDisplayName { get; set; } /// <summary>VPC id for the amazon network</summary> string NetworkId { get; set; } /// <summary>Name of network to which the nic is connected</summary> System.Collections.Generic.List<string> NetworkNames { get; set; } /// <summary>Subnet id of the subnet</summary> string SubnetId { get; set; } } } |