generated/api/Models/AzureNetwork.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>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="PrivateIPaddress" /> property.</summary> private string _privateIPaddress; /// <summary>Private IP address of the network</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string PrivateIPaddress { get => this._privateIPaddress; set => this._privateIPaddress = value; } /// <summary>Backing field for <see cref="PublicIPAddress" /> property.</summary> private string _publicIPAddress; /// <summary>Public IP address of the network</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string PublicIPAddress { get => this._publicIPAddress; set => this._publicIPAddress = value; } /// <summary>Backing field for <see cref="PublicIPaddressId" /> property.</summary> private string _publicIPaddressId; /// <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.Owned)] public string PublicIPaddressId { get => this._publicIPaddressId; set => this._publicIPaddressId = 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, Read = true, Create = true, Update = true, 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, Read = true, Create = true, Update = true, 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, Read = true, Create = true, Update = true, 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, Read = true, Create = true, Update = true, 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, Read = true, Create = true, Update = true, 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, Read = true, Create = true, Update = true, 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, Read = true, Create = true, Update = true, 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, Read = true, Create = true, Update = true, Description = @"Name of the network", SerializedName = @"networkName", PossibleTypes = new [] { typeof(string) })] string NetworkName { get; set; } /// <summary>Private IP address of the network</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Private IP address of the network", SerializedName = @"privateIPaddress", PossibleTypes = new [] { typeof(string) })] string PrivateIPaddress { get; set; } /// <summary>Public IP address of the network</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Public IP address of the network", SerializedName = @"publicIPAddress", PossibleTypes = new [] { typeof(string) })] string PublicIPAddress { 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, Read = true, Create = true, Update = true, 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 PublicIPaddressId { get; set; } /// <summary>subnet id of network</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, 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>Private IP address of the network</summary> string PrivateIPaddress { get; set; } /// <summary>Public IP address of the network</summary> string PublicIPAddress { 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 PublicIPaddressId { get; set; } /// <summary>subnet id of network</summary> string SubnetId { get; set; } } } |