generated/api/Models/AzureAdApp.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;

    public partial class AzureAdApp :
        Commvault.Powershell.Models.IAzureAdApp,
        Commvault.Powershell.Models.IAzureAdAppInternal
    {

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

        /// <summary>Azure Application ID</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ApplicationId { get => this._applicationId; set => this._applicationId = value; }

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

        /// <summary>Azure app secret key, needs to be base64 encoded</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ApplicationSecret { get => this._applicationSecret; set => this._applicationSecret = value; }

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

        }
    }
    public partial interface IAzureAdApp :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Azure Application ID</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"Azure Application ID",
        SerializedName = @"applicationId",
        PossibleTypes = new [] { typeof(string) })]
        string ApplicationId { get; set; }
        /// <summary>Azure app secret key, needs to be base64 encoded</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"Azure app secret key, needs to be base64 encoded",
        SerializedName = @"applicationSecret",
        PossibleTypes = new [] { typeof(string) })]
        string ApplicationSecret { get; set; }

    }
    internal partial interface IAzureAdAppInternal

    {
        /// <summary>Azure Application ID</summary>
        string ApplicationId { get; set; }
        /// <summary>Azure app secret key, needs to be base64 encoded</summary>
        string ApplicationSecret { get; set; }

    }
}