generated/api/Models/SnapConfigsOverride.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>Array config template for getting options of Snap Configs on different levels</summary> public partial class SnapConfigsOverride : Commvault.Powershell.Models.ISnapConfigsOverride, Commvault.Powershell.Models.ISnapConfigsOverrideInternal { /// <summary>Backing field for <see cref="CheckRange" /> property.</summary> private bool? _checkRange; /// <summary>Whether to check if the value is in range or not of accepted values</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? CheckRange { get => this._checkRange; set => this._checkRange = value; } /// <summary>Backing field for <see cref="Description" /> property.</summary> private string _description; /// <summary> /// Description about the config that tells the user what it is for and the range of values it accepts /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Description { get => this._description; set => this._description = value; } /// <summary>Backing field for <see cref="Flags" /> property.</summary> private long? _flags; /// <summary>Flag regarding placement of config in the CC page</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Flags { get => this._flags; set => this._flags = value; } /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>This is the id of the config which is required during config override</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="IsEnabled" /> property.</summary> private bool? _isEnabled; /// <summary>Whether the config is enabled or not</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? IsEnabled { get => this._isEnabled; set => this._isEnabled = value; } /// <summary>Backing field for <see cref="IsOverridden" /> property.</summary> private bool? _isOverridden; /// <summary>Whether the config is Overridden or not</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? IsOverridden { get => this._isOverridden; set => this._isOverridden = value; } /// <summary>Backing field for <see cref="MasterConfigId" /> property.</summary> private long? _masterConfigId; /// <summary>This is the masterConfigId, which is available for each vendors configs</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MasterConfigId { get => this._masterConfigId; set => this._masterConfigId = value; } /// <summary>Backing field for <see cref="MaxValue" /> property.</summary> private long? _maxValue; /// <summary>This is the higher limit value to which the config can be set for numeric types</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MaxValue { get => this._maxValue; set => this._maxValue = value; } /// <summary>Backing field for <see cref="MinValue" /> property.</summary> private long? _minValue; /// <summary>This is the lower limit value to which the config can be set for numeric types</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MinValue { get => this._minValue; set => this._minValue = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>This is the name of the config which is displayed on the Command Center Console</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="Type" /> property.</summary> private long? _type; /// <summary> /// Type of the config value. type can accept 7 values [1,2,8,10,12,13,14], 1: boolean, 2: integer, 8: text, 10: array[string] /// are common configs, the rest three are special keys, 12 is for password type key for NetApp E-Series and HPE Nimble, 13 /// is Private Key for GCP, 14 is a hidden config to select type of Disk for GCP /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Type { get => this._type; set => this._type = value; } /// <summary>Backing field for <see cref="Value" /> property.</summary> private string _value; /// <summary>Value of the config</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Value { get => this._value; set => this._value = value; } /// <summary>Backing field for <see cref="Values" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> _values; /// <summary> /// Holds a single value for types except 10, for 10 it holds one or more values. Incase of HPE 3PAR StoreServ, name field /// will have the remote snap MA Id. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> Values { get => this._values; set => this._values = value; } /// <summary>Creates an new <see cref="SnapConfigsOverride" /> instance.</summary> public SnapConfigsOverride() { } } /// Array config template for getting options of Snap Configs on different levels public partial interface ISnapConfigsOverride : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Whether to check if the value is in range or not of accepted values</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Whether to check if the value is in range or not of accepted values", SerializedName = @"checkRange", PossibleTypes = new [] { typeof(bool) })] bool? CheckRange { get; set; } /// <summary> /// Description about the config that tells the user what it is for and the range of values it accepts /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Description about the config that tells the user what it is for and the range of values it accepts", SerializedName = @"description", PossibleTypes = new [] { typeof(string) })] string Description { get; set; } /// <summary>Flag regarding placement of config in the CC page</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Flag regarding placement of config in the CC page", SerializedName = @"flags", PossibleTypes = new [] { typeof(long) })] long? Flags { get; set; } /// <summary>This is the id of the config which is required during config override</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"This is the id of the config which is required during config override", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>Whether the config is enabled or not</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Whether the config is enabled or not", SerializedName = @"isEnabled", PossibleTypes = new [] { typeof(bool) })] bool? IsEnabled { get; set; } /// <summary>Whether the config is Overridden or not</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Whether the config is Overridden or not", SerializedName = @"isOverridden", PossibleTypes = new [] { typeof(bool) })] bool? IsOverridden { get; set; } /// <summary>This is the masterConfigId, which is available for each vendors configs</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"This is the masterConfigId, which is available for each vendors configs", SerializedName = @"masterConfigId", PossibleTypes = new [] { typeof(long) })] long? MasterConfigId { get; set; } /// <summary>This is the higher limit value to which the config can be set for numeric types</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"This is the higher limit value to which the config can be set for numeric types", SerializedName = @"maxValue", PossibleTypes = new [] { typeof(long) })] long? MaxValue { get; set; } /// <summary>This is the lower limit value to which the config can be set for numeric types</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"This is the lower limit value to which the config can be set for numeric types", SerializedName = @"minValue", PossibleTypes = new [] { typeof(long) })] long? MinValue { get; set; } /// <summary>This is the name of the config which is displayed on the Command Center Console</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"This is the name of the config which is displayed on the Command Center Console", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// <summary> /// Type of the config value. type can accept 7 values [1,2,8,10,12,13,14], 1: boolean, 2: integer, 8: text, 10: array[string] /// are common configs, the rest three are special keys, 12 is for password type key for NetApp E-Series and HPE Nimble, 13 /// is Private Key for GCP, 14 is a hidden config to select type of Disk for GCP /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Type of the config value. type can accept 7 values [1,2,8,10,12,13,14], 1: boolean, 2: integer, 8: text, 10: array[string] are common configs, the rest three are special keys, 12 is for password type key for NetApp E-Series and HPE Nimble, 13 is Private Key for GCP, 14 is a hidden config to select type of Disk for GCP", SerializedName = @"type", PossibleTypes = new [] { typeof(long) })] long? Type { get; set; } /// <summary>Value of the config</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Value of the config", SerializedName = @"value", PossibleTypes = new [] { typeof(string) })] string Value { get; set; } /// <summary> /// Holds a single value for types except 10, for 10 it holds one or more values. Incase of HPE 3PAR StoreServ, name field /// will have the remote snap MA Id. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Holds a single value for types except 10, for 10 it holds one or more values. Incase of HPE 3PAR StoreServ, name field will have the remote snap MA Id.", SerializedName = @"values", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })] System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> Values { get; set; } } /// Array config template for getting options of Snap Configs on different levels internal partial interface ISnapConfigsOverrideInternal { /// <summary>Whether to check if the value is in range or not of accepted values</summary> bool? CheckRange { get; set; } /// <summary> /// Description about the config that tells the user what it is for and the range of values it accepts /// </summary> string Description { get; set; } /// <summary>Flag regarding placement of config in the CC page</summary> long? Flags { get; set; } /// <summary>This is the id of the config which is required during config override</summary> long? Id { get; set; } /// <summary>Whether the config is enabled or not</summary> bool? IsEnabled { get; set; } /// <summary>Whether the config is Overridden or not</summary> bool? IsOverridden { get; set; } /// <summary>This is the masterConfigId, which is available for each vendors configs</summary> long? MasterConfigId { get; set; } /// <summary>This is the higher limit value to which the config can be set for numeric types</summary> long? MaxValue { get; set; } /// <summary>This is the lower limit value to which the config can be set for numeric types</summary> long? MinValue { get; set; } /// <summary>This is the name of the config which is displayed on the Command Center Console</summary> string Name { get; set; } /// <summary> /// Type of the config value. type can accept 7 values [1,2,8,10,12,13,14], 1: boolean, 2: integer, 8: text, 10: array[string] /// are common configs, the rest three are special keys, 12 is for password type key for NetApp E-Series and HPE Nimble, 13 /// is Private Key for GCP, 14 is a hidden config to select type of Disk for GCP /// </summary> long? Type { get; set; } /// <summary>Value of the config</summary> string Value { get; set; } /// <summary> /// Holds a single value for types except 10, for 10 it holds one or more values. Incase of HPE 3PAR StoreServ, name field /// will have the remote snap MA Id. /// </summary> System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> Values { get; set; } } } |