diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIpAddressesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIPAddressesOperations.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIpAddressesOperations.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIPAddressesOperations.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualWANsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualWansOperations.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualWANsOperations.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualWansOperations.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFrontendIpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFrontendIPConfiguration.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFrontendIpConfiguration.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFrontendIPConfiguration.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayIpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayIPConfiguration.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayIpConfiguration.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayIPConfiguration.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FrontendIpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FrontendIPConfiguration.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FrontendIpConfiguration.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FrontendIPConfiguration.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IpAllocationMethod.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IPAllocationMethod.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IpAllocationMethod.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IPAllocationMethod.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceIpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceIPConfiguration.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceIpConfiguration.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceIPConfiguration.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddress.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddress.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddress.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddress.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddressDnsSettings.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressDnsSettings.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddressDnsSettings.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressDnsSettings.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ServiceEndpointPolicy.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ServiceEndpointPolicy.cs
index feac83c23138..3798ebe8dbc2 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ServiceEndpointPolicy.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ServiceEndpointPolicy.cs
@@ -51,7 +51,9 @@ public ServiceEndpointPolicy()
/// 'Succeeded', 'Updating', 'Deleting', 'Failed'
/// A unique read-only string that changes whenever
/// the resource is updated.
- public ServiceEndpointPolicy(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList serviceEndpointPolicyDefinitions = default(IList), IList subnets = default(IList), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
+ /// Kind of service endpoint policy. This is
+ /// metadata used for the Azure portal experience.
+ public ServiceEndpointPolicy(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList serviceEndpointPolicyDefinitions = default(IList), IList subnets = default(IList), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string), string kind = default(string))
: base(id, name, type, location, tags)
{
ServiceEndpointPolicyDefinitions = serviceEndpointPolicyDefinitions;
@@ -59,6 +61,7 @@ public ServiceEndpointPolicy()
ResourceGuid = resourceGuid;
ProvisioningState = provisioningState;
Etag = etag;
+ Kind = kind;
CustomInit();
}
@@ -102,5 +105,12 @@ public ServiceEndpointPolicy()
[JsonProperty(PropertyName = "etag")]
public string Etag { get; private set; }
+ ///
+ /// Gets kind of service endpoint policy. This is metadata used for the
+ /// Azure portal experience.
+ ///
+ [JsonProperty(PropertyName = "kind")]
+ public string Kind { get; private set; }
+
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/Subnet.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/Subnet.cs
index a035ab6a1159..77a54d8dd769 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/Subnet.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/Subnet.cs
@@ -70,10 +70,11 @@ public Subnet()
/// subnet resource. Possible values include: 'Succeeded', 'Updating',
/// 'Deleting', 'Failed'
/// Enable or Disable
- /// apply network policies on private end point in the subnet.
+ /// apply network policies on private end point in the subnet. Possible
+ /// values include: 'Enabled', 'Disabled'
/// Enable or Disable
- /// apply network policies on private link service in the
- /// subnet.
+ /// apply network policies on private link service in the subnet.
+ /// Possible values include: 'Enabled', 'Disabled'
/// The name of the resource that is unique within a
/// resource group. This name can be used to access the
/// resource.
@@ -213,14 +214,16 @@ public Subnet()
///
/// Gets or sets enable or Disable apply network policies on private
- /// end point in the subnet.
+ /// end point in the subnet. Possible values include: 'Enabled',
+ /// 'Disabled'
///
[JsonProperty(PropertyName = "properties.privateEndpointNetworkPolicies")]
public string PrivateEndpointNetworkPolicies { get; set; }
///
/// Gets or sets enable or Disable apply network policies on private
- /// link service in the subnet.
+ /// link service in the subnet. Possible values include: 'Enabled',
+ /// 'Disabled'
///
[JsonProperty(PropertyName = "properties.privateLinkServiceNetworkPolicies")]
public string PrivateLinkServiceNetworkPolicies { get; set; }
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs
index 9b2a6633f0a5..0d055075c65d 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs
@@ -39,6 +39,8 @@ public VirtualNetworkGateway()
/// Resource type.
/// Resource location.
/// Resource tags.
+ /// The extended location of type local
+ /// virtual network gateway.
/// IP configurations for virtual
/// network gateway.
/// The type of this virtual network gateway.
@@ -79,16 +81,15 @@ public VirtualNetworkGateway()
/// or not.
/// The IP address allocated
/// by the gateway to which dns requests can be sent.
- /// MAS FIJI customer vnet
- /// resource id. VirtualNetworkGateway of type local gateway is
- /// associated with the customer vnet.
- /// The extended location
- /// of type local virtual network gateway.
+ /// Customer vnet resource
+ /// id. VirtualNetworkGateway of type local gateway is associated with
+ /// the customer vnet.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList ipConfigurations = default(IList), string gatewayType = default(string), string vpnType = default(string), string vpnGatewayGeneration = default(string), bool? enableBgp = default(bool?), bool? enablePrivateIpAddress = default(bool?), bool? activeActive = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), AddressSpace customRoutes = default(AddressSpace), string resourceGuid = default(string), string provisioningState = default(string), bool? enableDnsForwarding = default(bool?), string inboundDnsForwardingEndpoint = default(string), string vNetExtendedLocationResourceId = default(string), ExtendedLocation virtualNetworkExtendedLocation = default(ExtendedLocation), string etag = default(string))
+ public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ExtendedLocation extendedLocation = default(ExtendedLocation), IList ipConfigurations = default(IList), string gatewayType = default(string), string vpnType = default(string), string vpnGatewayGeneration = default(string), bool? enableBgp = default(bool?), bool? enablePrivateIpAddress = default(bool?), bool? activeActive = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), AddressSpace customRoutes = default(AddressSpace), string resourceGuid = default(string), string provisioningState = default(string), bool? enableDnsForwarding = default(bool?), string inboundDnsForwardingEndpoint = default(string), string vNetExtendedLocationResourceId = default(string), string etag = default(string))
: base(id, name, type, location, tags)
{
+ ExtendedLocation = extendedLocation;
IpConfigurations = ipConfigurations;
GatewayType = gatewayType;
VpnType = vpnType;
@@ -106,7 +107,6 @@ public VirtualNetworkGateway()
EnableDnsForwarding = enableDnsForwarding;
InboundDnsForwardingEndpoint = inboundDnsForwardingEndpoint;
VNetExtendedLocationResourceId = vNetExtendedLocationResourceId;
- VirtualNetworkExtendedLocation = virtualNetworkExtendedLocation;
Etag = etag;
CustomInit();
}
@@ -116,6 +116,13 @@ public VirtualNetworkGateway()
///
partial void CustomInit();
+ ///
+ /// Gets or sets the extended location of type local virtual network
+ /// gateway.
+ ///
+ [JsonProperty(PropertyName = "extendedLocation")]
+ public ExtendedLocation ExtendedLocation { get; set; }
+
///
/// Gets or sets IP configurations for virtual network gateway.
///
@@ -229,20 +236,12 @@ public VirtualNetworkGateway()
public string InboundDnsForwardingEndpoint { get; private set; }
///
- /// Gets or sets MAS FIJI customer vnet resource id.
- /// VirtualNetworkGateway of type local gateway is associated with the
- /// customer vnet.
+ /// Gets or sets customer vnet resource id. VirtualNetworkGateway of
+ /// type local gateway is associated with the customer vnet.
///
[JsonProperty(PropertyName = "properties.vNetExtendedLocationResourceId")]
public string VNetExtendedLocationResourceId { get; set; }
- ///
- /// Gets or sets the extended location of type local virtual network
- /// gateway.
- ///
- [JsonProperty(PropertyName = "properties.virtualNetworkExtendedLocation")]
- public ExtendedLocation VirtualNetworkExtendedLocation { get; set; }
-
///
/// Gets a unique read-only string that changes whenever the resource
/// is updated.
@@ -258,13 +257,13 @@ public VirtualNetworkGateway()
///
public virtual void Validate()
{
- if (BgpSettings != null)
+ if (ExtendedLocation != null)
{
- BgpSettings.Validate();
+ ExtendedLocation.Validate();
}
- if (VirtualNetworkExtendedLocation != null)
+ if (BgpSettings != null)
{
- VirtualNetworkExtendedLocation.Validate();
+ BgpSettings.Validate();
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayIpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayIPConfiguration.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayIpConfiguration.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayIPConfiguration.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPrivateEndpointNetworkPolicies.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPrivateEndpointNetworkPolicies.cs
new file mode 100644
index 000000000000..f163072d5afd
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPrivateEndpointNetworkPolicies.cs
@@ -0,0 +1,22 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for VirtualNetworkPrivateEndpointNetworkPolicies.
+ ///
+ public static class VirtualNetworkPrivateEndpointNetworkPolicies
+ {
+ public const string Enabled = "Enabled";
+ public const string Disabled = "Disabled";
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPrivateLinkServiceNetworkPolicies.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPrivateLinkServiceNetworkPolicies.cs
new file mode 100644
index 000000000000..0abd6c551a88
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPrivateLinkServiceNetworkPolicies.cs
@@ -0,0 +1,22 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for VirtualNetworkPrivateLinkServiceNetworkPolicies.
+ ///
+ public static class VirtualNetworkPrivateLinkServiceNetworkPolicies
+ {
+ public const string Enabled = "Enabled";
+ public const string Disabled = "Disabled";
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPAddressesOperations.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperations.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPAddressesOperations.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPAddressesOperationsExtensions.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperationsExtensions.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPAddressesOperationsExtensions.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SdkInfo_NetworkManagementClient.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SdkInfo_NetworkManagementClient.cs
index 94a55d2806f6..302ef6081da3 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SdkInfo_NetworkManagementClient.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SdkInfo_NetworkManagementClient.cs
@@ -141,16 +141,5 @@ public static IEnumerable> ApiInfo_NetworkManageme
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "v2";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\Projects\\Generator\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "bd75cbc7ae9c997f39362ac9d19d557219720bbd";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWANsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWansOperations.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWANsOperations.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWansOperations.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWANsOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWansOperationsExtensions.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWANsOperationsExtensions.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWansOperationsExtensions.cs