generated/api/Models/MaddbDiskMgmtReq.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>Request to perform DDB disk management operations on MediaAgent</summary> public partial class MaddbDiskMgmtReq : Commvault.Powershell.Models.IMaddbDiskMgmtReq, Commvault.Powershell.Models.IMaddbDiskMgmtReqInternal { /// <summary>Backing field for <see cref="Disks" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IDdbDiskInfo> _disks; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IDdbDiskInfo> Disks { get => this._disks; set => this._disks = value; } /// <summary>Backing field for <see cref="OpType" /> property.</summary> private string _opType; /// <summary>Type of operation to be performed on the input disks</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string OpType { get => this._opType; set => this._opType = value; } /// <summary>Backing field for <see cref="TargetDiskId" /> property.</summary> private long? _targetDiskId; /// <summary>Id of the target DDB disk for Move DDB disk operation</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? TargetDiskId { get => this._targetDiskId; set => this._targetDiskId = value; } /// <summary>Backing field for <see cref="TargetMaId" /> property.</summary> private long? _targetMaId; /// <summary>Id of the target MediaAgent for Move DDB disk operation</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? TargetMaId { get => this._targetMaId; set => this._targetMaId = value; } /// <summary>Backing field for <see cref="TargetPath" /> property.</summary> private string _targetPath; /// <summary>Target path for Move DDB disk operation</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string TargetPath { get => this._targetPath; set => this._targetPath = value; } /// <summary>Creates an new <see cref="MaddbDiskMgmtReq" /> instance.</summary> public MaddbDiskMgmtReq() { } } /// Request to perform DDB disk management operations on MediaAgent public partial interface IMaddbDiskMgmtReq : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"disks", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IDdbDiskInfo) })] System.Collections.Generic.List<Commvault.Powershell.Models.IDdbDiskInfo> Disks { get; set; } /// <summary>Type of operation to be performed on the input disks</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Type of operation to be performed on the input disks", SerializedName = @"opType", PossibleTypes = new [] { typeof(string) })] string OpType { get; set; } /// <summary>Id of the target DDB disk for Move DDB disk operation</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Id of the target DDB disk for Move DDB disk operation", SerializedName = @"targetDiskId", PossibleTypes = new [] { typeof(long) })] long? TargetDiskId { get; set; } /// <summary>Id of the target MediaAgent for Move DDB disk operation</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Id of the target MediaAgent for Move DDB disk operation", SerializedName = @"targetMAId", PossibleTypes = new [] { typeof(long) })] long? TargetMaId { get; set; } /// <summary>Target path for Move DDB disk operation</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Target path for Move DDB disk operation", SerializedName = @"targetPath", PossibleTypes = new [] { typeof(string) })] string TargetPath { get; set; } } /// Request to perform DDB disk management operations on MediaAgent internal partial interface IMaddbDiskMgmtReqInternal { System.Collections.Generic.List<Commvault.Powershell.Models.IDdbDiskInfo> Disks { get; set; } /// <summary>Type of operation to be performed on the input disks</summary> string OpType { get; set; } /// <summary>Id of the target DDB disk for Move DDB disk operation</summary> long? TargetDiskId { get; set; } /// <summary>Id of the target MediaAgent for Move DDB disk operation</summary> long? TargetMaId { get; set; } /// <summary>Target path for Move DDB disk operation</summary> string TargetPath { get; set; } } } |