generated/api/Models/Zone.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415)
// 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>Zone</summary>
    public partial class Zone :
        Commvault.Powershell.Models.IZone,
        Commvault.Powershell.Models.IZoneInternal
    {

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

        /// <summary>Name of Primary Zone for the VM to deploy</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string PrimaryZoneName { get => this._primaryZoneName; set => this._primaryZoneName = value; }

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

        /// <summary>Name of Secondary Zone for the VM to deploy</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string SecondaryZoneName { get => this._secondaryZoneName; set => this._secondaryZoneName = value; }

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

        }
    }
    /// Zone
    public partial interface IZone :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Name of Primary Zone for the VM to deploy</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Name of Primary Zone for the VM to deploy",
        SerializedName = @"primaryZoneName",
        PossibleTypes = new [] { typeof(string) })]
        string PrimaryZoneName { get; set; }
        /// <summary>Name of Secondary Zone for the VM to deploy</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Name of Secondary Zone for the VM to deploy",
        SerializedName = @"secondaryZoneName",
        PossibleTypes = new [] { typeof(string) })]
        string SecondaryZoneName { get; set; }

    }
    /// Zone
    internal partial interface IZoneInternal

    {
        /// <summary>Name of Primary Zone for the VM to deploy</summary>
        string PrimaryZoneName { get; set; }
        /// <summary>Name of Secondary Zone for the VM to deploy</summary>
        string SecondaryZoneName { get; set; }

    }
}