generated/api/Models/ReplicationGroupAdvOptionsAzure.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>Advanced options for Azure replication group</summary>
    public partial class ReplicationGroupAdvOptionsAzure :
        Commvault.Powershell.Models.IReplicationGroupAdvOptionsAzure,
        Commvault.Powershell.Models.IReplicationGroupAdvOptionsAzureInternal
    {

        /// <summary>Backing field for <see cref="DeployVMOnlyDuringfailover" /> property.</summary>
        private bool? _deployVMOnlyDuringfailover;

        /// <summary>Select this option to deploy a VM only when a failover operation is requested</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? DeployVMOnlyDuringfailover { get => this._deployVMOnlyDuringfailover; set => this._deployVMOnlyDuringfailover = value; }

        /// <summary>Backing field for <see cref="UnconditionalOverwrite" /> property.</summary>
        private bool? _unconditionalOverwrite;

        /// <summary>
        /// This will replace the instance at the destination if the instance with the same name already exists.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? UnconditionalOverwrite { get => this._unconditionalOverwrite; set => this._unconditionalOverwrite = value; }

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

        }
    }
    /// Advanced options for Azure replication group
    public partial interface IReplicationGroupAdvOptionsAzure :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Select this option to deploy a VM only when a failover operation is requested</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Select this option to deploy a VM only when a failover operation is requested",
        SerializedName = @"deployVmOnlyDuringfailover",
        PossibleTypes = new [] { typeof(bool) })]
        bool? DeployVMOnlyDuringfailover { get; set; }
        /// <summary>
        /// This will replace the instance at the destination if the instance with the same name already exists.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"This will replace the instance at the destination if the instance with the same name already exists.",
        SerializedName = @"unconditionalOverwrite",
        PossibleTypes = new [] { typeof(bool) })]
        bool? UnconditionalOverwrite { get; set; }

    }
    /// Advanced options for Azure replication group
    internal partial interface IReplicationGroupAdvOptionsAzureInternal

    {
        /// <summary>Select this option to deploy a VM only when a failover operation is requested</summary>
        bool? DeployVMOnlyDuringfailover { get; set; }
        /// <summary>
        /// This will replace the instance at the destination if the instance with the same name already exists.
        /// </summary>
        bool? UnconditionalOverwrite { get; set; }

    }
}