generated/api/Models/AzureNetwork.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>Network interface for the destination instances</summary>
    public partial class AzureNetwork :
        Commvault.Powershell.Models.IAzureNetwork,
        Commvault.Powershell.Models.IAzureNetworkInternal
    {

        /// <summary>Internal Acessors for NetworkAddressDetails</summary>
        Commvault.Powershell.Models.IAzureDestinationInfoNic Commvault.Powershell.Models.IAzureNetworkInternal.NetworkAddressDetails { get => (this._networkAddressDetails = this._networkAddressDetails ?? new Commvault.Powershell.Models.AzureDestinationInfoNic()); set { {_networkAddressDetails = value;} } }

        /// <summary>
        /// Azure network ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/virtualNetworks/{Network
        /// Name}.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string NetworkAddressDetailNetworkId { get => ((Commvault.Powershell.Models.IAzureDestinationInfoNicInternal)NetworkAddressDetails).NetworkId; set => ((Commvault.Powershell.Models.IAzureDestinationInfoNicInternal)NetworkAddressDetails).NetworkId = value ?? null; }

        /// <summary>Azure private IP address.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string NetworkAddressDetailPrivateIPAddress { get => ((Commvault.Powershell.Models.IAzureDestinationInfoNicInternal)NetworkAddressDetails).PrivateIPAddress; set => ((Commvault.Powershell.Models.IAzureDestinationInfoNicInternal)NetworkAddressDetails).PrivateIPAddress = value ?? null; }

        /// <summary>Azure publice IP address.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string NetworkAddressDetailPublicIPAddress { get => ((Commvault.Powershell.Models.IAzureDestinationInfoNicInternal)NetworkAddressDetails).PublicIPAddress; set => ((Commvault.Powershell.Models.IAzureDestinationInfoNicInternal)NetworkAddressDetails).PublicIPAddress = value ?? null; }

        /// <summary>
        /// Azure public IP address ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/publicIPAddresses/{Public
        /// IP Address Name}.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string NetworkAddressDetailPublicIPAddressId { get => ((Commvault.Powershell.Models.IAzureDestinationInfoNicInternal)NetworkAddressDetails).PublicIPAddressId; set => ((Commvault.Powershell.Models.IAzureDestinationInfoNicInternal)NetworkAddressDetails).PublicIPAddressId = value ?? null; }

        /// <summary>
        /// Azure subnet ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/virtualNetworks/{Network
        /// Name}/subnets/{Subnet Name}.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string NetworkAddressDetailSubnetId { get => ((Commvault.Powershell.Models.IAzureDestinationInfoNicInternal)NetworkAddressDetails).SubnetId; set => ((Commvault.Powershell.Models.IAzureDestinationInfoNicInternal)NetworkAddressDetails).SubnetId = value ?? null; }

        /// <summary>Backing field for <see cref="NetworkAddressDetails" /> property.</summary>
        private Commvault.Powershell.Models.IAzureDestinationInfoNic _networkAddressDetails;

        /// <summary>Azure nic info for restore</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.IAzureDestinationInfoNic NetworkAddressDetails { get => (this._networkAddressDetails = this._networkAddressDetails ?? new Commvault.Powershell.Models.AzureDestinationInfoNic()); set => this._networkAddressDetails = value; }

        /// <summary>Backing field for <see cref="NetworkDisplayName" /> property.</summary>
        private string _networkDisplayName;

        /// <summary>Display Name of network</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string NetworkDisplayName { get => this._networkDisplayName; set => this._networkDisplayName = value; }

        /// <summary>Backing field for <see cref="NetworkId" /> property.</summary>
        private string _networkId;

        /// <summary>Network unique identifier</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string NetworkId { get => this._networkId; set => this._networkId = value; }

        /// <summary>Backing field for <see cref="NetworkName" /> property.</summary>
        private string _networkName;

        /// <summary>Name of the network</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string NetworkName { get => this._networkName; set => this._networkName = value; }

        /// <summary>Backing field for <see cref="SubnetId" /> property.</summary>
        private string _subnetId;

        /// <summary>subnet id of network</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string SubnetId { get => this._subnetId; set => this._subnetId = value; }

        /// <summary>Creates an new <see cref="AzureNetwork" /> instance.</summary>
        public AzureNetwork()
        {

        }
    }
    /// Network interface for the destination instances
    public partial interface IAzureNetwork :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// Azure network ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/virtualNetworks/{Network
        /// Name}.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Azure network ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/virtualNetworks/{Network Name}.",
        SerializedName = @"networkId",
        PossibleTypes = new [] { typeof(string) })]
        string NetworkAddressDetailNetworkId { get; set; }
        /// <summary>Azure private IP address.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Azure private IP address.",
        SerializedName = @"privateIpAddress",
        PossibleTypes = new [] { typeof(string) })]
        string NetworkAddressDetailPrivateIPAddress { get; set; }
        /// <summary>Azure publice IP address.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Azure publice IP address.",
        SerializedName = @"publicIpAddress",
        PossibleTypes = new [] { typeof(string) })]
        string NetworkAddressDetailPublicIPAddress { get; set; }
        /// <summary>
        /// Azure public IP address ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/publicIPAddresses/{Public
        /// IP Address Name}.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Azure public IP address ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/publicIPAddresses/{Public IP Address Name}.",
        SerializedName = @"publicIpAddressId",
        PossibleTypes = new [] { typeof(string) })]
        string NetworkAddressDetailPublicIPAddressId { get; set; }
        /// <summary>
        /// Azure subnet ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/virtualNetworks/{Network
        /// Name}/subnets/{Subnet Name}.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Azure subnet ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/virtualNetworks/{Network Name}/subnets/{Subnet Name}.",
        SerializedName = @"subnetId",
        PossibleTypes = new [] { typeof(string) })]
        string NetworkAddressDetailSubnetId { get; set; }
        /// <summary>Display Name of network</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Display Name of network",
        SerializedName = @"networkDisplayName",
        PossibleTypes = new [] { typeof(string) })]
        string NetworkDisplayName { get; set; }
        /// <summary>Network unique identifier</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Network unique identifier",
        SerializedName = @"networkId",
        PossibleTypes = new [] { typeof(string) })]
        string NetworkId { get; set; }
        /// <summary>Name of the network</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Name of the 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 SubnetId { get; set; }

    }
    /// Network interface for the destination instances
    internal partial interface IAzureNetworkInternal

    {
        /// <summary>
        /// Azure network ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/virtualNetworks/{Network
        /// Name}.
        /// </summary>
        string NetworkAddressDetailNetworkId { get; set; }
        /// <summary>Azure private IP address.</summary>
        string NetworkAddressDetailPrivateIPAddress { get; set; }
        /// <summary>Azure publice IP address.</summary>
        string NetworkAddressDetailPublicIPAddress { get; set; }
        /// <summary>
        /// Azure public IP address ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/publicIPAddresses/{Public
        /// IP Address Name}.
        /// </summary>
        string NetworkAddressDetailPublicIPAddressId { get; set; }
        /// <summary>
        /// Azure subnet ID. Format: /subscriptions/{Subscription ID}/resourceGroups/{Resource Group Name}/providers/Microsoft.Network/virtualNetworks/{Network
        /// Name}/subnets/{Subnet Name}.
        /// </summary>
        string NetworkAddressDetailSubnetId { get; set; }
        /// <summary>Azure nic info for restore</summary>
        Commvault.Powershell.Models.IAzureDestinationInfoNic NetworkAddressDetails { get; set; }
        /// <summary>Display Name of network</summary>
        string NetworkDisplayName { get; set; }
        /// <summary>Network unique identifier</summary>
        string NetworkId { get; set; }
        /// <summary>Name of the network</summary>
        string NetworkName { get; set; }
        /// <summary>subnet id of network</summary>
        string SubnetId { get; set; }

    }
}