generated/api/Models/ClusterImageRegistryOptions.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>Request definition changing image registry options for cluster</summary>
    public partial class ClusterImageRegistryOptions :
        Commvault.Powershell.Models.IClusterImageRegistryOptions,
        Commvault.Powershell.Models.IClusterImageRegistryOptionsInternal
    {

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

        /// <summary>Specify image pull secret to authenticate with the image repository</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string PullSecret { get => this._pullSecret; set => this._pullSecret = value; }

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

        /// <summary>Specify image registry URL for internal image repository</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Url { get => this._url; set => this._url = value; }

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

        }
    }
    /// Request definition changing image registry options for cluster
    public partial interface IClusterImageRegistryOptions :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Specify image pull secret to authenticate with the image repository</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Specify image pull secret to authenticate with the image repository",
        SerializedName = @"pullSecret",
        PossibleTypes = new [] { typeof(string) })]
        string PullSecret { get; set; }
        /// <summary>Specify image registry URL for internal image repository</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Specify image registry URL for internal image repository",
        SerializedName = @"url",
        PossibleTypes = new [] { typeof(string) })]
        string Url { get; set; }

    }
    /// Request definition changing image registry options for cluster
    internal partial interface IClusterImageRegistryOptionsInternal

    {
        /// <summary>Specify image pull secret to authenticate with the image repository</summary>
        string PullSecret { get; set; }
        /// <summary>Specify image registry URL for internal image repository</summary>
        string Url { get; set; }

    }
}