generated/api/Models/SecurityOptions.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>SecurityOptions</summary> public partial class SecurityOptions : Commvault.Powershell.Models.ISecurityOptions, Commvault.Powershell.Models.ISecurityOptionsInternal { /// <summary>Backing field for <see cref="SecurityGroups" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.ISecurityGroup> _securityGroups; /// <summary>List of security groups that provide controlled access of the DR VM</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.ISecurityGroup> SecurityGroups { get => this._securityGroups; set => this._securityGroups = value; } /// <summary>Backing field for <see cref="TestSecurityGroups" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.ISecurityGroup> _testSecurityGroups; /// <summary> /// List of security groups that provide controlled access of the VM in cloud for test failover /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.ISecurityGroup> TestSecurityGroups { get => this._testSecurityGroups; set => this._testSecurityGroups = value; } /// <summary>Backing field for <see cref="UserGroups" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> _userGroups; /// <summary>User groups that have access to the recovery target</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> UserGroups { get => this._userGroups; set => this._userGroups = value; } /// <summary>Backing field for <see cref="Users" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IIdNameFullName> _users; /// <summary>Users that have access to the recovery target</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IIdNameFullName> Users { get => this._users; set => this._users = value; } /// <summary>Creates an new <see cref="SecurityOptions" /> instance.</summary> public SecurityOptions() { } } /// SecurityOptions public partial interface ISecurityOptions : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>List of security groups that provide controlled access of the DR VM</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"List of security groups that provide controlled access of the DR VM", SerializedName = @"securityGroups", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ISecurityGroup) })] System.Collections.Generic.List<Commvault.Powershell.Models.ISecurityGroup> SecurityGroups { get; set; } /// <summary> /// List of security groups that provide controlled access of the VM in cloud for test failover /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"List of security groups that provide controlled access of the VM in cloud for test failover", SerializedName = @"testSecurityGroups", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ISecurityGroup) })] System.Collections.Generic.List<Commvault.Powershell.Models.ISecurityGroup> TestSecurityGroups { get; set; } /// <summary>User groups that have access to the recovery target</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"User groups that have access to the recovery target", SerializedName = @"userGroups", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })] System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> UserGroups { get; set; } /// <summary>Users that have access to the recovery target</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Users that have access to the recovery target", SerializedName = @"users", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdNameFullName) })] System.Collections.Generic.List<Commvault.Powershell.Models.IIdNameFullName> Users { get; set; } } /// SecurityOptions internal partial interface ISecurityOptionsInternal { /// <summary>List of security groups that provide controlled access of the DR VM</summary> System.Collections.Generic.List<Commvault.Powershell.Models.ISecurityGroup> SecurityGroups { get; set; } /// <summary> /// List of security groups that provide controlled access of the VM in cloud for test failover /// </summary> System.Collections.Generic.List<Commvault.Powershell.Models.ISecurityGroup> TestSecurityGroups { get; set; } /// <summary>User groups that have access to the recovery target</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> UserGroups { get; set; } /// <summary>Users that have access to the recovery target</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IIdNameFullName> Users { get; set; } } } |