diff --git a/sdk/monitor/Microsoft.Azure.Management.Monitor/src/Generated/Models/WebtestLocationAvailabilityCriteria.cs b/sdk/monitor/Microsoft.Azure.Management.Monitor/src/Generated/Models/WebtestLocationAvailabilityCriteria.cs
new file mode 100644
index 000000000000..d1024181e292
--- /dev/null
+++ b/sdk/monitor/Microsoft.Azure.Management.Monitor/src/Generated/Models/WebtestLocationAvailabilityCriteria.cs
@@ -0,0 +1,89 @@
+//
+// 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.Monitor.Models
+{
+ using Microsoft.Rest;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Specifies the metric alert rule criteria for a web test resource.
+ ///
+ public partial class WebtestLocationAvailabilityCriteria
+ {
+ ///
+ /// Initializes a new instance of the
+ /// WebtestLocationAvailabilityCriteria class.
+ ///
+ public WebtestLocationAvailabilityCriteria()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// WebtestLocationAvailabilityCriteria class.
+ ///
+ /// The web test Id.
+ /// The Application Insights resource
+ /// Id.
+ /// The number of failed
+ /// locations.
+ public WebtestLocationAvailabilityCriteria(string webTestId, string componentId, double failedLocationCount)
+ {
+ WebTestId = webTestId;
+ ComponentId = componentId;
+ FailedLocationCount = failedLocationCount;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the web test Id.
+ ///
+ [JsonProperty(PropertyName = "webTestId")]
+ public string WebTestId { get; set; }
+
+ ///
+ /// Gets or sets the Application Insights resource Id.
+ ///
+ [JsonProperty(PropertyName = "componentId")]
+ public string ComponentId { get; set; }
+
+ ///
+ /// Gets or sets the number of failed locations.
+ ///
+ [JsonProperty(PropertyName = "failedLocationCount")]
+ public double FailedLocationCount { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (WebTestId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "WebTestId");
+ }
+ if (ComponentId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "ComponentId");
+ }
+ }
+ }
+}