ArmAdvisorModelFactory.MetadataEntityData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MetadataEntityData.
public static Azure.ResourceManager.Advisor.MetadataEntityData MetadataEntityData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, System.Collections.Generic.IEnumerable<string> dependsOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Advisor.Models.Scenario> applicableScenarios = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Advisor.Models.MetadataSupportedValueDetail> supportedValues = default);
static member MetadataEntityData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<string> * seq<Azure.ResourceManager.Advisor.Models.Scenario> * seq<Azure.ResourceManager.Advisor.Models.MetadataSupportedValueDetail> -> Azure.ResourceManager.Advisor.MetadataEntityData
Public Shared Function MetadataEntityData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional dependsOn As IEnumerable(Of String) = Nothing, Optional applicableScenarios As IEnumerable(Of Scenario) = Nothing, Optional supportedValues As IEnumerable(Of MetadataSupportedValueDetail) = Nothing) As MetadataEntityData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- displayName
- String
The display name.
- dependsOn
- IEnumerable<String>
The list of keys on which this entity depends on.
- applicableScenarios
- IEnumerable<Scenario>
The list of scenarios applicable to this metadata entity.
- supportedValues
- IEnumerable<MetadataSupportedValueDetail>
The list of supported values.
Returns
A new MetadataEntityData instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET