Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ public VirtualNetwork()
/// <param name="defaultPublicNatGateway">A reference to the default public nat gateway being used by this virtual
/// network resource.
/// </param>
public VirtualNetwork(string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), ExtendedLocation extendedLocation = default(ExtendedLocation), string etag = default(string), AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), string provisioningState = default(string), int? flowTimeoutInMinutes = default(int?), System.Collections.Generic.IList<Subnet> subnets = default(System.Collections.Generic.IList<Subnet>), System.Collections.Generic.IList<VirtualNetworkPeering> virtualNetworkPeerings = default(System.Collections.Generic.IList<VirtualNetworkPeering>), string resourceGuid = default(string), bool? enableDdosProtection = default(bool?), bool? enableVMProtection = default(bool?), SubResource ddosProtectionPlan = default(SubResource), VirtualNetworkBgpCommunities bgpCommunities = default(VirtualNetworkBgpCommunities), VirtualNetworkEncryption encryption = default(VirtualNetworkEncryption), System.Collections.Generic.IList<SubResource> ipAllocations = default(System.Collections.Generic.IList<SubResource>), System.Collections.Generic.IList<FlowLog> flowLogs = default(System.Collections.Generic.IList<FlowLog>), string privateEndpointVNetPolicies = default(string), SubResource defaultPublicNatGateway = default(SubResource))

/// <param name="summarizedGatewayPrefixes">A summarized list of advertised prefixes for the virtual network.
/// </param>
public VirtualNetwork(string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), ExtendedLocation extendedLocation = default(ExtendedLocation), string etag = default(string), AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), string provisioningState = default(string), int? flowTimeoutInMinutes = default(int?), System.Collections.Generic.IList<Subnet> subnets = default(System.Collections.Generic.IList<Subnet>), System.Collections.Generic.IList<VirtualNetworkPeering> virtualNetworkPeerings = default(System.Collections.Generic.IList<VirtualNetworkPeering>), string resourceGuid = default(string), bool? enableDdosProtection = default(bool?), bool? enableVMProtection = default(bool?), SubResource ddosProtectionPlan = default(SubResource), VirtualNetworkBgpCommunities bgpCommunities = default(VirtualNetworkBgpCommunities), VirtualNetworkEncryption encryption = default(VirtualNetworkEncryption), System.Collections.Generic.IList<SubResource> ipAllocations = default(System.Collections.Generic.IList<SubResource>), System.Collections.Generic.IList<FlowLog> flowLogs = default(System.Collections.Generic.IList<FlowLog>), string privateEndpointVNetPolicies = default(string), SubResource defaultPublicNatGateway = default(SubResource), AddressSpace summarizedGatewayPrefixes = default(AddressSpace))

: base(id, name, type, location, tags)
{
Expand All @@ -124,6 +127,7 @@ public VirtualNetwork()
this.FlowLogs = flowLogs;
this.PrivateEndpointVNetPolicies = privateEndpointVNetPolicies;
this.DefaultPublicNatGateway = defaultPublicNatGateway;
this.SummarizedGatewayPrefixes = summarizedGatewayPrefixes;
CustomInit();
}

Expand Down Expand Up @@ -249,6 +253,13 @@ public VirtualNetwork()
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.defaultPublicNatGateway")]
public SubResource DefaultPublicNatGateway {get; private set; }

/// <summary>
/// Gets or sets a summarized list of advertised prefixes for the virtual
/// network.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.summarizedGatewayPrefixes")]
public AddressSpace SummarizedGatewayPrefixes {get; set; }
/// <summary>
/// Validate the object.
/// </summary>
Expand Down Expand Up @@ -287,6 +298,7 @@ public virtual void Validate()




}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,27 +47,32 @@ public VirtualNetworkAppliance()
/// Possible values include: &#39;Failed&#39;, &#39;Succeeded&#39;, &#39;Canceled&#39;, &#39;Creating&#39;,
/// &#39;Updating&#39;, &#39;Deleting&#39;</param>

/// <param name="subnet">The reference to the subnet resource.
/// </param>

/// <param name="bandwidthInGbps">Bandwidth of the VirtualNetworkAppliance resource in Gbps.
/// </param>

/// <param name="ipConfigurations">A list of IPConfigurations of the virtual network appliance.
/// </param>

/// <param name="privateIPAddressVersion">Whether the specific virtual network appliance is IPv4 or Dual Stack.
/// Default is IPv4.
/// Possible values include: &#39;IPv4&#39;, &#39;DualStack&#39;</param>

