generated/api/Models/KubernetesClusterCredentials.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>Credentials of a Kubernetes cluster</summary> public partial class KubernetesClusterCredentials : Commvault.Powershell.Models.IKubernetesClusterCredentials, Commvault.Powershell.Models.IKubernetesClusterCredentialsInternal { /// <summary>Backing field for <see cref="ApiServer" /> property.</summary> private string _apiServer; /// <summary>API Server Endpoint of the cluster</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ApiServer { get => this._apiServer; set => this._apiServer = value; } /// <summary>Backing field for <see cref="ServiceAccount" /> property.</summary> private string _serviceAccount; /// <summary>Name of the Service Account to authenticate with the cluster</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ServiceAccount { get => this._serviceAccount; set => this._serviceAccount = value; } /// <summary>Backing field for <see cref="ServiceToken" /> property.</summary> private string _serviceToken; /// <summary>Secret token to authenticate with the cluster</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ServiceToken { get => this._serviceToken; set => this._serviceToken = value; } /// <summary>Creates an new <see cref="KubernetesClusterCredentials" /> instance.</summary> public KubernetesClusterCredentials() { } } /// Credentials of a Kubernetes cluster public partial interface IKubernetesClusterCredentials : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>API Server Endpoint of the cluster</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"API Server Endpoint of the cluster", SerializedName = @"apiServer", PossibleTypes = new [] { typeof(string) })] string ApiServer { get; set; } /// <summary>Name of the Service Account to authenticate with the cluster</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of the Service Account to authenticate with the cluster", SerializedName = @"serviceAccount", PossibleTypes = new [] { typeof(string) })] string ServiceAccount { get; set; } /// <summary>Secret token to authenticate with the cluster</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Secret token to authenticate with the cluster", SerializedName = @"serviceToken", PossibleTypes = new [] { typeof(string) })] string ServiceToken { get; set; } } /// Credentials of a Kubernetes cluster internal partial interface IKubernetesClusterCredentialsInternal { /// <summary>API Server Endpoint of the cluster</summary> string ApiServer { get; set; } /// <summary>Name of the Service Account to authenticate with the cluster</summary> string ServiceAccount { get; set; } /// <summary>Secret token to authenticate with the cluster</summary> string ServiceToken { get; set; } } } |