ArmAdvisorModelFactory.AdvisorMetadataEntityData Method

Definition

public static Azure.ResourceManager.Advisor.AdvisorMetadataEntityData AdvisorMetadataEntityData(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.MetadataScenarioType> applicableScenarios = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Advisor.Models.MetadataSupportedValueDetail> supportedValues = default);
static member AdvisorMetadataEntityData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<string> * seq<Azure.ResourceManager.Advisor.Models.MetadataScenarioType> * seq<Azure.ResourceManager.Advisor.Models.MetadataSupportedValueDetail> -> Azure.ResourceManager.Advisor.AdvisorMetadataEntityData
Public Shared Function AdvisorMetadataEntityData (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 MetadataScenarioType) = Nothing, Optional supportedValues As IEnumerable(Of MetadataSupportedValueDetail) = Nothing) As AdvisorMetadataEntityData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

displayName
String

The display name.

dependsOn
IEnumerable<String>

The list of keys on which this entity depends on.

applicableScenarios
IEnumerable<MetadataScenarioType>

The list of scenarios applicable to this metadata entity.

supportedValues
IEnumerable<MetadataSupportedValueDetail>

The list of supported values.

Returns

A new AdvisorMetadataEntityData instance for mocking.

Applies to