Class ArmGrafanaModelFactory
Model factory for models.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Grafana.dll
Syntax
public static class ArmGrafanaModelFactory
Methods
EnterpriseDetails(SaasSubscriptionDetails, MarketplaceTrialQuota)
Initializes a new instance of EnterpriseDetails.
Declaration
public static Azure.ResourceManager.Grafana.Models.EnterpriseDetails EnterpriseDetails (Azure.ResourceManager.Grafana.Models.SaasSubscriptionDetails saasSubscriptionDetails = null, Azure.ResourceManager.Grafana.Models.MarketplaceTrialQuota marketplaceTrialQuota = null);
Parameters
SaasSubscriptionDetails
saasSubscriptionDetails
SaaS subscription details of a Grafana instance. |
MarketplaceTrialQuota
marketplaceTrialQuota
The allocation details of the per subscription free trial slot of the subscription. |
Returns
EnterpriseDetails
A new EnterpriseDetails instance for mocking. |
GrafanaAvailablePlugin(String, String)
Initializes a new instance of GrafanaAvailablePlugin.
Declaration
public static Azure.ResourceManager.Grafana.Models.GrafanaAvailablePlugin GrafanaAvailablePlugin (string pluginId = null, string name = null);
Parameters
System.String
pluginId
Grafana plugin id. |
System.String
name
Grafana plugin display name. |
Returns
GrafanaAvailablePlugin
A new GrafanaAvailablePlugin instance for mocking. |
GrafanaPlugin(String)
Initializes a new instance of GrafanaPlugin.
Declaration
public static Azure.ResourceManager.Grafana.Models.GrafanaPlugin GrafanaPlugin (string pluginId = null);
Parameters
System.String
pluginId
Grafana plugin id. |
Returns
GrafanaPlugin
A new GrafanaPlugin instance for mocking. |
GrafanaPrivateEndpointConnectionData(ResourceIdentifier, String, ResourceType, SystemData, ResourceIdentifier, GrafanaPrivateLinkServiceConnectionState, IEnumerable<String>, Nullable<GrafanaPrivateEndpointConnectionProvisioningState>)
Initializes a new instance of GrafanaPrivateEndpointConnectionData.
Declaration
public static Azure.ResourceManager.Grafana.GrafanaPrivateEndpointConnectionData GrafanaPrivateEndpointConnectionData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.Core.ResourceIdentifier privateEndpointId = null, Azure.ResourceManager.Grafana.Models.GrafanaPrivateLinkServiceConnectionState connectionState = null, System.Collections.Generic.IEnumerable<string> groupIds = null, Nullable<Azure.ResourceManager.Grafana.Models.GrafanaPrivateEndpointConnectionProvisioningState> provisioningState = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
Azure.Core.ResourceIdentifier
privateEndpointId
The resource of private end point. |
GrafanaPrivateLinkServiceConnectionState
connectionState
A collection of information about the state of the connection between service consumer and provider. |
System.Collections.Generic.IEnumerable<System.String>
groupIds
The private endpoint connection group ids. |
System.Nullable<GrafanaPrivateEndpointConnectionProvisioningState>
provisioningState
The provisioning state of the private endpoint connection resource. |
Returns
GrafanaPrivateEndpointConnectionData
A new GrafanaPrivateEndpointConnectionData instance for mocking. |
GrafanaPrivateLinkResourceData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<GrafanaProvisioningState>, String, IEnumerable<String>, IEnumerable<String>)
Initializes a new instance of GrafanaPrivateLinkResourceData.
Declaration
public static Azure.ResourceManager.Grafana.GrafanaPrivateLinkResourceData GrafanaPrivateLinkResourceData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Nullable<Azure.ResourceManager.Grafana.Models.GrafanaProvisioningState> provisioningState = null, string groupId = null, System.Collections.Generic.IEnumerable<string> requiredMembers = null, System.Collections.Generic.IEnumerable<string> requiredZoneNames = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Nullable<GrafanaProvisioningState>
provisioningState
Provisioning state of the resource. |
System.String
groupId
The private link resource group id. |
System.Collections.Generic.IEnumerable<System.String>
requiredMembers
The private link resource required member names. |
System.Collections.Generic.IEnumerable<System.String>
requiredZoneNames
The private link resource Private link DNS zone name. |
Returns
GrafanaPrivateLinkResourceData
A new GrafanaPrivateLinkResourceData instance for mocking. |
ManagedGrafanaData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, String, ManagedGrafanaProperties, ManagedServiceIdentity)
Initializes a new instance of ManagedGrafanaData.
Declaration
public static Azure.ResourceManager.Grafana.ManagedGrafanaData ManagedGrafanaData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string,string> tags = null, Azure.Core.AzureLocation location = null, string skuName = null, Azure.ResourceManager.Grafana.Models.ManagedGrafanaProperties properties = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
The tags. |
Azure.Core.AzureLocation
location
The location. |
System.String
skuName
The Sku of the grafana resource. |
ManagedGrafanaProperties
properties
Properties specific to the grafana resource. |
Azure.ResourceManager.Models.ManagedServiceIdentity
identity
The managed identity of the grafana resource. |
Returns
ManagedGrafanaData
A new ManagedGrafanaData instance for mocking. |
ManagedGrafanaProperties(Nullable<GrafanaProvisioningState>, String, String, Nullable<GrafanaPublicNetworkAccess>, Nullable<GrafanaZoneRedundancy>, Nullable<GrafanaApiKey>, Nullable<DeterministicOutboundIP>, IEnumerable<String>, IEnumerable<GrafanaPrivateEndpointConnectionData>, Nullable<AutoGeneratedDomainNameLabelScope>, IEnumerable<MonitorWorkspaceIntegration>, EnterpriseConfigurations, Smtp, IDictionary<String,GrafanaPlugin>, String)
Initializes a new instance of ManagedGrafanaProperties.
Declaration
public static Azure.ResourceManager.Grafana.Models.ManagedGrafanaProperties ManagedGrafanaProperties (Nullable<Azure.ResourceManager.Grafana.Models.GrafanaProvisioningState> provisioningState = null, string grafanaVersion = null, string endpoint = null, Nullable<Azure.ResourceManager.Grafana.Models.GrafanaPublicNetworkAccess> publicNetworkAccess = null, Nullable<Azure.ResourceManager.Grafana.Models.GrafanaZoneRedundancy> zoneRedundancy = null, Nullable<Azure.ResourceManager.Grafana.Models.GrafanaApiKey> apiKey = null, Nullable<Azure.ResourceManager.Grafana.Models.DeterministicOutboundIP> deterministicOutboundIP = null, System.Collections.Generic.IEnumerable<string> outboundIPs = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Grafana.GrafanaPrivateEndpointConnectionData> privateEndpointConnections = null, Nullable<Azure.ResourceManager.Grafana.Models.AutoGeneratedDomainNameLabelScope> autoGeneratedDomainNameLabelScope = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Grafana.Models.MonitorWorkspaceIntegration> monitorWorkspaceIntegrations = null, Azure.ResourceManager.Grafana.Models.EnterpriseConfigurations enterpriseConfigurations = null, Azure.ResourceManager.Grafana.Models.Smtp grafanaConfigurationsSmtp = null, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Grafana.Models.GrafanaPlugin> grafanaPlugins = null, string grafanaMajorVersion = null);
Parameters
System.Nullable<GrafanaProvisioningState>
provisioningState
Provisioning state of the resource. |
System.String
grafanaVersion
The Grafana software version. |
System.String
endpoint
The endpoint of the Grafana instance. |
System.Nullable<GrafanaPublicNetworkAccess>
publicNetworkAccess
Indicate the state for enable or disable traffic over the public interface. |
System.Nullable<GrafanaZoneRedundancy>
zoneRedundancy
The zone redundancy setting of the Grafana instance. |
System.Nullable<GrafanaApiKey>
apiKey
The api key setting of the Grafana instance. |
System.Nullable<DeterministicOutboundIP>
deterministicOutboundIP
Whether a Grafana instance uses deterministic outbound IPs. |
System.Collections.Generic.IEnumerable<System.String>
outboundIPs
List of outbound IPs if deterministicOutboundIP is enabled. |
System.Collections.Generic.IEnumerable<GrafanaPrivateEndpointConnectionData>
privateEndpointConnections
The private endpoint connections of the Grafana instance. |
System.Nullable<AutoGeneratedDomainNameLabelScope>
autoGeneratedDomainNameLabelScope
Scope for dns deterministic name hash calculation. |
System.Collections.Generic.IEnumerable<MonitorWorkspaceIntegration>
monitorWorkspaceIntegrations
GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. |
EnterpriseConfigurations
enterpriseConfigurations
Enterprise settings of a Grafana instance. |
Smtp
grafanaConfigurationsSmtp
Server configurations of a Grafana instance. |
System.Collections.Generic.IDictionary<System.String,GrafanaPlugin>
grafanaPlugins
Installed plugin list of the Grafana instance. Key is plugin id, value is plugin definition. |
System.String
grafanaMajorVersion
The major Grafana software version to target. |
Returns
ManagedGrafanaProperties
A new ManagedGrafanaProperties instance for mocking. |
ManagedPrivateEndpointConnectionState(Nullable<ManagedPrivateEndpointConnectionStatus>, String)
Initializes a new instance of ManagedPrivateEndpointConnectionState.
Declaration
public static Azure.ResourceManager.Grafana.Models.ManagedPrivateEndpointConnectionState ManagedPrivateEndpointConnectionState (Nullable<Azure.ResourceManager.Grafana.Models.ManagedPrivateEndpointConnectionStatus> status = null, string description = null);
Parameters
System.Nullable<ManagedPrivateEndpointConnectionStatus>
status
The approval/rejection status of managed private endpoint connection. |
System.String
description
Gets or sets the reason for approval/rejection of the connection. |
Returns
ManagedPrivateEndpointConnectionState
A new ManagedPrivateEndpointConnectionState instance for mocking. |
ManagedPrivateEndpointModelData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<GrafanaProvisioningState>, ResourceIdentifier, String, IEnumerable<String>, String, ManagedPrivateEndpointConnectionState, Uri, String)
Initializes a new instance of ManagedPrivateEndpointModelData.
Declaration
public static Azure.ResourceManager.Grafana.ManagedPrivateEndpointModelData ManagedPrivateEndpointModelData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string,string> tags = null, Azure.Core.AzureLocation location = null, Nullable<Azure.ResourceManager.Grafana.Models.GrafanaProvisioningState> provisioningState = null, Azure.Core.ResourceIdentifier privateLinkResourceId = null, string privateLinkResourceRegion = null, System.Collections.Generic.IEnumerable<string> groupIds = null, string requestMessage = null, Azure.ResourceManager.Grafana.Models.ManagedPrivateEndpointConnectionState connectionState = null, Uri privateLinkServiceUri = null, string privateLinkServicePrivateIP = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
The tags. |
Azure.Core.AzureLocation
location
The location. |
System.Nullable<GrafanaProvisioningState>
provisioningState
Provisioning state of the resource. |
Azure.Core.ResourceIdentifier
privateLinkResourceId
The ARM resource ID of the resource for which the managed private endpoint is pointing to. |
System.String
privateLinkResourceRegion
The region of the resource to which the managed private endpoint is pointing to. |
System.Collections.Generic.IEnumerable<System.String>
groupIds
The group Ids of the managed private endpoint. |
System.String
requestMessage
User input request message of the managed private endpoint. |
ManagedPrivateEndpointConnectionState
connectionState
The state of managed private endpoint connection. |
System.Uri
privateLinkServiceUri
The URL of the data store behind the private link service. It would be the URL in the Grafana data source configuration page without the protocol and port. |
System.String
privateLinkServicePrivateIP
The private IP of private endpoint after approval. This property is empty before connection is approved. |
Returns
ManagedPrivateEndpointModelData
A new ManagedPrivateEndpointModelData instance for mocking. |
MarketplaceTrialQuota(Nullable<AvailablePromotion>, ResourceIdentifier, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)
Initializes a new instance of MarketplaceTrialQuota.
Declaration
public static Azure.ResourceManager.Grafana.Models.MarketplaceTrialQuota MarketplaceTrialQuota (Nullable<Azure.ResourceManager.Grafana.Models.AvailablePromotion> availablePromotion = null, Azure.Core.ResourceIdentifier grafanaResourceId = null, Nullable<DateTimeOffset> trialStartOn = null, Nullable<DateTimeOffset> trialEndOn = null);
Parameters
System.Nullable<AvailablePromotion>
availablePromotion
Available enterprise promotion for the subscription. |
Azure.Core.ResourceIdentifier
grafanaResourceId
Resource Id of the Grafana resource which is doing the trial. |
System.Nullable<System.DateTimeOffset>
trialStartOn
The date and time in UTC of when the trial starts. |
System.Nullable<System.DateTimeOffset>
trialEndOn
The date and time in UTC of when the trial ends. |
Returns
MarketplaceTrialQuota
A new MarketplaceTrialQuota instance for mocking. |
SaasSubscriptionDetails(String, String, String, SubscriptionTerm)
Initializes a new instance of SaasSubscriptionDetails.
Declaration
public static Azure.ResourceManager.Grafana.Models.SaasSubscriptionDetails SaasSubscriptionDetails (string planId = null, string offerId = null, string publisherId = null, Azure.ResourceManager.Grafana.Models.SubscriptionTerm term = null);
Parameters
System.String
planId
The plan Id of the SaaS subscription. |
System.String
offerId
The offer Id of the SaaS subscription. |
System.String
publisherId
The publisher Id of the SaaS subscription. |
SubscriptionTerm
term
The billing term of the SaaS Subscription. |
Returns
SaasSubscriptionDetails
A new SaasSubscriptionDetails instance for mocking. |
SubscriptionTerm(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)
Initializes a new instance of SubscriptionTerm.
Declaration
public static Azure.ResourceManager.Grafana.Models.SubscriptionTerm SubscriptionTerm (string termUnit = null, Nullable<DateTimeOffset> startOn = null, Nullable<DateTimeOffset> endOn = null);
Parameters
System.String
termUnit
The unit of the billing term. |
System.Nullable<System.DateTimeOffset>
startOn
The date and time in UTC of when the billing term starts. |
System.Nullable<System.DateTimeOffset>
endOn
The date and time in UTC of when the billing term ends. |
Returns
SubscriptionTerm
A new SubscriptionTerm instance for mocking. |