generated/api/Models/AddDiskAccessPath.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>Used to add a new access path to a backup location</summary> public partial class AddDiskAccessPath : Commvault.Powershell.Models.IAddDiskAccessPath, Commvault.Powershell.Models.IAddDiskAccessPathInternal { /// <summary>Backing field for <see cref="MediaAgents" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> _mediaAgents; /// <summary>Can add a list of media agents to be added as the disk access path.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> MediaAgents { get => this._mediaAgents; set => this._mediaAgents = value; } /// <summary>Creates an new <see cref="AddDiskAccessPath" /> instance.</summary> public AddDiskAccessPath() { } } /// Used to add a new access path to a backup location public partial interface IAddDiskAccessPath : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Can add a list of media agents to be added as the disk access path.</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Can add a list of media agents to be added as the disk access path.", SerializedName = @"mediaAgents", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })] System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> MediaAgents { get; set; } } /// Used to add a new access path to a backup location internal partial interface IAddDiskAccessPathInternal { /// <summary>Can add a list of media agents to be added as the disk access path.</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> MediaAgents { get; set; } } } |