generated/api/Models/FailoverGroupArrayReplicationPair.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>An array replication pair for failover group</summary> public partial class FailoverGroupArrayReplicationPair : Commvault.Powershell.Models.IFailoverGroupArrayReplicationPair, Commvault.Powershell.Models.IFailoverGroupArrayReplicationPairInternal { /// <summary>Backing field for <see cref="DestinationId" /> property.</summary> private long? _destinationId; /// <summary>The id of the destination machine</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? DestinationId { get => this._destinationId; set => this._destinationId = value; } /// <summary>Backing field for <see cref="DestinationName" /> property.</summary> private string _destinationName; /// <summary>The name of the destination machine</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DestinationName { get => this._destinationName; set => this._destinationName = value; } /// <summary>Backing field for <see cref="Guid" /> property.</summary> private string _guid; /// <summary>The GUID of the source of array replication pair</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Guid { get => this._guid; set => this._guid = value; } /// <summary>Backing field for <see cref="Hostname" /> property.</summary> private string _hostname; /// <summary>The hostname specified for the destination machine</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Hostname { get => this._hostname; set => this._hostname = value; } /// <summary>Backing field for <see cref="IPSettings" /> property.</summary> private Commvault.Powershell.Models.IIPAddressSettingVmwareCreate[] _iPSettings; /// <summary>The settings for IP address mapping</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public Commvault.Powershell.Models.IIPAddressSettingVmwareCreate[] IPSettings { get => this._iPSettings; set => this._iPSettings = value; } /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>The ID of the array replication pair</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="Priority" /> property.</summary> private long? _priority; /// <summary> /// The priority of the array replication pair for DR operation in failover group. The lower values signify higher priority /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Priority { get => this._priority; set => this._priority = value; } /// <summary>Backing field for <see cref="SourceId" /> property.</summary> private long? _sourceId; /// <summary>The id of the source machine</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? SourceId { get => this._sourceId; set => this._sourceId = value; } /// <summary>Backing field for <see cref="SourceName" /> property.</summary> private string _sourceName; /// <summary>The name of the source machine</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string SourceName { get => this._sourceName; set => this._sourceName = value; } /// <summary>Creates an new <see cref="FailoverGroupArrayReplicationPair" /> instance.</summary> public FailoverGroupArrayReplicationPair() { } } /// An array replication pair for failover group public partial interface IFailoverGroupArrayReplicationPair : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>The id of the destination machine</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The id of the destination machine", SerializedName = @"destinationId", PossibleTypes = new [] { typeof(long) })] long? DestinationId { get; set; } /// <summary>The name of the destination machine</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The name of the destination machine", SerializedName = @"destinationName", PossibleTypes = new [] { typeof(string) })] string DestinationName { get; set; } /// <summary>The GUID of the source of array replication pair</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The GUID of the source of array replication pair", SerializedName = @"GUID", PossibleTypes = new [] { typeof(string) })] string Guid { get; set; } /// <summary>The hostname specified for the destination machine</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The hostname specified for the destination machine", SerializedName = @"hostname", PossibleTypes = new [] { typeof(string) })] string Hostname { get; set; } /// <summary>The settings for IP address mapping</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The settings for IP address mapping", SerializedName = @"ipSettings", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIPAddressSettingVmwareCreate) })] Commvault.Powershell.Models.IIPAddressSettingVmwareCreate[] IPSettings { get; set; } /// <summary>The ID of the array replication pair</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The ID of the array replication pair", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary> /// The priority of the array replication pair for DR operation in failover group. The lower values signify higher priority /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The priority of the array replication pair for DR operation in failover group. The lower values signify higher priority", SerializedName = @"priority", PossibleTypes = new [] { typeof(long) })] long? Priority { get; set; } /// <summary>The id of the source machine</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The id of the source machine", SerializedName = @"sourceId", PossibleTypes = new [] { typeof(long) })] long? SourceId { get; set; } /// <summary>The name of the source machine</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The name of the source machine", SerializedName = @"sourceName", PossibleTypes = new [] { typeof(string) })] string SourceName { get; set; } } /// An array replication pair for failover group internal partial interface IFailoverGroupArrayReplicationPairInternal { /// <summary>The id of the destination machine</summary> long? DestinationId { get; set; } /// <summary>The name of the destination machine</summary> string DestinationName { get; set; } /// <summary>The GUID of the source of array replication pair</summary> string Guid { get; set; } /// <summary>The hostname specified for the destination machine</summary> string Hostname { get; set; } /// <summary>The settings for IP address mapping</summary> Commvault.Powershell.Models.IIPAddressSettingVmwareCreate[] IPSettings { get; set; } /// <summary>The ID of the array replication pair</summary> long? Id { get; set; } /// <summary> /// The priority of the array replication pair for DR operation in failover group. The lower values signify higher priority /// </summary> long? Priority { get; set; } /// <summary>The id of the source machine</summary> long? SourceId { get; set; } /// <summary>The name of the source machine</summary> string SourceName { get; set; } } } |