generated/api/Models/ReplicationConfigurationOci.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>Model to store configuration per VM for OCI vendor</summary> public partial class ReplicationConfigurationOci : Commvault.Powershell.Models.IReplicationConfigurationOci, Commvault.Powershell.Models.IReplicationConfigurationOciInternal { /// <summary>Backing field for <see cref="AvailabilityDomain" /> property.</summary> private string _availabilityDomain; /// <summary>Destination VM instance availability domain</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string AvailabilityDomain { get => this._availabilityDomain; set => this._availabilityDomain = value; } /// <summary>Internal Acessors for Compartment</summary> Commvault.Powershell.Models.INameValue Commvault.Powershell.Models.IReplicationConfigurationOciInternal.Compartment { get => (this._compartment = this._compartment ?? new Commvault.Powershell.Models.NameValue()); set { {_compartment = value;} } } /// <summary>Internal Acessors for OverrideReplicationOptionNetwork</summary> Commvault.Powershell.Models.INetwork Commvault.Powershell.Models.IReplicationConfigurationOciInternal.OverrideReplicationOptionNetwork { get => ((Commvault.Powershell.Models.IOverrideReplicationOptionsOciInternal)OverrideReplicationOptions).Network; set => ((Commvault.Powershell.Models.IOverrideReplicationOptionsOciInternal)OverrideReplicationOptions).Network = value; } /// <summary>Internal Acessors for OverrideReplicationOptions</summary> Commvault.Powershell.Models.IOverrideReplicationOptionsOci Commvault.Powershell.Models.IReplicationConfigurationOciInternal.OverrideReplicationOptions { get => (this._overrideReplicationOptions = this._overrideReplicationOptions ?? new Commvault.Powershell.Models.OverrideReplicationOptionsOci()); set { {_overrideReplicationOptions = value;} } } /// <summary>Backing field for <see cref="Compartment" /> property.</summary> private Commvault.Powershell.Models.INameValue _compartment; /// <summary>NameValue</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.INameValue Compartment { get => (this._compartment = this._compartment ?? new Commvault.Powershell.Models.NameValue()); set => this._compartment = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string CompartmentName { get => ((Commvault.Powershell.Models.INameValueInternal)Compartment).Name; set => ((Commvault.Powershell.Models.INameValueInternal)Compartment).Name = value ?? null; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string CompartmentValue { get => ((Commvault.Powershell.Models.INameValueInternal)Compartment).Value; set => ((Commvault.Powershell.Models.INameValueInternal)Compartment).Value = value ?? null; } /// <summary>Backing field for <see cref="CreatePublicIP" /> property.</summary> private bool? _createPublicIP; /// <summary>Public/External IP of the destination VM instance</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? CreatePublicIP { get => this._createPublicIP; set => this._createPublicIP = value; } /// <summary>Backing field for <see cref="DestinationVM" /> property.</summary> private string _destinationVM; /// <summary>Destination VM instance name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DestinationVM { get => this._destinationVM; set => this._destinationVM = value; } /// <summary>Network display name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string NetworkDisplayName { get => ((Commvault.Powershell.Models.IOverrideReplicationOptionsOciInternal)OverrideReplicationOptions).NetworkDisplayName; set => ((Commvault.Powershell.Models.IOverrideReplicationOptionsOciInternal)OverrideReplicationOptions).NetworkDisplayName = value ?? null; } /// <summary>Name of network</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string NetworkName { get => ((Commvault.Powershell.Models.IOverrideReplicationOptionsOciInternal)OverrideReplicationOptions).NetworkName; set => ((Commvault.Powershell.Models.IOverrideReplicationOptionsOciInternal)OverrideReplicationOptions).NetworkName = value ?? null; } /// <summary>subnet id of network</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string NetworkSubnetId { get => ((Commvault.Powershell.Models.IOverrideReplicationOptionsOciInternal)OverrideReplicationOptions).NetworkSubnetId; set => ((Commvault.Powershell.Models.IOverrideReplicationOptionsOciInternal)OverrideReplicationOptions).NetworkSubnetId = value ?? null; } /// <summary>Backing field for <see cref="OverrideReplicationOptions" /> property.</summary> private Commvault.Powershell.Models.IOverrideReplicationOptionsOci _overrideReplicationOptions; /// <summary>Extended instance configuration options</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IOverrideReplicationOptionsOci OverrideReplicationOptions { get => (this._overrideReplicationOptions = this._overrideReplicationOptions ?? new Commvault.Powershell.Models.OverrideReplicationOptionsOci()); set => this._overrideReplicationOptions = value; } /// <summary>Backing field for <see cref="Region" /> property.</summary> private string _region; /// <summary>Instance region</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Region { get => this._region; set => this._region = value; } /// <summary>Backing field for <see cref="Shape" /> property.</summary> private string _shape; /// <summary>Destination VM instance shape</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Shape { get => this._shape; set => this._shape = value; } /// <summary>Backing field for <see cref="SourceVM" /> property.</summary> private string _sourceVM; /// <summary>Source VM instance name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string SourceVM { get => this._sourceVM; set => this._sourceVM = value; } /// <summary>Backing field for <see cref="SourceVMGuid" /> property.</summary> private string _sourceVMGuid; /// <summary>Source VM instance guid</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string SourceVMGuid { get => this._sourceVMGuid; set => this._sourceVMGuid = value; } /// <summary>Backing field for <see cref="StagingBucket" /> property.</summary> private string _stagingBucket; /// <summary>Staged bucket name for restore operation</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string StagingBucket { get => this._stagingBucket; set => this._stagingBucket = value; } /// <summary>Creates an new <see cref="ReplicationConfigurationOci" /> instance.</summary> public ReplicationConfigurationOci() { } } /// Model to store configuration per VM for OCI vendor public partial interface IReplicationConfigurationOci : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Destination VM instance availability domain</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Destination VM instance availability domain", SerializedName = @"availabilityDomain", PossibleTypes = new [] { typeof(string) })] string AvailabilityDomain { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string CompartmentName { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"value", PossibleTypes = new [] { typeof(string) })] string CompartmentValue { get; set; } /// <summary>Public/External IP of the destination VM instance</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Public/External IP of the destination VM instance", SerializedName = @"createPublicIP", PossibleTypes = new [] { typeof(bool) })] bool? CreatePublicIP { get; set; } /// <summary>Destination VM instance name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Destination VM instance name", SerializedName = @"destinationVM", PossibleTypes = new [] { typeof(string) })] string DestinationVM { get; set; } /// <summary>Network display name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Network display name", SerializedName = @"networkDisplayName", PossibleTypes = new [] { typeof(string) })] string NetworkDisplayName { get; set; } /// <summary>Name of network</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Name of network", SerializedName = @"networkName", PossibleTypes = new [] { typeof(string) })] string NetworkName { get; set; } /// <summary>subnet id of network</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"subnet id of network", SerializedName = @"subnetId", PossibleTypes = new [] { typeof(string) })] string NetworkSubnetId { get; set; } /// <summary>Instance region</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Instance region", SerializedName = @"region", PossibleTypes = new [] { typeof(string) })] string Region { get; set; } /// <summary>Destination VM instance shape</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Destination VM instance shape", SerializedName = @"shape", PossibleTypes = new [] { typeof(string) })] string Shape { get; set; } /// <summary>Source VM instance name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Source VM instance name", SerializedName = @"sourceVM", PossibleTypes = new [] { typeof(string) })] string SourceVM { get; set; } /// <summary>Source VM instance guid</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Source VM instance guid", SerializedName = @"sourceVMGuid", PossibleTypes = new [] { typeof(string) })] string SourceVMGuid { get; set; } /// <summary>Staged bucket name for restore operation</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Staged bucket name for restore operation", SerializedName = @"stagingBucket", PossibleTypes = new [] { typeof(string) })] string StagingBucket { get; set; } } /// Model to store configuration per VM for OCI vendor internal partial interface IReplicationConfigurationOciInternal { /// <summary>Destination VM instance availability domain</summary> string AvailabilityDomain { get; set; } /// <summary>NameValue</summary> Commvault.Powershell.Models.INameValue Compartment { get; set; } string CompartmentName { get; set; } string CompartmentValue { get; set; } /// <summary>Public/External IP of the destination VM instance</summary> bool? CreatePublicIP { get; set; } /// <summary>Destination VM instance name</summary> string DestinationVM { get; set; } /// <summary>Network display name</summary> string NetworkDisplayName { get; set; } /// <summary>Name of network</summary> string NetworkName { get; set; } /// <summary>subnet id of network</summary> string NetworkSubnetId { get; set; } /// <summary>Network interface for the destination instances</summary> Commvault.Powershell.Models.INetwork OverrideReplicationOptionNetwork { get; set; } /// <summary>Extended instance configuration options</summary> Commvault.Powershell.Models.IOverrideReplicationOptionsOci OverrideReplicationOptions { get; set; } /// <summary>Instance region</summary> string Region { get; set; } /// <summary>Destination VM instance shape</summary> string Shape { get; set; } /// <summary>Source VM instance name</summary> string SourceVM { get; set; } /// <summary>Source VM instance guid</summary> string SourceVMGuid { get; set; } /// <summary>Staged bucket name for restore operation</summary> string StagingBucket { get; set; } } } |