generated/api/Models/CloudStorageDetailsObject.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.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 CloudStorageDetailsObject : Commvault.Powershell.Models.ICloudStorageDetailsObject, Commvault.Powershell.Models.ICloudStorageDetailsObjectInternal { /// <summary>Backing field for <see cref="AssociatedPlans" /> property.</summary> private Commvault.Powershell.Models.IIdName[] _associatedPlans; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public Commvault.Powershell.Models.IIdName[] AssociatedPlans { get => this._associatedPlans; set => this._associatedPlans = value; } /// <summary>Backing field for <see cref="Bucket" /> property.</summary> private Commvault.Powershell.Models.IIdNameStatus[] _bucket; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public Commvault.Powershell.Models.IIdNameStatus[] Bucket { get => this._bucket; set => this._bucket = value; } /// <summary>Tells if cache configuration is enabled for this storage</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? CacheConfigurationEnable { get => ((Commvault.Powershell.Models.ICacheConfigurationsInternal)CacheConfigurations).Enable; set => ((Commvault.Powershell.Models.ICacheConfigurationsInternal)CacheConfigurations).Enable = value ?? default(bool); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public Commvault.Powershell.Models.IMetadataCache[] CacheConfigurationMetadataCache { get => ((Commvault.Powershell.Models.ICacheConfigurationsInternal)CacheConfigurations).MetadataCache; set => ((Commvault.Powershell.Models.ICacheConfigurationsInternal)CacheConfigurations).MetadataCache = value ?? null /* arrayOf */; } /// <summary>Backing field for <see cref="CacheConfigurations" /> property.</summary> private Commvault.Powershell.Models.ICacheConfigurations _cacheConfigurations; /// <summary>CacheConfigurations</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.ICacheConfigurations CacheConfigurations { get => (this._cacheConfigurations = this._cacheConfigurations ?? new Commvault.Powershell.Models.CacheConfigurations()); set => this._cacheConfigurations = value; } /// <summary>Internal Acessors for CacheConfigurations</summary> Commvault.Powershell.Models.ICacheConfigurations Commvault.Powershell.Models.ICloudStorageDetailsObjectInternal.CacheConfigurations { get => (this._cacheConfigurations = this._cacheConfigurations ?? new Commvault.Powershell.Models.CacheConfigurations()); set { {_cacheConfigurations = value;} } } /// <summary>Internal Acessors for Encryption</summary> Commvault.Powershell.Models.IEncryption Commvault.Powershell.Models.ICloudStorageDetailsObjectInternal.Encryption { get => (this._encryption = this._encryption ?? new Commvault.Powershell.Models.Encryption()); set { {_encryption = value;} } } /// <summary>Internal Acessors for EncryptionKeyManagementServer</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.ICloudStorageDetailsObjectInternal.EncryptionKeyManagementServer { get => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).KeyManagementServer; set => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).KeyManagementServer = value; } /// <summary>Internal Acessors for General</summary> Commvault.Powershell.Models.ICloudStorageGeneralInfo Commvault.Powershell.Models.ICloudStorageDetailsObjectInternal.General { get => (this._general = this._general ?? new Commvault.Powershell.Models.CloudStorageGeneralInfo()); set { {_general = value;} } } /// <summary>Backing field for <see cref="Encryption" /> property.</summary> private Commvault.Powershell.Models.IEncryption _encryption; /// <summary>Different ways in which data can be encrypted.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IEncryption Encryption { get => (this._encryption = this._encryption ?? new Commvault.Powershell.Models.Encryption()); set => this._encryption = value; } /// <summary> /// The different types of encryption keys that can be used for encrypting the data. The values are case sensitive /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string EncryptionCipher { get => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).Cipher; set => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).Cipher = value ?? null; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public bool? EncryptionEncrypt { get => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).Encrypt; set => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).Encrypt = value ?? default(bool); } /// <summary> /// Different keylengths are present for different kinds of ciphers. Blowfish,Twofish,AES and Serpent all accept both 128 /// and 256. DES3 accepts only 192. GOST accepts only 256. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? EncryptionKeyLength { get => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).KeyLength; set => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).KeyLength = value ?? default(long); } /// <summary>Backing field for <see cref="General" /> property.</summary> private Commvault.Powershell.Models.ICloudStorageGeneralInfo _general; /// <summary>CloudStorageGeneralInfo</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.ICloudStorageGeneralInfo General { get => (this._general = this._general ?? new Commvault.Powershell.Models.CloudStorageGeneralInfo()); set => this._general = value; } /// <summary> /// Specifies the savings in percentage that occurred due to deduplication. Only available for dedupe cloud storage pools /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string GeneralDeduplicationSavings { get => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).DeduplicationSavings; set => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).DeduplicationSavings = value ?? null; } /// <summary>Free space available on this cloud storage</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? GeneralFreeSpace { get => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).FreeSpace; set => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).FreeSpace = value ?? default(long); } /// <summary>Amount of space consumed</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? GeneralSizeOndisk { get => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).SizeOndisk; set => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).SizeOndisk = value ?? default(long); } /// <summary>Total capacity of this cloud storage</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? GeneralTotalCapacity { get => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).TotalCapacity; set => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).TotalCapacity = value ?? default(long); } /// <summary>Type of the cloud storage server</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string GeneralType { get => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).Type; set => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).Type = value ?? null; } /// <summary>Cloud server type</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string GeneralVendorType { get => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).VendorType; set => ((Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal)General).VendorType = value ?? null; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? KeyManagementServerId { get => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).KeyManagementServerId; set => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).KeyManagementServerId = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string KeyManagementServerName { get => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).KeyManagementServerName; set => ((Commvault.Powershell.Models.IEncryptionInternal)Encryption).KeyManagementServerName = value ?? null; } /// <summary>Backing field for <see cref="Security" /> property.</summary> private Commvault.Powershell.Models.ISecurityAssoc[] _security; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public Commvault.Powershell.Models.ISecurityAssoc[] Security { get => this._security; set => this._security = value; } /// <summary>Creates an new <see cref="CloudStorageDetailsObject" /> instance.</summary> public CloudStorageDetailsObject() { } } public partial interface ICloudStorageDetailsObject : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"associatedPlans", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })] Commvault.Powershell.Models.IIdName[] AssociatedPlans { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"bucket", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdNameStatus) })] Commvault.Powershell.Models.IIdNameStatus[] Bucket { get; set; } /// <summary>Tells if cache configuration is enabled for this storage</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Tells if cache configuration is enabled for this storage", SerializedName = @"enable", PossibleTypes = new [] { typeof(bool) })] bool? CacheConfigurationEnable { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"metadataCache", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IMetadataCache) })] Commvault.Powershell.Models.IMetadataCache[] CacheConfigurationMetadataCache { get; set; } /// <summary> /// The different types of encryption keys that can be used for encrypting the data. The values are case sensitive /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The different types of encryption keys that can be used for encrypting the data. The values are case sensitive", SerializedName = @"cipher", PossibleTypes = new [] { typeof(string) })] string EncryptionCipher { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"encrypt", PossibleTypes = new [] { typeof(bool) })] bool? EncryptionEncrypt { get; set; } /// <summary> /// Different keylengths are present for different kinds of ciphers. Blowfish,Twofish,AES and Serpent all accept both 128 /// and 256. DES3 accepts only 192. GOST accepts only 256. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Different keylengths are present for different kinds of ciphers. Blowfish,Twofish,AES and Serpent all accept both 128 and 256. DES3 accepts only 192. GOST accepts only 256. ", SerializedName = @"keyLength", PossibleTypes = new [] { typeof(long) })] long? EncryptionKeyLength { get; set; } /// <summary> /// Specifies the savings in percentage that occurred due to deduplication. Only available for dedupe cloud storage pools /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Specifies the savings in percentage that occurred due to deduplication. Only available for dedupe cloud storage pools", SerializedName = @"deduplicationSavings", PossibleTypes = new [] { typeof(string) })] string GeneralDeduplicationSavings { get; set; } /// <summary>Free space available on this cloud storage</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Free space available on this cloud storage", SerializedName = @"freeSpace", PossibleTypes = new [] { typeof(long) })] long? GeneralFreeSpace { get; set; } /// <summary>Amount of space consumed</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Amount of space consumed", SerializedName = @"sizeOndisk", PossibleTypes = new [] { typeof(long) })] long? GeneralSizeOndisk { get; set; } /// <summary>Total capacity of this cloud storage</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Total capacity of this cloud storage", SerializedName = @"totalCapacity", PossibleTypes = new [] { typeof(long) })] long? GeneralTotalCapacity { get; set; } /// <summary>Type of the cloud storage server</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Type of the cloud storage server", SerializedName = @"type", PossibleTypes = new [] { typeof(string) })] string GeneralType { get; set; } /// <summary>Cloud server type</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Cloud server type", SerializedName = @"vendorType", PossibleTypes = new [] { typeof(string) })] string GeneralVendorType { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? KeyManagementServerId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string KeyManagementServerName { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"security", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ISecurityAssoc) })] Commvault.Powershell.Models.ISecurityAssoc[] Security { get; set; } } internal partial interface ICloudStorageDetailsObjectInternal { Commvault.Powershell.Models.IIdName[] AssociatedPlans { get; set; } Commvault.Powershell.Models.IIdNameStatus[] Bucket { get; set; } /// <summary>Tells if cache configuration is enabled for this storage</summary> bool? CacheConfigurationEnable { get; set; } Commvault.Powershell.Models.IMetadataCache[] CacheConfigurationMetadataCache { get; set; } /// <summary>CacheConfigurations</summary> Commvault.Powershell.Models.ICacheConfigurations CacheConfigurations { get; set; } /// <summary>Different ways in which data can be encrypted.</summary> Commvault.Powershell.Models.IEncryption Encryption { get; set; } /// <summary> /// The different types of encryption keys that can be used for encrypting the data. The values are case sensitive /// </summary> string EncryptionCipher { get; set; } bool? EncryptionEncrypt { get; set; } /// <summary> /// Different keylengths are present for different kinds of ciphers. Blowfish,Twofish,AES and Serpent all accept both 128 /// and 256. DES3 accepts only 192. GOST accepts only 256. /// </summary> long? EncryptionKeyLength { get; set; } Commvault.Powershell.Models.IIdName EncryptionKeyManagementServer { get; set; } /// <summary>CloudStorageGeneralInfo</summary> Commvault.Powershell.Models.ICloudStorageGeneralInfo General { get; set; } /// <summary> /// Specifies the savings in percentage that occurred due to deduplication. Only available for dedupe cloud storage pools /// </summary> string GeneralDeduplicationSavings { get; set; } /// <summary>Free space available on this cloud storage</summary> long? GeneralFreeSpace { get; set; } /// <summary>Amount of space consumed</summary> long? GeneralSizeOndisk { get; set; } /// <summary>Total capacity of this cloud storage</summary> long? GeneralTotalCapacity { get; set; } /// <summary>Type of the cloud storage server</summary> string GeneralType { get; set; } /// <summary>Cloud server type</summary> string GeneralVendorType { get; set; } long? KeyManagementServerId { get; set; } string KeyManagementServerName { get; set; } Commvault.Powershell.Models.ISecurityAssoc[] Security { get; set; } } } |