/// <param name="resourceGuid">The resource GUID property of the virtual network appliance resource.
/// </param>
public VirtualNetworkAppliance(string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string etag = default(string), string provisioningState = default(string), Subnet subnet = default(Subnet), string bandwidthInGbps = default(string), System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration> ipConfigurations = default(System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration>), string resourceGuid = default(string))

/// <param name="subnet">The reference to the subnet resource.
/// </param>
public VirtualNetworkAppliance(string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string etag = default(string), string provisioningState = default(string), double? bandwidthInGbps = default(double?), System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration> ipConfigurations = default(System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration>), string privateIPAddressVersion = default(string), string resourceGuid = default(string), Subnet subnet = default(Subnet))

: base(id, name, type, location, tags)
{
this.Etag = etag;
this.ProvisioningState = provisioningState;
this.Subnet = subnet;
this.BandwidthInGbps = bandwidthInGbps;
this.IPConfigurations = ipConfigurations;
this.PrivateIPAddressVersion = privateIPAddressVersion;
this.ResourceGuid = resourceGuid;
this.Subnet = subnet;
CustomInit();
}

Expand All @@ -90,28 +95,35 @@ public VirtualNetworkAppliance()
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.provisioningState")]
public string ProvisioningState {get; private set; }

/// <summary>
/// Gets or sets the reference to the subnet resource.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.subnet")]
public Subnet Subnet {get; set; }

/// <summary>
/// Gets or sets bandwidth of the VirtualNetworkAppliance resource in Gbps.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.bandwidthInGbps")]
public string BandwidthInGbps {get; set; }
public double? BandwidthInGbps {get; set; }

/// <summary>
/// Gets a list of IPConfigurations of the virtual network appliance.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.ipConfigurations")]
public System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration> IPConfigurations {get; private set; }

/// <summary>
/// Gets or sets whether the specific virtual network appliance is IPv4 or Dual
/// Stack. Default is IPv4. Possible values include: &#39;IPv4&#39;, &#39;DualStack&#39;
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.privateIPAddressVersion")]
public string PrivateIPAddressVersion {get; set; }

/// <summary>
/// Gets the resource GUID property of the virtual network appliance resource.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.resourceGuid")]
public string ResourceGuid {get; private set; }

