generated/api/Models/TestFailoverVMLocation.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>Test failover VM location information</summary>
    public partial class TestFailoverVMLocation :
        Commvault.Powershell.Models.ITestFailoverVMLocation,
        Commvault.Powershell.Models.ITestFailoverVMLocationInternal
    {

        /// <summary>Backing field for <see cref="DataCenterName" /> property.</summary>
        private string _dataCenterName;

        /// <summary>datacentername of the test failover VM</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string DataCenterName { get => this._dataCenterName; set => this._dataCenterName = value; }

        /// <summary>Backing field for <see cref="HostName" /> property.</summary>
        private string _hostName;

        /// <summary>host name of the test failover VM</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string HostName { get => this._hostName; set => this._hostName = value; }

        /// <summary>Backing field for <see cref="VCenter" /> property.</summary>
        private string _vCenter;

        /// <summary>vCenter in which test failover VM exists</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string VCenter { get => this._vCenter; set => this._vCenter = value; }

        /// <summary>Creates an new <see cref="TestFailoverVMLocation" /> instance.</summary>
        public TestFailoverVMLocation()
        {

        }
    }
    /// Test failover VM location information
    public partial interface ITestFailoverVMLocation :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>datacentername of the test failover VM</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"datacentername of the test failover VM",
        SerializedName = @"dataCenterName",
        PossibleTypes = new [] { typeof(string) })]
        string DataCenterName { get; set; }
        /// <summary>host name of the test failover VM</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"host name of the test failover VM",
        SerializedName = @"hostName",
        PossibleTypes = new [] { typeof(string) })]
        string HostName { get; set; }
        /// <summary>vCenter in which test failover VM exists</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"vCenter in which test failover VM exists",
        SerializedName = @"vCenter",
        PossibleTypes = new [] { typeof(string) })]
        string VCenter { get; set; }

    }
    /// Test failover VM location information
    internal partial interface ITestFailoverVMLocationInternal

    {
        /// <summary>datacentername of the test failover VM</summary>
        string DataCenterName { get; set; }
        /// <summary>host name of the test failover VM</summary>
        string HostName { get; set; }
        /// <summary>vCenter in which test failover VM exists</summary>
        string VCenter { get; set; }

    }
}