diff --git a/src/SDKs/Advisor/Management.Advisor/Generated/Models/MetadataEntity.cs b/src/SDKs/Advisor/Management.Advisor/Generated/Models/MetadataEntity.cs index 84ebe1da99560..f02e502205735 100644 --- a/src/SDKs/Advisor/Management.Advisor/Generated/Models/MetadataEntity.cs +++ b/src/SDKs/Advisor/Management.Advisor/Generated/Models/MetadataEntity.cs @@ -40,14 +40,17 @@ public MetadataEntity() /// The display name. /// The list of keys on which this entity /// depends on. + /// The list of scenarios applicable + /// to this metadata entity. /// The list of supported values. - public MetadataEntity(string id = default(string), string type = default(string), string name = default(string), string displayName = default(string), IList dependsOn = default(IList), IList supportedValues = default(IList)) + public MetadataEntity(string id = default(string), string type = default(string), string name = default(string), string displayName = default(string), IList dependsOn = default(IList), IList applicableScenarios = default(IList), IList supportedValues = default(IList)) { Id = id; Type = type; Name = name; DisplayName = displayName; DependsOn = dependsOn; + ApplicableScenarios = applicableScenarios; SupportedValues = supportedValues; CustomInit(); } @@ -87,6 +90,13 @@ public MetadataEntity() [JsonProperty(PropertyName = "properties.dependsOn")] public IList DependsOn { get; set; } + /// + /// Gets or sets the list of scenarios applicable to this metadata + /// entity. + /// + [JsonProperty(PropertyName = "properties.applicableScenarios")] + public IList ApplicableScenarios { get; set; } + /// /// Gets or sets the list of supported values. /// diff --git a/src/SDKs/Advisor/Management.Advisor/Generated/Models/Scenario.cs b/src/SDKs/Advisor/Management.Advisor/Generated/Models/Scenario.cs new file mode 100644 index 0000000000000..173e8fa519a9f --- /dev/null +++ b/src/SDKs/Advisor/Management.Advisor/Generated/Models/Scenario.cs @@ -0,0 +1,21 @@ +// +// 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.Advisor.Models +{ + + /// + /// Defines values for Scenario. + /// + public static class Scenario + { + public const string Alerts = "Alerts"; + } +}