generated/api/Models/ResourcePoolInventoryResponse.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>Inventory response of hypervisor for ResourcePool entity</summary> public partial class ResourcePoolInventoryResponse : Commvault.Powershell.Models.IResourcePoolInventoryResponse, Commvault.Powershell.Models.IResourcePoolInventoryResponseInternal { /// <summary>Backing field for <see cref="DataCenterName" /> property.</summary> private string _dataCenterName; /// <summary>dataCenter Name of the ResourcePool.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DataCenterName { get => this._dataCenterName; set => this._dataCenterName = value; } /// <summary>Backing field for <see cref="DnsHostName" /> property.</summary> private string _dnsHostName; /// <summary>dns Hostname of the ResourcePool.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DnsHostName { get => this._dnsHostName; set => this._dnsHostName = value; } /// <summary>Backing field for <see cref="EsxServerName" /> property.</summary> private string _esxServerName; /// <summary>esx server name of the ResourcePool.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string EsxServerName { get => this._esxServerName; set => this._esxServerName = value; } /// <summary>Backing field for <see cref="Resources" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IResourcepoolentityResponse> _resources; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IResourcepoolentityResponse> Resources { get => this._resources; set => this._resources = value; } /// <summary>Creates an new <see cref="ResourcePoolInventoryResponse" /> instance.</summary> public ResourcePoolInventoryResponse() { } } /// Inventory response of hypervisor for ResourcePool entity public partial interface IResourcePoolInventoryResponse : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>dataCenter Name of the ResourcePool.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"dataCenter Name of the ResourcePool.", SerializedName = @"dataCenterName", PossibleTypes = new [] { typeof(string) })] string DataCenterName { get; set; } /// <summary>dns Hostname of the ResourcePool.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"dns Hostname of the ResourcePool.", SerializedName = @"dnsHostName", PossibleTypes = new [] { typeof(string) })] string DnsHostName { get; set; } /// <summary>esx server name of the ResourcePool.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"esx server name of the ResourcePool.", SerializedName = @"esxServerName", PossibleTypes = new [] { typeof(string) })] string EsxServerName { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"resources", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IResourcepoolentityResponse) })] System.Collections.Generic.List<Commvault.Powershell.Models.IResourcepoolentityResponse> Resources { get; set; } } /// Inventory response of hypervisor for ResourcePool entity internal partial interface IResourcePoolInventoryResponseInternal { /// <summary>dataCenter Name of the ResourcePool.</summary> string DataCenterName { get; set; } /// <summary>dns Hostname of the ResourcePool.</summary> string DnsHostName { get; set; } /// <summary>esx server name of the ResourcePool.</summary> string EsxServerName { get; set; } System.Collections.Generic.List<Commvault.Powershell.Models.IResourcepoolentityResponse> Resources { get; set; } } } |