generated/api/Models/SecurityOptions.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.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; /// <summary>SecurityOptions</summary> public partial class SecurityOptions : Commvault.Powershell.Models.ISecurityOptions, Commvault.Powershell.Models.ISecurityOptionsInternal { /// <summary>Backing field for <see cref="SecurityGroup" /> property.</summary> private string _securityGroup; /// <summary>Name of security group that provides controlled access of the VM in cloud</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string SecurityGroup { get => this._securityGroup; set => this._securityGroup = value; } /// <summary>Backing field for <see cref="TestSecurityGroups" /> property.</summary> private string[] _testSecurityGroups; /// <summary> /// Name of security groups that provide controlled access of the VM in cloud for test failover /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string[] TestSecurityGroups { get => this._testSecurityGroups; set => this._testSecurityGroups = value; } /// <summary>Backing field for <see cref="UserGroups" /> property.</summary> private Commvault.Powershell.Models.IIdName[] _userGroups; /// <summary>User groups that have access to the recovery target</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public Commvault.Powershell.Models.IIdName[] UserGroups { get => this._userGroups; set => this._userGroups = value; } /// <summary>Backing field for <see cref="Users" /> property.</summary> private Commvault.Powershell.Models.IIdNameFullName[] _users; /// <summary>Users that have access to the recovery target</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public 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>Name of security group that provides controlled access of the VM in cloud</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Name of security group that provides controlled access of the VM in cloud", SerializedName = @"securityGroup", PossibleTypes = new [] { typeof(string) })] string SecurityGroup { get; set; } /// <summary> /// Name of security groups that provide controlled access of the VM in cloud for test failover /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Name of security groups that provide controlled access of the VM in cloud for test failover", SerializedName = @"testSecurityGroups", PossibleTypes = new [] { typeof(string) })] string[] TestSecurityGroups { get; set; } /// <summary>User groups that have access to the recovery target</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"User groups that have access to the recovery target", SerializedName = @"userGroups", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })] 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, Description = @"Users that have access to the recovery target", SerializedName = @"users", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdNameFullName) })] Commvault.Powershell.Models.IIdNameFullName[] Users { get; set; } } /// SecurityOptions internal partial interface ISecurityOptionsInternal { /// <summary>Name of security group that provides controlled access of the VM in cloud</summary> string SecurityGroup { get; set; } /// <summary> /// Name of security groups that provide controlled access of the VM in cloud for test failover /// </summary> string[] TestSecurityGroups { get; set; } /// <summary>User groups that have access to the recovery target</summary> Commvault.Powershell.Models.IIdName[] UserGroups { get; set; } /// <summary>Users that have access to the recovery target</summary> Commvault.Powershell.Models.IIdNameFullName[] Users { get; set; } } } |