/// <summary>
/// Gets or sets the reference to the subnet resource.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.subnet")]
public Subnet Subnet {get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Microsoft.Azure.Management.Network.Models
{

/// <summary>
/// Defines values for VirtualNetworkApplianceIpVersionType.
/// </summary>


public static class VirtualNetworkApplianceIpVersionType
{
public const string IPv4 = "IPv4";
public const string DualStack = "DualStack";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public VirtualNetworkAppliancePropertiesFormat()
/// <param name="ipConfigurations">A list of IPConfigurations of the virtual network appliance.
/// </param>

/// <param name="privateIPAddressVersion">Whether the specific virtual network appliance is IPv4 or Dual Stack.
/// Default is IPv4.
/// Possible values include: &#39;IPv4&#39;, &#39;DualStack&#39;</param>

/// <param name="provisioningState">The provisioning state of the virtual network appliance resource.
/// Possible values include: &#39;Failed&#39;, &#39;Succeeded&#39;, &#39;Canceled&#39;, &#39;Creating&#39;,
/// &#39;Updating&#39;, &#39;Deleting&#39;</param>
Expand All @@ -39,11 +43,12 @@ public VirtualNetworkAppliancePropertiesFormat()

/// <param name="subnet">The reference to the subnet resource.
/// </param>
public VirtualNetworkAppliancePropertiesFormat(string bandwidthInGbps = default(string), System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration> ipConfigurations = default(System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration>), string provisioningState = default(string), string resourceGuid = default(string), Subnet subnet = default(Subnet))
public VirtualNetworkAppliancePropertiesFormat(double? bandwidthInGbps = default(double?), System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration> ipConfigurations = default(System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration>), string privateIPAddressVersion = default(string), string provisioningState = default(string), string resourceGuid = default(string), Subnet subnet = default(Subnet))

{
this.BandwidthInGbps = bandwidthInGbps;
this.IPConfigurations = ipConfigurations;
this.PrivateIPAddressVersion = privateIPAddressVersion;
this.ProvisioningState = provisioningState;
this.ResourceGuid = resourceGuid;
this.Subnet = subnet;
Expand All @@ -60,14 +65,21 @@ public VirtualNetworkAppliancePropertiesFormat()
/// Gets or sets bandwidth of the VirtualNetworkAppliance resource in Gbps.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "bandwidthInGbps")]
public string BandwidthInGbps {get; set; }
public double? BandwidthInGbps {get; set; }

/// <summary>
/// Gets a list of IPConfigurations of the virtual network appliance.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "ipConfigurations")]
public System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration> IPConfigurations {get; private set; }

/// <summary>
/// Gets or sets whether the specific virtual network appliance is IPv4 or Dual
/// Stack. Default is IPv4. Possible values include: &#39;IPv4&#39;, &#39;DualStack&#39;
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "privateIPAddressVersion")]
public string PrivateIPAddressVersion {get; set; }

/// <summary>
/// Gets the provisioning state of the virtual network appliance resource. Possible values include: &#39;Failed&#39;, &#39;Succeeded&#39;, &#39;Canceled&#39;, &#39;Creating&#39;, &#39;Updating&#39;, &#39;Deleting&#39;
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ public VirtualNetworkPropertiesFormat()
/// <param name="defaultPublicNatGateway">A reference to the default public nat gateway being used by this virtual
/// network resource.
/// </param>
public VirtualNetworkPropertiesFormat(AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), int? flowTimeoutInMinutes = default(int?), System.Collections.Generic.IList<Subnet> subnets = default(System.Collections.Generic.IList<Subnet>), System.Collections.Generic.IList<VirtualNetworkPeering> virtualNetworkPeerings = default(System.Collections.Generic.IList<VirtualNetworkPeering>), string resourceGuid = default(string), string provisioningState = default(string), bool? enableDdosProtection = default(bool?), bool? enableVMProtection = default(bool?), SubResource ddosProtectionPlan = default(SubResource), VirtualNetworkBgpCommunities bgpCommunities = default(VirtualNetworkBgpCommunities), VirtualNetworkEncryption encryption = default(VirtualNetworkEncryption), System.Collections.Generic.IList<SubResource> ipAllocations = default(System.Collections.Generic.IList<SubResource>), System.Collections.Generic.IList<FlowLog> flowLogs = default(System.Collections.Generic.IList<FlowLog>), string privateEndpointVNetPolicies = default(string), SubResource defaultPublicNatGateway = default(SubResource))

/// <param name="summarizedGatewayPrefixes">A summarized list of advertised prefixes for the virtual network.
/// </param>
public VirtualNetworkPropertiesFormat(AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), int? flowTimeoutInMinutes = default(int?), System.Collections.Generic.IList<Subnet> subnets = default(System.Collections.Generic.IList<Subnet>), System.Collections.Generic.IList<VirtualNetworkPeering> virtualNetworkPeerings = default(System.Collections.Generic.IList<VirtualNetworkPeering>), string resourceGuid = default(string), string provisioningState = default(string), bool? enableDdosProtection = default(bool?), bool? enableVMProtection = default(bool?), SubResource ddosProtectionPlan = default(SubResource), VirtualNetworkBgpCommunities bgpCommunities = default(VirtualNetworkBgpCommunities), VirtualNetworkEncryption encryption = default(VirtualNetworkEncryption), System.Collections.Generic.IList<SubResource> ipAllocations = default(System.Collections.Generic.IList<SubResource>), System.Collections.Generic.IList<FlowLog> flowLogs = default(System.Collections.Generic.IList<FlowLog>), string privateEndpointVNetPolicies = default(string), SubResource defaultPublicNatGateway = default(SubResource), AddressSpace summarizedGatewayPrefixes = default(AddressSpace))

{
this.AddressSpace = addressSpace;
Expand All @@ -99,6 +102,7 @@ public VirtualNetworkPropertiesFormat()
this.FlowLogs = flowLogs;
this.PrivateEndpointVNetPolicies = privateEndpointVNetPolicies;
this.DefaultPublicNatGateway = defaultPublicNatGateway;
this.SummarizedGatewayPrefixes = summarizedGatewayPrefixes;
CustomInit();
}

Expand Down Expand Up @@ -211,6 +215,13 @@ public VirtualNetworkPropertiesFormat()
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "defaultPublicNatGateway")]
public SubResource DefaultPublicNatGateway {get; private set; }

/// <summary>
/// Gets or sets a summarized list of advertised prefixes for the virtual
/// network.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "summarizedGatewayPrefixes")]
public AddressSpace SummarizedGatewayPrefixes {get; set; }
/// <summary>
/// Validate the object.
/// </summary>
Expand Down Expand Up @@ -247,6 +258,7 @@ public virtual void Validate()




}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ internal ResourceNavigationLinksOperations (NetworkManagementClient client)
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}

string apiVersion = "2025-05-01";
string apiVersion = "2025-07-01";
// Tracing
bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ internal ServiceAssociationLinksOperations (NetworkManagementClient client)
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}

string apiVersion = "2025-05-01";
string apiVersion = "2025-07-01";
// Tracing
bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Loading
Loading