你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmGrafanaModelFactory.ManagedGrafanaData Method

Definition

Initializes a new instance of ManagedGrafanaData.

public static Azure.ResourceManager.Grafana.ManagedGrafanaData ManagedGrafanaData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string skuName = default, Azure.ResourceManager.Grafana.Models.ManagedGrafanaProperties properties = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member ManagedGrafanaData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Azure.ResourceManager.Grafana.Models.ManagedGrafanaProperties * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.Grafana.ManagedGrafanaData
Public Shared Function ManagedGrafanaData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional skuName As String = Nothing, Optional properties As ManagedGrafanaProperties = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As ManagedGrafanaData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

skuName
String

The Sku of the grafana resource.

properties
ManagedGrafanaProperties

Properties specific to the grafana resource.

identity
ManagedServiceIdentity

The managed identity of the grafana resource.

Returns

A new ManagedGrafanaData instance for mocking.

Applies to