Skip to content

Commit

Permalink
AutoPr-Advisor-mudit794-REST Spec PrNumber 6067 (#6390)
Browse files Browse the repository at this point in the history
* .NET SDK Resource Provider:'Advisor'
REST Spec PR 'Azure/azure-rest-api-specs#6067'
REST Spec PR Author 'mudit794'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Advisor'
REST Spec PR 'Azure/azure-rest-api-specs#6067'
REST Spec PR Author 'mudit794'
REST Spec PR Last commit
  • Loading branch information
adxsdknet authored and dsgouda committed May 28, 2019
1 parent 00d0ee5 commit 36e9503
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,17 @@ public MetadataEntity()
/// <param name="displayName">The display name.</param>
/// <param name="dependsOn">The list of keys on which this entity
/// depends on.</param>
/// <param name="applicableScenarios">The list of scenarios applicable
/// to this metadata entity.</param>
/// <param name="supportedValues">The list of supported values.</param>
public MetadataEntity(string id = default(string), string type = default(string), string name = default(string), string displayName = default(string), IList<string> dependsOn = default(IList<string>), IList<MetadataSupportedValueDetail> supportedValues = default(IList<MetadataSupportedValueDetail>))
public MetadataEntity(string id = default(string), string type = default(string), string name = default(string), string displayName = default(string), IList<string> dependsOn = default(IList<string>), IList<string> applicableScenarios = default(IList<string>), IList<MetadataSupportedValueDetail> supportedValues = default(IList<MetadataSupportedValueDetail>))
{
Id = id;
Type = type;
Name = name;
DisplayName = displayName;
DependsOn = dependsOn;
ApplicableScenarios = applicableScenarios;
SupportedValues = supportedValues;
CustomInit();
}
Expand Down Expand Up @@ -87,6 +90,13 @@ public MetadataEntity()
[JsonProperty(PropertyName = "properties.dependsOn")]
public IList<string> DependsOn { get; set; }

/// <summary>
/// Gets or sets the list of scenarios applicable to this metadata
/// entity.
/// </summary>
[JsonProperty(PropertyName = "properties.applicableScenarios")]
public IList<string> ApplicableScenarios { get; set; }

/// <summary>
/// Gets or sets the list of supported values.
/// </summary>
Expand Down
21 changes: 21 additions & 0 deletions src/SDKs/Advisor/Management.Advisor/Generated/Models/Scenario.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// <auto-generated>
// 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.
// </auto-generated>

namespace Microsoft.Azure.Management.Advisor.Models
{

/// <summary>
/// Defines values for Scenario.
/// </summary>
public static class Scenario
{
public const string Alerts = "Alerts";
}
}

0 comments on commit 36e9503

Please sign in to comment.