generated/api/Models/NetworkVpcSubnet.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>Network info</summary> public partial class NetworkVpcSubnet : Commvault.Powershell.Models.INetworkVpcSubnet, Commvault.Powershell.Models.INetworkVpcSubnetInternal { /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>The name of the network</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="PrivateIPaddress" /> property.</summary> private string _privateIPaddress; /// <summary>The private IP address of the network</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string PrivateIPaddress { get => this._privateIPaddress; set => this._privateIPaddress = value; } /// <summary>Backing field for <see cref="SubnetId" /> property.</summary> private string _subnetId; /// <summary>The ID of the subnet</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string SubnetId { get => this._subnetId; set => this._subnetId = value; } /// <summary>Backing field for <see cref="Vpc" /> property.</summary> private string _vpc; /// <summary>The ID of the VPC</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Vpc { get => this._vpc; set => this._vpc = value; } /// <summary>Creates an new <see cref="NetworkVpcSubnet" /> instance.</summary> public NetworkVpcSubnet() { } } /// Network info public partial interface INetworkVpcSubnet : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>The name of the network</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The name of the network", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// <summary>The private IP address of the network</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The private IP address of the network", SerializedName = @"privateIPaddress", PossibleTypes = new [] { typeof(string) })] string PrivateIPaddress { get; set; } /// <summary>The ID of the subnet</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The ID of the subnet", SerializedName = @"subnetId", PossibleTypes = new [] { typeof(string) })] string SubnetId { get; set; } /// <summary>The ID of the VPC</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The ID of the VPC", SerializedName = @"vpc", PossibleTypes = new [] { typeof(string) })] string Vpc { get; set; } } /// Network info internal partial interface INetworkVpcSubnetInternal { /// <summary>The name of the network</summary> string Name { get; set; } /// <summary>The private IP address of the network</summary> string PrivateIPaddress { get; set; } /// <summary>The ID of the subnet</summary> string SubnetId { get; set; } /// <summary>The ID of the VPC</summary> string Vpc { get; set; } } } |