Documentation ¶
Index ¶
- type Azurerm_portal_dashboardArgs
- type Azurerm_portal_dashboardOutputArgs
- type Azurerm_portal_dashboardResult
- type Azurerm_portal_dashboardResultOutput
- func (o Azurerm_portal_dashboardResultOutput) DashboardProperties() pulumi.StringOutput
- func (o Azurerm_portal_dashboardResultOutput) DisplayName() pulumi.StringPtrOutput
- func (Azurerm_portal_dashboardResultOutput) ElementType() reflect.Type
- func (o Azurerm_portal_dashboardResultOutput) Id() pulumi.StringOutput
- func (o Azurerm_portal_dashboardResultOutput) Location() pulumi.StringOutput
- func (o Azurerm_portal_dashboardResultOutput) Name() pulumi.StringPtrOutput
- func (o Azurerm_portal_dashboardResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o Azurerm_portal_dashboardResultOutput) Tags() pulumi.StringMapOutput
- func (o Azurerm_portal_dashboardResultOutput) ToAzurerm_portal_dashboardResultOutput() Azurerm_portal_dashboardResultOutput
- func (o Azurerm_portal_dashboardResultOutput) ToAzurerm_portal_dashboardResultOutputWithContext(ctx context.Context) Azurerm_portal_dashboardResultOutput
- type Dashboarddeprecated
- type DashboardArgs
- type DashboardArray
- type DashboardArrayInput
- type DashboardArrayOutput
- func (DashboardArrayOutput) ElementType() reflect.Type
- func (o DashboardArrayOutput) Index(i pulumi.IntInput) DashboardOutput
- func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput
- func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
- type DashboardInput
- type DashboardMap
- type DashboardMapInput
- type DashboardMapOutput
- type DashboardOutput
- func (o DashboardOutput) DashboardProperties() pulumi.StringOutput
- func (DashboardOutput) ElementType() reflect.Type
- func (o DashboardOutput) Location() pulumi.StringOutput
- func (o DashboardOutput) Name() pulumi.StringOutput
- func (o DashboardOutput) ResourceGroupName() pulumi.StringOutput
- func (o DashboardOutput) Tags() pulumi.StringMapOutput
- func (o DashboardOutput) ToDashboardOutput() DashboardOutput
- func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
- type DashboardState
- type GetGrafanaAzureMonitorWorkspaceIntegration
- type GetGrafanaAzureMonitorWorkspaceIntegrationArgs
- func (GetGrafanaAzureMonitorWorkspaceIntegrationArgs) ElementType() reflect.Type
- func (i GetGrafanaAzureMonitorWorkspaceIntegrationArgs) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutput() GetGrafanaAzureMonitorWorkspaceIntegrationOutput
- func (i GetGrafanaAzureMonitorWorkspaceIntegrationArgs) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext(ctx context.Context) GetGrafanaAzureMonitorWorkspaceIntegrationOutput
- type GetGrafanaAzureMonitorWorkspaceIntegrationArray
- func (GetGrafanaAzureMonitorWorkspaceIntegrationArray) ElementType() reflect.Type
- func (i GetGrafanaAzureMonitorWorkspaceIntegrationArray) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput() GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- func (i GetGrafanaAzureMonitorWorkspaceIntegrationArray) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext(ctx context.Context) GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- type GetGrafanaAzureMonitorWorkspaceIntegrationArrayInput
- type GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- func (GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ElementType() reflect.Type
- func (o GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput) Index(i pulumi.IntInput) GetGrafanaAzureMonitorWorkspaceIntegrationOutput
- func (o GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput() GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- func (o GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext(ctx context.Context) GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- type GetGrafanaAzureMonitorWorkspaceIntegrationInput
- type GetGrafanaAzureMonitorWorkspaceIntegrationOutput
- func (GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ElementType() reflect.Type
- func (o GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ResourceId() pulumi.StringOutput
- func (o GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutput() GetGrafanaAzureMonitorWorkspaceIntegrationOutput
- func (o GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext(ctx context.Context) GetGrafanaAzureMonitorWorkspaceIntegrationOutput
- type GetGrafanaIdentity
- type GetGrafanaIdentityArgs
- func (GetGrafanaIdentityArgs) ElementType() reflect.Type
- func (i GetGrafanaIdentityArgs) ToGetGrafanaIdentityOutput() GetGrafanaIdentityOutput
- func (i GetGrafanaIdentityArgs) ToGetGrafanaIdentityOutputWithContext(ctx context.Context) GetGrafanaIdentityOutput
- func (i GetGrafanaIdentityArgs) ToGetGrafanaIdentityPtrOutput() GetGrafanaIdentityPtrOutput
- func (i GetGrafanaIdentityArgs) ToGetGrafanaIdentityPtrOutputWithContext(ctx context.Context) GetGrafanaIdentityPtrOutput
- type GetGrafanaIdentityInput
- type GetGrafanaIdentityOutput
- func (GetGrafanaIdentityOutput) ElementType() reflect.Type
- func (o GetGrafanaIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o GetGrafanaIdentityOutput) PrincipalId() pulumi.StringOutput
- func (o GetGrafanaIdentityOutput) TenantId() pulumi.StringOutput
- func (o GetGrafanaIdentityOutput) ToGetGrafanaIdentityOutput() GetGrafanaIdentityOutput
- func (o GetGrafanaIdentityOutput) ToGetGrafanaIdentityOutputWithContext(ctx context.Context) GetGrafanaIdentityOutput
- func (o GetGrafanaIdentityOutput) ToGetGrafanaIdentityPtrOutput() GetGrafanaIdentityPtrOutput
- func (o GetGrafanaIdentityOutput) ToGetGrafanaIdentityPtrOutputWithContext(ctx context.Context) GetGrafanaIdentityPtrOutput
- func (o GetGrafanaIdentityOutput) Type() pulumi.StringOutput
- type GetGrafanaIdentityPtrInput
- type GetGrafanaIdentityPtrOutput
- func (o GetGrafanaIdentityPtrOutput) Elem() GetGrafanaIdentityOutput
- func (GetGrafanaIdentityPtrOutput) ElementType() reflect.Type
- func (o GetGrafanaIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o GetGrafanaIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o GetGrafanaIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o GetGrafanaIdentityPtrOutput) ToGetGrafanaIdentityPtrOutput() GetGrafanaIdentityPtrOutput
- func (o GetGrafanaIdentityPtrOutput) ToGetGrafanaIdentityPtrOutputWithContext(ctx context.Context) GetGrafanaIdentityPtrOutput
- func (o GetGrafanaIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type Grafana
- type GrafanaArgs
- type GrafanaArray
- type GrafanaArrayInput
- type GrafanaArrayOutput
- type GrafanaAzureMonitorWorkspaceIntegration
- type GrafanaAzureMonitorWorkspaceIntegrationArgs
- func (GrafanaAzureMonitorWorkspaceIntegrationArgs) ElementType() reflect.Type
- func (i GrafanaAzureMonitorWorkspaceIntegrationArgs) ToGrafanaAzureMonitorWorkspaceIntegrationOutput() GrafanaAzureMonitorWorkspaceIntegrationOutput
- func (i GrafanaAzureMonitorWorkspaceIntegrationArgs) ToGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext(ctx context.Context) GrafanaAzureMonitorWorkspaceIntegrationOutput
- type GrafanaAzureMonitorWorkspaceIntegrationArray
- func (GrafanaAzureMonitorWorkspaceIntegrationArray) ElementType() reflect.Type
- func (i GrafanaAzureMonitorWorkspaceIntegrationArray) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutput() GrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- func (i GrafanaAzureMonitorWorkspaceIntegrationArray) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext(ctx context.Context) GrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- type GrafanaAzureMonitorWorkspaceIntegrationArrayInput
- type GrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- func (GrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ElementType() reflect.Type
- func (o GrafanaAzureMonitorWorkspaceIntegrationArrayOutput) Index(i pulumi.IntInput) GrafanaAzureMonitorWorkspaceIntegrationOutput
- func (o GrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutput() GrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- func (o GrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext(ctx context.Context) GrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- type GrafanaAzureMonitorWorkspaceIntegrationInput
- type GrafanaAzureMonitorWorkspaceIntegrationOutput
- func (GrafanaAzureMonitorWorkspaceIntegrationOutput) ElementType() reflect.Type
- func (o GrafanaAzureMonitorWorkspaceIntegrationOutput) ResourceId() pulumi.StringOutput
- func (o GrafanaAzureMonitorWorkspaceIntegrationOutput) ToGrafanaAzureMonitorWorkspaceIntegrationOutput() GrafanaAzureMonitorWorkspaceIntegrationOutput
- func (o GrafanaAzureMonitorWorkspaceIntegrationOutput) ToGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext(ctx context.Context) GrafanaAzureMonitorWorkspaceIntegrationOutput
- type GrafanaIdentity
- type GrafanaIdentityArgs
- func (GrafanaIdentityArgs) ElementType() reflect.Type
- func (i GrafanaIdentityArgs) ToGrafanaIdentityOutput() GrafanaIdentityOutput
- func (i GrafanaIdentityArgs) ToGrafanaIdentityOutputWithContext(ctx context.Context) GrafanaIdentityOutput
- func (i GrafanaIdentityArgs) ToGrafanaIdentityPtrOutput() GrafanaIdentityPtrOutput
- func (i GrafanaIdentityArgs) ToGrafanaIdentityPtrOutputWithContext(ctx context.Context) GrafanaIdentityPtrOutput
- type GrafanaIdentityInput
- type GrafanaIdentityOutput
- func (GrafanaIdentityOutput) ElementType() reflect.Type
- func (o GrafanaIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o GrafanaIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o GrafanaIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o GrafanaIdentityOutput) ToGrafanaIdentityOutput() GrafanaIdentityOutput
- func (o GrafanaIdentityOutput) ToGrafanaIdentityOutputWithContext(ctx context.Context) GrafanaIdentityOutput
- func (o GrafanaIdentityOutput) ToGrafanaIdentityPtrOutput() GrafanaIdentityPtrOutput
- func (o GrafanaIdentityOutput) ToGrafanaIdentityPtrOutputWithContext(ctx context.Context) GrafanaIdentityPtrOutput
- func (o GrafanaIdentityOutput) Type() pulumi.StringOutput
- type GrafanaIdentityPtrInput
- type GrafanaIdentityPtrOutput
- func (o GrafanaIdentityPtrOutput) Elem() GrafanaIdentityOutput
- func (GrafanaIdentityPtrOutput) ElementType() reflect.Type
- func (o GrafanaIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o GrafanaIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o GrafanaIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o GrafanaIdentityPtrOutput) ToGrafanaIdentityPtrOutput() GrafanaIdentityPtrOutput
- func (o GrafanaIdentityPtrOutput) ToGrafanaIdentityPtrOutputWithContext(ctx context.Context) GrafanaIdentityPtrOutput
- func (o GrafanaIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type GrafanaInput
- type GrafanaMap
- type GrafanaMapInput
- type GrafanaMapOutput
- type GrafanaOutput
- func (o GrafanaOutput) ApiKeyEnabled() pulumi.BoolPtrOutput
- func (o GrafanaOutput) AutoGeneratedDomainNameLabelScope() pulumi.StringPtrOutput
- func (o GrafanaOutput) AzureMonitorWorkspaceIntegrations() GrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- func (o GrafanaOutput) DeterministicOutboundIpEnabled() pulumi.BoolPtrOutput
- func (GrafanaOutput) ElementType() reflect.Type
- func (o GrafanaOutput) Endpoint() pulumi.StringOutput
- func (o GrafanaOutput) GrafanaMajorVersion() pulumi.StringPtrOutput
- func (o GrafanaOutput) GrafanaVersion() pulumi.StringOutput
- func (o GrafanaOutput) Identity() GrafanaIdentityPtrOutput
- func (o GrafanaOutput) Location() pulumi.StringOutput
- func (o GrafanaOutput) Name() pulumi.StringOutput
- func (o GrafanaOutput) OutboundIps() pulumi.StringArrayOutput
- func (o GrafanaOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
- func (o GrafanaOutput) ResourceGroupName() pulumi.StringOutput
- func (o GrafanaOutput) Sku() pulumi.StringPtrOutput
- func (o GrafanaOutput) Smtp() GrafanaSmtpPtrOutput
- func (o GrafanaOutput) Tags() pulumi.StringMapOutput
- func (o GrafanaOutput) ToGrafanaOutput() GrafanaOutput
- func (o GrafanaOutput) ToGrafanaOutputWithContext(ctx context.Context) GrafanaOutput
- func (o GrafanaOutput) ZoneRedundancyEnabled() pulumi.BoolPtrOutput
- type GrafanaSmtp
- type GrafanaSmtpArgs
- func (GrafanaSmtpArgs) ElementType() reflect.Type
- func (i GrafanaSmtpArgs) ToGrafanaSmtpOutput() GrafanaSmtpOutput
- func (i GrafanaSmtpArgs) ToGrafanaSmtpOutputWithContext(ctx context.Context) GrafanaSmtpOutput
- func (i GrafanaSmtpArgs) ToGrafanaSmtpPtrOutput() GrafanaSmtpPtrOutput
- func (i GrafanaSmtpArgs) ToGrafanaSmtpPtrOutputWithContext(ctx context.Context) GrafanaSmtpPtrOutput
- type GrafanaSmtpInput
- type GrafanaSmtpOutput
- func (GrafanaSmtpOutput) ElementType() reflect.Type
- func (o GrafanaSmtpOutput) Enabled() pulumi.BoolPtrOutput
- func (o GrafanaSmtpOutput) FromAddress() pulumi.StringOutput
- func (o GrafanaSmtpOutput) FromName() pulumi.StringPtrOutput
- func (o GrafanaSmtpOutput) Host() pulumi.StringOutput
- func (o GrafanaSmtpOutput) Password() pulumi.StringOutput
- func (o GrafanaSmtpOutput) StartTlsPolicy() pulumi.StringOutput
- func (o GrafanaSmtpOutput) ToGrafanaSmtpOutput() GrafanaSmtpOutput
- func (o GrafanaSmtpOutput) ToGrafanaSmtpOutputWithContext(ctx context.Context) GrafanaSmtpOutput
- func (o GrafanaSmtpOutput) ToGrafanaSmtpPtrOutput() GrafanaSmtpPtrOutput
- func (o GrafanaSmtpOutput) ToGrafanaSmtpPtrOutputWithContext(ctx context.Context) GrafanaSmtpPtrOutput
- func (o GrafanaSmtpOutput) User() pulumi.StringOutput
- func (o GrafanaSmtpOutput) VerificationSkipEnabled() pulumi.BoolPtrOutput
- type GrafanaSmtpPtrInput
- type GrafanaSmtpPtrOutput
- func (o GrafanaSmtpPtrOutput) Elem() GrafanaSmtpOutput
- func (GrafanaSmtpPtrOutput) ElementType() reflect.Type
- func (o GrafanaSmtpPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o GrafanaSmtpPtrOutput) FromAddress() pulumi.StringPtrOutput
- func (o GrafanaSmtpPtrOutput) FromName() pulumi.StringPtrOutput
- func (o GrafanaSmtpPtrOutput) Host() pulumi.StringPtrOutput
- func (o GrafanaSmtpPtrOutput) Password() pulumi.StringPtrOutput
- func (o GrafanaSmtpPtrOutput) StartTlsPolicy() pulumi.StringPtrOutput
- func (o GrafanaSmtpPtrOutput) ToGrafanaSmtpPtrOutput() GrafanaSmtpPtrOutput
- func (o GrafanaSmtpPtrOutput) ToGrafanaSmtpPtrOutputWithContext(ctx context.Context) GrafanaSmtpPtrOutput
- func (o GrafanaSmtpPtrOutput) User() pulumi.StringPtrOutput
- func (o GrafanaSmtpPtrOutput) VerificationSkipEnabled() pulumi.BoolPtrOutput
- type GrafanaState
- type LookupGrafanaArgs
- type LookupGrafanaOutputArgs
- type LookupGrafanaResult
- type LookupGrafanaResultOutput
- func (o LookupGrafanaResultOutput) ApiKeyEnabled() pulumi.BoolOutput
- func (o LookupGrafanaResultOutput) AutoGeneratedDomainNameLabelScope() pulumi.StringOutput
- func (o LookupGrafanaResultOutput) AzureMonitorWorkspaceIntegrations() GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput
- func (o LookupGrafanaResultOutput) DeterministicOutboundIpEnabled() pulumi.BoolOutput
- func (LookupGrafanaResultOutput) ElementType() reflect.Type
- func (o LookupGrafanaResultOutput) Endpoint() pulumi.StringOutput
- func (o LookupGrafanaResultOutput) GrafanaMajorVersion() pulumi.StringOutput
- func (o LookupGrafanaResultOutput) GrafanaVersion() pulumi.StringOutput
- func (o LookupGrafanaResultOutput) Id() pulumi.StringOutput
- func (o LookupGrafanaResultOutput) Identity() GetGrafanaIdentityPtrOutput
- func (o LookupGrafanaResultOutput) Location() pulumi.StringOutput
- func (o LookupGrafanaResultOutput) Name() pulumi.StringOutput
- func (o LookupGrafanaResultOutput) OutboundIps() pulumi.StringArrayOutput
- func (o LookupGrafanaResultOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput
- func (o LookupGrafanaResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupGrafanaResultOutput) Sku() pulumi.StringOutput
- func (o LookupGrafanaResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupGrafanaResultOutput) ToLookupGrafanaResultOutput() LookupGrafanaResultOutput
- func (o LookupGrafanaResultOutput) ToLookupGrafanaResultOutputWithContext(ctx context.Context) LookupGrafanaResultOutput
- func (o LookupGrafanaResultOutput) ZoneRedundancyEnabled() pulumi.BoolOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Azurerm_portal_dashboardArgs ¶
type Azurerm_portal_dashboardArgs struct { // JSON data representing dashboard body. DashboardProperties *string `pulumi:"dashboardProperties"` // Specifies the display name of the shared Azure Portal Dashboard. DisplayName *string `pulumi:"displayName"` // Specifies the name of the shared Azure Portal Dashboard. Name *string `pulumi:"name"` // Specifies the name of the resource group the shared Azure Portal Dashboard is located in. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking azurerm_portal_dashboard.
type Azurerm_portal_dashboardOutputArgs ¶
type Azurerm_portal_dashboardOutputArgs struct { // JSON data representing dashboard body. DashboardProperties pulumi.StringPtrInput `pulumi:"dashboardProperties"` // Specifies the display name of the shared Azure Portal Dashboard. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // Specifies the name of the shared Azure Portal Dashboard. Name pulumi.StringPtrInput `pulumi:"name"` // Specifies the name of the resource group the shared Azure Portal Dashboard is located in. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking azurerm_portal_dashboard.
func (Azurerm_portal_dashboardOutputArgs) ElementType ¶
func (Azurerm_portal_dashboardOutputArgs) ElementType() reflect.Type
type Azurerm_portal_dashboardResult ¶
type Azurerm_portal_dashboardResult struct { // JSON data representing dashboard body. DashboardProperties string `pulumi:"dashboardProperties"` DisplayName *string `pulumi:"displayName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the shared Azure Portal dashboard exists. Location string `pulumi:"location"` Name *string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the shared Azure Portal dashboard. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by azurerm_portal_dashboard.
func Azurerm_portal_dashboard
deprecated
func Azurerm_portal_dashboard(ctx *pulumi.Context, args *Azurerm_portal_dashboardArgs, opts ...pulumi.InvokeOption) (*Azurerm_portal_dashboardResult, error)
Use this data source to access information about an existing shared dashboard in the Azure Portal. This is the data source of the `portal.Dashboard` resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/portal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := portal.LookupDashboard(ctx, &portal.LookupDashboardArgs{ Name: pulumi.StringRef("existing-dashboard"), ResourceGroupName: "dashboard-rg", }, nil) if err != nil { return err } ctx.Export("id", exampleAzurermDashboard.Id) return nil }) }
```
Deprecated: azure.dashboard.azurerm_portal_dashboard has been deprecated in favor of azure.portal.getDashboard
type Azurerm_portal_dashboardResultOutput ¶
type Azurerm_portal_dashboardResultOutput struct{ *pulumi.OutputState }
A collection of values returned by azurerm_portal_dashboard.
func Azurerm_portal_dashboardOutput ¶
func Azurerm_portal_dashboardOutput(ctx *pulumi.Context, args Azurerm_portal_dashboardOutputArgs, opts ...pulumi.InvokeOption) Azurerm_portal_dashboardResultOutput
func (Azurerm_portal_dashboardResultOutput) DashboardProperties ¶
func (o Azurerm_portal_dashboardResultOutput) DashboardProperties() pulumi.StringOutput
JSON data representing dashboard body.
func (Azurerm_portal_dashboardResultOutput) DisplayName ¶ added in v5.8.0
func (o Azurerm_portal_dashboardResultOutput) DisplayName() pulumi.StringPtrOutput
func (Azurerm_portal_dashboardResultOutput) ElementType ¶
func (Azurerm_portal_dashboardResultOutput) ElementType() reflect.Type
func (Azurerm_portal_dashboardResultOutput) Id ¶
func (o Azurerm_portal_dashboardResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (Azurerm_portal_dashboardResultOutput) Location ¶
func (o Azurerm_portal_dashboardResultOutput) Location() pulumi.StringOutput
The Azure Region where the shared Azure Portal dashboard exists.
func (Azurerm_portal_dashboardResultOutput) Name ¶
func (o Azurerm_portal_dashboardResultOutput) Name() pulumi.StringPtrOutput
func (Azurerm_portal_dashboardResultOutput) ResourceGroupName ¶
func (o Azurerm_portal_dashboardResultOutput) ResourceGroupName() pulumi.StringOutput
func (Azurerm_portal_dashboardResultOutput) Tags ¶
func (o Azurerm_portal_dashboardResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the shared Azure Portal dashboard.
func (Azurerm_portal_dashboardResultOutput) ToAzurerm_portal_dashboardResultOutput ¶
func (o Azurerm_portal_dashboardResultOutput) ToAzurerm_portal_dashboardResultOutput() Azurerm_portal_dashboardResultOutput
func (Azurerm_portal_dashboardResultOutput) ToAzurerm_portal_dashboardResultOutputWithContext ¶
func (o Azurerm_portal_dashboardResultOutput) ToAzurerm_portal_dashboardResultOutputWithContext(ctx context.Context) Azurerm_portal_dashboardResultOutput
type Dashboard
deprecated
type Dashboard struct { pulumi.CustomResourceState // JSON data representing dashboard body. See above for details on how to obtain this from the Portal. DashboardProperties pulumi.StringOutput `pulumi:"dashboardProperties"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Shared Dashboard. Changing this forces a new resource to be created. // // > **Note**: You can specify a tag with the key `hidden-title` to set a more user-friendly title for this Dashboard. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to create the dashboard. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a shared dashboard in the Azure Portal.
!> **Note:** The `portal.Dashboard` resource is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `portal.PortalDashboard` resource instead.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/portal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") // Content for the MD tile mdContent := "# Hello all :)" if param := cfg.Get("mdContent"); param != "" { mdContent = param } // Link to a video videoLink := "https://www.youtube.com/watch?v=......" if param := cfg.Get("videoLink"); param != "" { videoLink = param } current, err := core.LookupSubscription(ctx, nil, nil) if err != nil { return err } example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("mygroup"), Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = portal.NewDashboard(ctx, "my-board", &portal.DashboardArgs{ Name: pulumi.String("my-cool-dashboard"), ResourceGroupName: example.Name, Location: example.Location, Tags: pulumi.StringMap{ "source": pulumi.String("managed"), }, DashboardProperties: pulumi.Sprintf(`{ "lenses": { "0": { "order": 0, "parts": { "0": { "position": { "x": 0, "y": 0, "rowSpan": 2, "colSpan": 3 }, "metadata": { "inputs": [], "type": "Extension/HubsExtension/PartType/MarkdownPart", "settings": { "content": { "settings": { "content": "%v", "subtitle": "", "title": "" } } } } }, "1": { "position": { "x": 5, "y": 0, "rowSpan": 4, "colSpan": 6 }, "metadata": { "inputs": [], "type": "Extension/HubsExtension/PartType/VideoPart", "settings": { "content": { "settings": { "title": "Important Information", "subtitle": "", "src": "%v", "autoplay": true } } } } }, "2": { "position": { "x": 0, "y": 4, "rowSpan": 4, "colSpan": 6 }, "metadata": { "inputs": [ { "name": "ComponentId", "value": "/subscriptions/%v/resourceGroups/myRG/providers/microsoft.insights/components/myWebApp" } ], "type": "Extension/AppInsightsExtension/PartType/AppMapGalPt", "settings": {}, "asset": { "idInputName": "ComponentId", "type": "ApplicationInsights" } } } } } }, "metadata": { "model": { "timeRange": { "value": { "relative": { "duration": 24, "timeUnit": 1 } }, "type": "MsPortalFx.Composition.Configuration.ValueTypes.TimeRange" }, "filterLocale": { "value": "en-us" }, "filters": { "value": { "MsPortalFx_TimeRange": { "model": { "format": "utc", "granularity": "auto", "relative": "24h" }, "displayCache": { "name": "UTC Time", "value": "Past 24 hours" }, "filteredPartIds": [ "StartboardPart-UnboundPart-ae44fef5-76b8-46b0-86f0-2b3f47bad1c7" ] } } } } } }
`, mdContent, videoLink, current.SubscriptionId),
}) if err != nil { return err } return nil }) }
```
It is recommended to follow the steps outlined [here](https://docs.microsoft.com/azure/azure-portal/azure-portal-dashboards-create-programmatically#fetch-the-json-representation-of-the-dashboard) to create a Dashboard in the Portal and extract the relevant JSON to use in this resource. From the extracted JSON, the contents of the `properties: {}` object can used. Variables can be injected as needed - see above example.
### Using a `templateFile` data source or the `templatefile` function
Since the contents of the dashboard JSON can be quite lengthy, use a template file to improve readability:
`dash.tpl`:
`main.tf`
## Import
Dashboards can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:dashboard/dashboard:Dashboard my-board /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Portal/dashboards/00000000-0000-0000-0000-000000000000 ```
Note the URI in the above sample can be found using the Resource Explorer tool in the Azure Portal.
Deprecated: azure.dashboard.Dashboard has been deprecated in favor of azure.portal.Dashboard
func GetDashboard ¶
func GetDashboard(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DashboardState, opts ...pulumi.ResourceOption) (*Dashboard, error)
GetDashboard gets an existing Dashboard resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDashboard ¶
func NewDashboard(ctx *pulumi.Context, name string, args *DashboardArgs, opts ...pulumi.ResourceOption) (*Dashboard, error)
NewDashboard registers a new resource with the given unique name, arguments, and options.
func (*Dashboard) ElementType ¶
func (*Dashboard) ToDashboardOutput ¶
func (i *Dashboard) ToDashboardOutput() DashboardOutput
func (*Dashboard) ToDashboardOutputWithContext ¶
func (i *Dashboard) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
type DashboardArgs ¶
type DashboardArgs struct { // JSON data representing dashboard body. See above for details on how to obtain this from the Portal. DashboardProperties pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Shared Dashboard. Changing this forces a new resource to be created. // // > **Note**: You can specify a tag with the key `hidden-title` to set a more user-friendly title for this Dashboard. Name pulumi.StringPtrInput // The name of the resource group in which to create the dashboard. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a Dashboard resource.
func (DashboardArgs) ElementType ¶
func (DashboardArgs) ElementType() reflect.Type
type DashboardArray ¶
type DashboardArray []DashboardInput
func (DashboardArray) ElementType ¶
func (DashboardArray) ElementType() reflect.Type
func (DashboardArray) ToDashboardArrayOutput ¶
func (i DashboardArray) ToDashboardArrayOutput() DashboardArrayOutput
func (DashboardArray) ToDashboardArrayOutputWithContext ¶
func (i DashboardArray) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
type DashboardArrayInput ¶
type DashboardArrayInput interface { pulumi.Input ToDashboardArrayOutput() DashboardArrayOutput ToDashboardArrayOutputWithContext(context.Context) DashboardArrayOutput }
DashboardArrayInput is an input type that accepts DashboardArray and DashboardArrayOutput values. You can construct a concrete instance of `DashboardArrayInput` via:
DashboardArray{ DashboardArgs{...} }
type DashboardArrayOutput ¶
type DashboardArrayOutput struct{ *pulumi.OutputState }
func (DashboardArrayOutput) ElementType ¶
func (DashboardArrayOutput) ElementType() reflect.Type
func (DashboardArrayOutput) Index ¶
func (o DashboardArrayOutput) Index(i pulumi.IntInput) DashboardOutput
func (DashboardArrayOutput) ToDashboardArrayOutput ¶
func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput
func (DashboardArrayOutput) ToDashboardArrayOutputWithContext ¶
func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
type DashboardInput ¶
type DashboardInput interface { pulumi.Input ToDashboardOutput() DashboardOutput ToDashboardOutputWithContext(ctx context.Context) DashboardOutput }
type DashboardMap ¶
type DashboardMap map[string]DashboardInput
func (DashboardMap) ElementType ¶
func (DashboardMap) ElementType() reflect.Type
func (DashboardMap) ToDashboardMapOutput ¶
func (i DashboardMap) ToDashboardMapOutput() DashboardMapOutput
func (DashboardMap) ToDashboardMapOutputWithContext ¶
func (i DashboardMap) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput
type DashboardMapInput ¶
type DashboardMapInput interface { pulumi.Input ToDashboardMapOutput() DashboardMapOutput ToDashboardMapOutputWithContext(context.Context) DashboardMapOutput }
DashboardMapInput is an input type that accepts DashboardMap and DashboardMapOutput values. You can construct a concrete instance of `DashboardMapInput` via:
DashboardMap{ "key": DashboardArgs{...} }
type DashboardMapOutput ¶
type DashboardMapOutput struct{ *pulumi.OutputState }
func (DashboardMapOutput) ElementType ¶
func (DashboardMapOutput) ElementType() reflect.Type
func (DashboardMapOutput) MapIndex ¶
func (o DashboardMapOutput) MapIndex(k pulumi.StringInput) DashboardOutput
func (DashboardMapOutput) ToDashboardMapOutput ¶
func (o DashboardMapOutput) ToDashboardMapOutput() DashboardMapOutput
func (DashboardMapOutput) ToDashboardMapOutputWithContext ¶
func (o DashboardMapOutput) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput
type DashboardOutput ¶
type DashboardOutput struct{ *pulumi.OutputState }
func (DashboardOutput) DashboardProperties ¶ added in v5.5.0
func (o DashboardOutput) DashboardProperties() pulumi.StringOutput
JSON data representing dashboard body. See above for details on how to obtain this from the Portal.
func (DashboardOutput) ElementType ¶
func (DashboardOutput) ElementType() reflect.Type
func (DashboardOutput) Location ¶ added in v5.5.0
func (o DashboardOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (DashboardOutput) Name ¶ added in v5.5.0
func (o DashboardOutput) Name() pulumi.StringOutput
Specifies the name of the Shared Dashboard. Changing this forces a new resource to be created.
> **Note**: You can specify a tag with the key `hidden-title` to set a more user-friendly title for this Dashboard.
func (DashboardOutput) ResourceGroupName ¶ added in v5.5.0
func (o DashboardOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group in which to create the dashboard. Changing this forces a new resource to be created.
func (DashboardOutput) Tags ¶ added in v5.5.0
func (o DashboardOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (DashboardOutput) ToDashboardOutput ¶
func (o DashboardOutput) ToDashboardOutput() DashboardOutput
func (DashboardOutput) ToDashboardOutputWithContext ¶
func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
type DashboardState ¶
type DashboardState struct { // JSON data representing dashboard body. See above for details on how to obtain this from the Portal. DashboardProperties pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Shared Dashboard. Changing this forces a new resource to be created. // // > **Note**: You can specify a tag with the key `hidden-title` to set a more user-friendly title for this Dashboard. Name pulumi.StringPtrInput // The name of the resource group in which to create the dashboard. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (DashboardState) ElementType ¶
func (DashboardState) ElementType() reflect.Type
type GetGrafanaAzureMonitorWorkspaceIntegration ¶ added in v5.61.0
type GetGrafanaAzureMonitorWorkspaceIntegration struct {
ResourceId string `pulumi:"resourceId"`
}
type GetGrafanaAzureMonitorWorkspaceIntegrationArgs ¶ added in v5.61.0
type GetGrafanaAzureMonitorWorkspaceIntegrationArgs struct {
ResourceId pulumi.StringInput `pulumi:"resourceId"`
}
func (GetGrafanaAzureMonitorWorkspaceIntegrationArgs) ElementType ¶ added in v5.61.0
func (GetGrafanaAzureMonitorWorkspaceIntegrationArgs) ElementType() reflect.Type
func (GetGrafanaAzureMonitorWorkspaceIntegrationArgs) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutput ¶ added in v5.61.0
func (i GetGrafanaAzureMonitorWorkspaceIntegrationArgs) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutput() GetGrafanaAzureMonitorWorkspaceIntegrationOutput
func (GetGrafanaAzureMonitorWorkspaceIntegrationArgs) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext ¶ added in v5.61.0
func (i GetGrafanaAzureMonitorWorkspaceIntegrationArgs) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext(ctx context.Context) GetGrafanaAzureMonitorWorkspaceIntegrationOutput
type GetGrafanaAzureMonitorWorkspaceIntegrationArray ¶ added in v5.61.0
type GetGrafanaAzureMonitorWorkspaceIntegrationArray []GetGrafanaAzureMonitorWorkspaceIntegrationInput
func (GetGrafanaAzureMonitorWorkspaceIntegrationArray) ElementType ¶ added in v5.61.0
func (GetGrafanaAzureMonitorWorkspaceIntegrationArray) ElementType() reflect.Type
func (GetGrafanaAzureMonitorWorkspaceIntegrationArray) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput ¶ added in v5.61.0
func (i GetGrafanaAzureMonitorWorkspaceIntegrationArray) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput() GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput
func (GetGrafanaAzureMonitorWorkspaceIntegrationArray) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext ¶ added in v5.61.0
func (i GetGrafanaAzureMonitorWorkspaceIntegrationArray) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext(ctx context.Context) GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput
type GetGrafanaAzureMonitorWorkspaceIntegrationArrayInput ¶ added in v5.61.0
type GetGrafanaAzureMonitorWorkspaceIntegrationArrayInput interface { pulumi.Input ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput() GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext(context.Context) GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput }
GetGrafanaAzureMonitorWorkspaceIntegrationArrayInput is an input type that accepts GetGrafanaAzureMonitorWorkspaceIntegrationArray and GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput values. You can construct a concrete instance of `GetGrafanaAzureMonitorWorkspaceIntegrationArrayInput` via:
GetGrafanaAzureMonitorWorkspaceIntegrationArray{ GetGrafanaAzureMonitorWorkspaceIntegrationArgs{...} }
type GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput ¶ added in v5.61.0
type GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput struct{ *pulumi.OutputState }
func (GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ElementType ¶ added in v5.61.0
func (GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ElementType() reflect.Type
func (GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput ¶ added in v5.61.0
func (o GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput() GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput
func (GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext ¶ added in v5.61.0
func (o GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext(ctx context.Context) GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput
type GetGrafanaAzureMonitorWorkspaceIntegrationInput ¶ added in v5.61.0
type GetGrafanaAzureMonitorWorkspaceIntegrationInput interface { pulumi.Input ToGetGrafanaAzureMonitorWorkspaceIntegrationOutput() GetGrafanaAzureMonitorWorkspaceIntegrationOutput ToGetGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext(context.Context) GetGrafanaAzureMonitorWorkspaceIntegrationOutput }
GetGrafanaAzureMonitorWorkspaceIntegrationInput is an input type that accepts GetGrafanaAzureMonitorWorkspaceIntegrationArgs and GetGrafanaAzureMonitorWorkspaceIntegrationOutput values. You can construct a concrete instance of `GetGrafanaAzureMonitorWorkspaceIntegrationInput` via:
GetGrafanaAzureMonitorWorkspaceIntegrationArgs{...}
type GetGrafanaAzureMonitorWorkspaceIntegrationOutput ¶ added in v5.61.0
type GetGrafanaAzureMonitorWorkspaceIntegrationOutput struct{ *pulumi.OutputState }
func (GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ElementType ¶ added in v5.61.0
func (GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ElementType() reflect.Type
func (GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ResourceId ¶ added in v5.61.0
func (o GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ResourceId() pulumi.StringOutput
func (GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutput ¶ added in v5.61.0
func (o GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutput() GetGrafanaAzureMonitorWorkspaceIntegrationOutput
func (GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext ¶ added in v5.61.0
func (o GetGrafanaAzureMonitorWorkspaceIntegrationOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext(ctx context.Context) GetGrafanaAzureMonitorWorkspaceIntegrationOutput
type GetGrafanaIdentity ¶ added in v5.61.0
type GetGrafanaIdentityArgs ¶ added in v5.61.0
type GetGrafanaIdentityArgs struct { IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` PrincipalId pulumi.StringInput `pulumi:"principalId"` TenantId pulumi.StringInput `pulumi:"tenantId"` Type pulumi.StringInput `pulumi:"type"` }
func (GetGrafanaIdentityArgs) ElementType ¶ added in v5.61.0
func (GetGrafanaIdentityArgs) ElementType() reflect.Type
func (GetGrafanaIdentityArgs) ToGetGrafanaIdentityOutput ¶ added in v5.61.0
func (i GetGrafanaIdentityArgs) ToGetGrafanaIdentityOutput() GetGrafanaIdentityOutput
func (GetGrafanaIdentityArgs) ToGetGrafanaIdentityOutputWithContext ¶ added in v5.61.0
func (i GetGrafanaIdentityArgs) ToGetGrafanaIdentityOutputWithContext(ctx context.Context) GetGrafanaIdentityOutput
func (GetGrafanaIdentityArgs) ToGetGrafanaIdentityPtrOutput ¶ added in v5.61.0
func (i GetGrafanaIdentityArgs) ToGetGrafanaIdentityPtrOutput() GetGrafanaIdentityPtrOutput
func (GetGrafanaIdentityArgs) ToGetGrafanaIdentityPtrOutputWithContext ¶ added in v5.61.0
func (i GetGrafanaIdentityArgs) ToGetGrafanaIdentityPtrOutputWithContext(ctx context.Context) GetGrafanaIdentityPtrOutput
type GetGrafanaIdentityInput ¶ added in v5.61.0
type GetGrafanaIdentityInput interface { pulumi.Input ToGetGrafanaIdentityOutput() GetGrafanaIdentityOutput ToGetGrafanaIdentityOutputWithContext(context.Context) GetGrafanaIdentityOutput }
GetGrafanaIdentityInput is an input type that accepts GetGrafanaIdentityArgs and GetGrafanaIdentityOutput values. You can construct a concrete instance of `GetGrafanaIdentityInput` via:
GetGrafanaIdentityArgs{...}
type GetGrafanaIdentityOutput ¶ added in v5.61.0
type GetGrafanaIdentityOutput struct{ *pulumi.OutputState }
func (GetGrafanaIdentityOutput) ElementType ¶ added in v5.61.0
func (GetGrafanaIdentityOutput) ElementType() reflect.Type
func (GetGrafanaIdentityOutput) IdentityIds ¶ added in v5.61.0
func (o GetGrafanaIdentityOutput) IdentityIds() pulumi.StringArrayOutput
func (GetGrafanaIdentityOutput) PrincipalId ¶ added in v5.61.0
func (o GetGrafanaIdentityOutput) PrincipalId() pulumi.StringOutput
func (GetGrafanaIdentityOutput) TenantId ¶ added in v5.61.0
func (o GetGrafanaIdentityOutput) TenantId() pulumi.StringOutput
func (GetGrafanaIdentityOutput) ToGetGrafanaIdentityOutput ¶ added in v5.61.0
func (o GetGrafanaIdentityOutput) ToGetGrafanaIdentityOutput() GetGrafanaIdentityOutput
func (GetGrafanaIdentityOutput) ToGetGrafanaIdentityOutputWithContext ¶ added in v5.61.0
func (o GetGrafanaIdentityOutput) ToGetGrafanaIdentityOutputWithContext(ctx context.Context) GetGrafanaIdentityOutput
func (GetGrafanaIdentityOutput) ToGetGrafanaIdentityPtrOutput ¶ added in v5.61.0
func (o GetGrafanaIdentityOutput) ToGetGrafanaIdentityPtrOutput() GetGrafanaIdentityPtrOutput
func (GetGrafanaIdentityOutput) ToGetGrafanaIdentityPtrOutputWithContext ¶ added in v5.61.0
func (o GetGrafanaIdentityOutput) ToGetGrafanaIdentityPtrOutputWithContext(ctx context.Context) GetGrafanaIdentityPtrOutput
func (GetGrafanaIdentityOutput) Type ¶ added in v5.61.0
func (o GetGrafanaIdentityOutput) Type() pulumi.StringOutput
type GetGrafanaIdentityPtrInput ¶ added in v5.61.0
type GetGrafanaIdentityPtrInput interface { pulumi.Input ToGetGrafanaIdentityPtrOutput() GetGrafanaIdentityPtrOutput ToGetGrafanaIdentityPtrOutputWithContext(context.Context) GetGrafanaIdentityPtrOutput }
GetGrafanaIdentityPtrInput is an input type that accepts GetGrafanaIdentityArgs, GetGrafanaIdentityPtr and GetGrafanaIdentityPtrOutput values. You can construct a concrete instance of `GetGrafanaIdentityPtrInput` via:
GetGrafanaIdentityArgs{...} or: nil
func GetGrafanaIdentityPtr ¶ added in v5.61.0
func GetGrafanaIdentityPtr(v *GetGrafanaIdentityArgs) GetGrafanaIdentityPtrInput
type GetGrafanaIdentityPtrOutput ¶ added in v5.61.0
type GetGrafanaIdentityPtrOutput struct{ *pulumi.OutputState }
func (GetGrafanaIdentityPtrOutput) Elem ¶ added in v5.61.0
func (o GetGrafanaIdentityPtrOutput) Elem() GetGrafanaIdentityOutput
func (GetGrafanaIdentityPtrOutput) ElementType ¶ added in v5.61.0
func (GetGrafanaIdentityPtrOutput) ElementType() reflect.Type
func (GetGrafanaIdentityPtrOutput) IdentityIds ¶ added in v5.61.0
func (o GetGrafanaIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
func (GetGrafanaIdentityPtrOutput) PrincipalId ¶ added in v5.61.0
func (o GetGrafanaIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
func (GetGrafanaIdentityPtrOutput) TenantId ¶ added in v5.61.0
func (o GetGrafanaIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
func (GetGrafanaIdentityPtrOutput) ToGetGrafanaIdentityPtrOutput ¶ added in v5.61.0
func (o GetGrafanaIdentityPtrOutput) ToGetGrafanaIdentityPtrOutput() GetGrafanaIdentityPtrOutput
func (GetGrafanaIdentityPtrOutput) ToGetGrafanaIdentityPtrOutputWithContext ¶ added in v5.61.0
func (o GetGrafanaIdentityPtrOutput) ToGetGrafanaIdentityPtrOutputWithContext(ctx context.Context) GetGrafanaIdentityPtrOutput
func (GetGrafanaIdentityPtrOutput) Type ¶ added in v5.61.0
func (o GetGrafanaIdentityPtrOutput) Type() pulumi.StringPtrOutput
type Grafana ¶ added in v5.18.0
type Grafana struct { pulumi.CustomResourceState // Whether to enable the api key setting of the Grafana instance. Defaults to `false`. ApiKeyEnabled pulumi.BoolPtrOutput `pulumi:"apiKeyEnabled"` // Scope for dns deterministic name hash calculation. The only possible value is `TenantReuse`. Defaults to `TenantReuse`. AutoGeneratedDomainNameLabelScope pulumi.StringPtrOutput `pulumi:"autoGeneratedDomainNameLabelScope"` // A `azureMonitorWorkspaceIntegrations` block as defined below. AzureMonitorWorkspaceIntegrations GrafanaAzureMonitorWorkspaceIntegrationArrayOutput `pulumi:"azureMonitorWorkspaceIntegrations"` // Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to `false`. DeterministicOutboundIpEnabled pulumi.BoolPtrOutput `pulumi:"deterministicOutboundIpEnabled"` // The endpoint of the Grafana instance. Endpoint pulumi.StringOutput `pulumi:"endpoint"` // Which major version of Grafana to deploy. Defaults to `9`. Possible values are `9`, `10`. Changing this forces a new resource to be created. GrafanaMajorVersion pulumi.StringPtrOutput `pulumi:"grafanaMajorVersion"` // The full Grafana software semantic version deployed. GrafanaVersion pulumi.StringOutput `pulumi:"grafanaVersion"` // An `identity` block as defined below. Changing this forces a new Dashboard Grafana to be created. Identity GrafanaIdentityPtrOutput `pulumi:"identity"` // Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created. Name pulumi.StringOutput `pulumi:"name"` // List of outbound IPs if deterministicOutboundIP is enabled. OutboundIps pulumi.StringArrayOutput `pulumi:"outboundIps"` // Whether to enable traffic over the public interface. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The name of the SKU used for the Grafana instance. Possible values are `Standard` and `Essential`. Defaults to `Standard`. Changing this forces a new Dashboard Grafana to be created. Sku pulumi.StringPtrOutput `pulumi:"sku"` // A `smtp` block as defined below. Smtp GrafanaSmtpPtrOutput `pulumi:"smtp"` // A mapping of tags which should be assigned to the Dashboard Grafana. Tags pulumi.StringMapOutput `pulumi:"tags"` // Whether to enable the zone redundancy setting of the Grafana instance. Defaults to `false`. Changing this forces a new Dashboard Grafana to be created. ZoneRedundancyEnabled pulumi.BoolPtrOutput `pulumi:"zoneRedundancyEnabled"` }
Manages a Dashboard Grafana.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/dashboard" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = dashboard.NewGrafana(ctx, "example", &dashboard.GrafanaArgs{ Name: pulumi.String("example-dg"), ResourceGroupName: example.Name, Location: pulumi.String("West Europe"), ApiKeyEnabled: pulumi.Bool(true), DeterministicOutboundIpEnabled: pulumi.Bool(true), PublicNetworkAccessEnabled: pulumi.Bool(false), Identity: &dashboard.GrafanaIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
Dashboard Grafana can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:dashboard/grafana:Grafana example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Dashboard/grafana/workspace1 ```
func GetGrafana ¶ added in v5.18.0
func GetGrafana(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GrafanaState, opts ...pulumi.ResourceOption) (*Grafana, error)
GetGrafana gets an existing Grafana resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGrafana ¶ added in v5.18.0
func NewGrafana(ctx *pulumi.Context, name string, args *GrafanaArgs, opts ...pulumi.ResourceOption) (*Grafana, error)
NewGrafana registers a new resource with the given unique name, arguments, and options.
func (*Grafana) ElementType ¶ added in v5.18.0
func (*Grafana) ToGrafanaOutput ¶ added in v5.18.0
func (i *Grafana) ToGrafanaOutput() GrafanaOutput
func (*Grafana) ToGrafanaOutputWithContext ¶ added in v5.18.0
func (i *Grafana) ToGrafanaOutputWithContext(ctx context.Context) GrafanaOutput
type GrafanaArgs ¶ added in v5.18.0
type GrafanaArgs struct { // Whether to enable the api key setting of the Grafana instance. Defaults to `false`. ApiKeyEnabled pulumi.BoolPtrInput // Scope for dns deterministic name hash calculation. The only possible value is `TenantReuse`. Defaults to `TenantReuse`. AutoGeneratedDomainNameLabelScope pulumi.StringPtrInput // A `azureMonitorWorkspaceIntegrations` block as defined below. AzureMonitorWorkspaceIntegrations GrafanaAzureMonitorWorkspaceIntegrationArrayInput // Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to `false`. DeterministicOutboundIpEnabled pulumi.BoolPtrInput // Which major version of Grafana to deploy. Defaults to `9`. Possible values are `9`, `10`. Changing this forces a new resource to be created. GrafanaMajorVersion pulumi.StringPtrInput // An `identity` block as defined below. Changing this forces a new Dashboard Grafana to be created. Identity GrafanaIdentityPtrInput // Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created. Name pulumi.StringPtrInput // Whether to enable traffic over the public interface. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created. ResourceGroupName pulumi.StringInput // The name of the SKU used for the Grafana instance. Possible values are `Standard` and `Essential`. Defaults to `Standard`. Changing this forces a new Dashboard Grafana to be created. Sku pulumi.StringPtrInput // A `smtp` block as defined below. Smtp GrafanaSmtpPtrInput // A mapping of tags which should be assigned to the Dashboard Grafana. Tags pulumi.StringMapInput // Whether to enable the zone redundancy setting of the Grafana instance. Defaults to `false`. Changing this forces a new Dashboard Grafana to be created. ZoneRedundancyEnabled pulumi.BoolPtrInput }
The set of arguments for constructing a Grafana resource.
func (GrafanaArgs) ElementType ¶ added in v5.18.0
func (GrafanaArgs) ElementType() reflect.Type
type GrafanaArray ¶ added in v5.18.0
type GrafanaArray []GrafanaInput
func (GrafanaArray) ElementType ¶ added in v5.18.0
func (GrafanaArray) ElementType() reflect.Type
func (GrafanaArray) ToGrafanaArrayOutput ¶ added in v5.18.0
func (i GrafanaArray) ToGrafanaArrayOutput() GrafanaArrayOutput
func (GrafanaArray) ToGrafanaArrayOutputWithContext ¶ added in v5.18.0
func (i GrafanaArray) ToGrafanaArrayOutputWithContext(ctx context.Context) GrafanaArrayOutput
type GrafanaArrayInput ¶ added in v5.18.0
type GrafanaArrayInput interface { pulumi.Input ToGrafanaArrayOutput() GrafanaArrayOutput ToGrafanaArrayOutputWithContext(context.Context) GrafanaArrayOutput }
GrafanaArrayInput is an input type that accepts GrafanaArray and GrafanaArrayOutput values. You can construct a concrete instance of `GrafanaArrayInput` via:
GrafanaArray{ GrafanaArgs{...} }
type GrafanaArrayOutput ¶ added in v5.18.0
type GrafanaArrayOutput struct{ *pulumi.OutputState }
func (GrafanaArrayOutput) ElementType ¶ added in v5.18.0
func (GrafanaArrayOutput) ElementType() reflect.Type
func (GrafanaArrayOutput) Index ¶ added in v5.18.0
func (o GrafanaArrayOutput) Index(i pulumi.IntInput) GrafanaOutput
func (GrafanaArrayOutput) ToGrafanaArrayOutput ¶ added in v5.18.0
func (o GrafanaArrayOutput) ToGrafanaArrayOutput() GrafanaArrayOutput
func (GrafanaArrayOutput) ToGrafanaArrayOutputWithContext ¶ added in v5.18.0
func (o GrafanaArrayOutput) ToGrafanaArrayOutputWithContext(ctx context.Context) GrafanaArrayOutput
type GrafanaAzureMonitorWorkspaceIntegration ¶ added in v5.35.0
type GrafanaAzureMonitorWorkspaceIntegration struct { // Specifies the resource ID of the connected Azure Monitor Workspace. ResourceId string `pulumi:"resourceId"` }
type GrafanaAzureMonitorWorkspaceIntegrationArgs ¶ added in v5.35.0
type GrafanaAzureMonitorWorkspaceIntegrationArgs struct { // Specifies the resource ID of the connected Azure Monitor Workspace. ResourceId pulumi.StringInput `pulumi:"resourceId"` }
func (GrafanaAzureMonitorWorkspaceIntegrationArgs) ElementType ¶ added in v5.35.0
func (GrafanaAzureMonitorWorkspaceIntegrationArgs) ElementType() reflect.Type
func (GrafanaAzureMonitorWorkspaceIntegrationArgs) ToGrafanaAzureMonitorWorkspaceIntegrationOutput ¶ added in v5.35.0
func (i GrafanaAzureMonitorWorkspaceIntegrationArgs) ToGrafanaAzureMonitorWorkspaceIntegrationOutput() GrafanaAzureMonitorWorkspaceIntegrationOutput
func (GrafanaAzureMonitorWorkspaceIntegrationArgs) ToGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext ¶ added in v5.35.0
func (i GrafanaAzureMonitorWorkspaceIntegrationArgs) ToGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext(ctx context.Context) GrafanaAzureMonitorWorkspaceIntegrationOutput
type GrafanaAzureMonitorWorkspaceIntegrationArray ¶ added in v5.35.0
type GrafanaAzureMonitorWorkspaceIntegrationArray []GrafanaAzureMonitorWorkspaceIntegrationInput
func (GrafanaAzureMonitorWorkspaceIntegrationArray) ElementType ¶ added in v5.35.0
func (GrafanaAzureMonitorWorkspaceIntegrationArray) ElementType() reflect.Type
func (GrafanaAzureMonitorWorkspaceIntegrationArray) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutput ¶ added in v5.35.0
func (i GrafanaAzureMonitorWorkspaceIntegrationArray) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutput() GrafanaAzureMonitorWorkspaceIntegrationArrayOutput
func (GrafanaAzureMonitorWorkspaceIntegrationArray) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext ¶ added in v5.35.0
func (i GrafanaAzureMonitorWorkspaceIntegrationArray) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext(ctx context.Context) GrafanaAzureMonitorWorkspaceIntegrationArrayOutput
type GrafanaAzureMonitorWorkspaceIntegrationArrayInput ¶ added in v5.35.0
type GrafanaAzureMonitorWorkspaceIntegrationArrayInput interface { pulumi.Input ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutput() GrafanaAzureMonitorWorkspaceIntegrationArrayOutput ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext(context.Context) GrafanaAzureMonitorWorkspaceIntegrationArrayOutput }
GrafanaAzureMonitorWorkspaceIntegrationArrayInput is an input type that accepts GrafanaAzureMonitorWorkspaceIntegrationArray and GrafanaAzureMonitorWorkspaceIntegrationArrayOutput values. You can construct a concrete instance of `GrafanaAzureMonitorWorkspaceIntegrationArrayInput` via:
GrafanaAzureMonitorWorkspaceIntegrationArray{ GrafanaAzureMonitorWorkspaceIntegrationArgs{...} }
type GrafanaAzureMonitorWorkspaceIntegrationArrayOutput ¶ added in v5.35.0
type GrafanaAzureMonitorWorkspaceIntegrationArrayOutput struct{ *pulumi.OutputState }
func (GrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ElementType ¶ added in v5.35.0
func (GrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ElementType() reflect.Type
func (GrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutput ¶ added in v5.35.0
func (o GrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutput() GrafanaAzureMonitorWorkspaceIntegrationArrayOutput
func (GrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext ¶ added in v5.35.0
func (o GrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGrafanaAzureMonitorWorkspaceIntegrationArrayOutputWithContext(ctx context.Context) GrafanaAzureMonitorWorkspaceIntegrationArrayOutput
type GrafanaAzureMonitorWorkspaceIntegrationInput ¶ added in v5.35.0
type GrafanaAzureMonitorWorkspaceIntegrationInput interface { pulumi.Input ToGrafanaAzureMonitorWorkspaceIntegrationOutput() GrafanaAzureMonitorWorkspaceIntegrationOutput ToGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext(context.Context) GrafanaAzureMonitorWorkspaceIntegrationOutput }
GrafanaAzureMonitorWorkspaceIntegrationInput is an input type that accepts GrafanaAzureMonitorWorkspaceIntegrationArgs and GrafanaAzureMonitorWorkspaceIntegrationOutput values. You can construct a concrete instance of `GrafanaAzureMonitorWorkspaceIntegrationInput` via:
GrafanaAzureMonitorWorkspaceIntegrationArgs{...}
type GrafanaAzureMonitorWorkspaceIntegrationOutput ¶ added in v5.35.0
type GrafanaAzureMonitorWorkspaceIntegrationOutput struct{ *pulumi.OutputState }
func (GrafanaAzureMonitorWorkspaceIntegrationOutput) ElementType ¶ added in v5.35.0
func (GrafanaAzureMonitorWorkspaceIntegrationOutput) ElementType() reflect.Type
func (GrafanaAzureMonitorWorkspaceIntegrationOutput) ResourceId ¶ added in v5.35.0
func (o GrafanaAzureMonitorWorkspaceIntegrationOutput) ResourceId() pulumi.StringOutput
Specifies the resource ID of the connected Azure Monitor Workspace.
func (GrafanaAzureMonitorWorkspaceIntegrationOutput) ToGrafanaAzureMonitorWorkspaceIntegrationOutput ¶ added in v5.35.0
func (o GrafanaAzureMonitorWorkspaceIntegrationOutput) ToGrafanaAzureMonitorWorkspaceIntegrationOutput() GrafanaAzureMonitorWorkspaceIntegrationOutput
func (GrafanaAzureMonitorWorkspaceIntegrationOutput) ToGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext ¶ added in v5.35.0
func (o GrafanaAzureMonitorWorkspaceIntegrationOutput) ToGrafanaAzureMonitorWorkspaceIntegrationOutputWithContext(ctx context.Context) GrafanaAzureMonitorWorkspaceIntegrationOutput
type GrafanaIdentity ¶ added in v5.18.0
type GrafanaIdentity struct { // Specifies the list of User Assigned Managed Service Identity IDs which should be assigned to this Dashboard Grafana. Changing this forces a new resource to be created. IdentityIds []string `pulumi:"identityIds"` // The Principal ID associated with this Managed Service Identity. PrincipalId *string `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId *string `pulumi:"tenantId"` // Specifies the type of Managed Service Identity. Possible values are `SystemAssigned`, `UserAssigned`. Changing this forces a new resource to be created. Type string `pulumi:"type"` }
type GrafanaIdentityArgs ¶ added in v5.18.0
type GrafanaIdentityArgs struct { // Specifies the list of User Assigned Managed Service Identity IDs which should be assigned to this Dashboard Grafana. Changing this forces a new resource to be created. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` // The Principal ID associated with this Managed Service Identity. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // Specifies the type of Managed Service Identity. Possible values are `SystemAssigned`, `UserAssigned`. Changing this forces a new resource to be created. Type pulumi.StringInput `pulumi:"type"` }
func (GrafanaIdentityArgs) ElementType ¶ added in v5.18.0
func (GrafanaIdentityArgs) ElementType() reflect.Type
func (GrafanaIdentityArgs) ToGrafanaIdentityOutput ¶ added in v5.18.0
func (i GrafanaIdentityArgs) ToGrafanaIdentityOutput() GrafanaIdentityOutput
func (GrafanaIdentityArgs) ToGrafanaIdentityOutputWithContext ¶ added in v5.18.0
func (i GrafanaIdentityArgs) ToGrafanaIdentityOutputWithContext(ctx context.Context) GrafanaIdentityOutput
func (GrafanaIdentityArgs) ToGrafanaIdentityPtrOutput ¶ added in v5.18.0
func (i GrafanaIdentityArgs) ToGrafanaIdentityPtrOutput() GrafanaIdentityPtrOutput
func (GrafanaIdentityArgs) ToGrafanaIdentityPtrOutputWithContext ¶ added in v5.18.0
func (i GrafanaIdentityArgs) ToGrafanaIdentityPtrOutputWithContext(ctx context.Context) GrafanaIdentityPtrOutput
type GrafanaIdentityInput ¶ added in v5.18.0
type GrafanaIdentityInput interface { pulumi.Input ToGrafanaIdentityOutput() GrafanaIdentityOutput ToGrafanaIdentityOutputWithContext(context.Context) GrafanaIdentityOutput }
GrafanaIdentityInput is an input type that accepts GrafanaIdentityArgs and GrafanaIdentityOutput values. You can construct a concrete instance of `GrafanaIdentityInput` via:
GrafanaIdentityArgs{...}
type GrafanaIdentityOutput ¶ added in v5.18.0
type GrafanaIdentityOutput struct{ *pulumi.OutputState }
func (GrafanaIdentityOutput) ElementType ¶ added in v5.18.0
func (GrafanaIdentityOutput) ElementType() reflect.Type
func (GrafanaIdentityOutput) IdentityIds ¶ added in v5.41.0
func (o GrafanaIdentityOutput) IdentityIds() pulumi.StringArrayOutput
Specifies the list of User Assigned Managed Service Identity IDs which should be assigned to this Dashboard Grafana. Changing this forces a new resource to be created.
func (GrafanaIdentityOutput) PrincipalId ¶ added in v5.18.0
func (o GrafanaIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID associated with this Managed Service Identity.
func (GrafanaIdentityOutput) TenantId ¶ added in v5.18.0
func (o GrafanaIdentityOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID associated with this Managed Service Identity.
func (GrafanaIdentityOutput) ToGrafanaIdentityOutput ¶ added in v5.18.0
func (o GrafanaIdentityOutput) ToGrafanaIdentityOutput() GrafanaIdentityOutput
func (GrafanaIdentityOutput) ToGrafanaIdentityOutputWithContext ¶ added in v5.18.0
func (o GrafanaIdentityOutput) ToGrafanaIdentityOutputWithContext(ctx context.Context) GrafanaIdentityOutput
func (GrafanaIdentityOutput) ToGrafanaIdentityPtrOutput ¶ added in v5.18.0
func (o GrafanaIdentityOutput) ToGrafanaIdentityPtrOutput() GrafanaIdentityPtrOutput
func (GrafanaIdentityOutput) ToGrafanaIdentityPtrOutputWithContext ¶ added in v5.18.0
func (o GrafanaIdentityOutput) ToGrafanaIdentityPtrOutputWithContext(ctx context.Context) GrafanaIdentityPtrOutput
func (GrafanaIdentityOutput) Type ¶ added in v5.18.0
func (o GrafanaIdentityOutput) Type() pulumi.StringOutput
Specifies the type of Managed Service Identity. Possible values are `SystemAssigned`, `UserAssigned`. Changing this forces a new resource to be created.
type GrafanaIdentityPtrInput ¶ added in v5.18.0
type GrafanaIdentityPtrInput interface { pulumi.Input ToGrafanaIdentityPtrOutput() GrafanaIdentityPtrOutput ToGrafanaIdentityPtrOutputWithContext(context.Context) GrafanaIdentityPtrOutput }
GrafanaIdentityPtrInput is an input type that accepts GrafanaIdentityArgs, GrafanaIdentityPtr and GrafanaIdentityPtrOutput values. You can construct a concrete instance of `GrafanaIdentityPtrInput` via:
GrafanaIdentityArgs{...} or: nil
func GrafanaIdentityPtr ¶ added in v5.18.0
func GrafanaIdentityPtr(v *GrafanaIdentityArgs) GrafanaIdentityPtrInput
type GrafanaIdentityPtrOutput ¶ added in v5.18.0
type GrafanaIdentityPtrOutput struct{ *pulumi.OutputState }
func (GrafanaIdentityPtrOutput) Elem ¶ added in v5.18.0
func (o GrafanaIdentityPtrOutput) Elem() GrafanaIdentityOutput
func (GrafanaIdentityPtrOutput) ElementType ¶ added in v5.18.0
func (GrafanaIdentityPtrOutput) ElementType() reflect.Type
func (GrafanaIdentityPtrOutput) IdentityIds ¶ added in v5.41.0
func (o GrafanaIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
Specifies the list of User Assigned Managed Service Identity IDs which should be assigned to this Dashboard Grafana. Changing this forces a new resource to be created.
func (GrafanaIdentityPtrOutput) PrincipalId ¶ added in v5.18.0
func (o GrafanaIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID associated with this Managed Service Identity.
func (GrafanaIdentityPtrOutput) TenantId ¶ added in v5.18.0
func (o GrafanaIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID associated with this Managed Service Identity.
func (GrafanaIdentityPtrOutput) ToGrafanaIdentityPtrOutput ¶ added in v5.18.0
func (o GrafanaIdentityPtrOutput) ToGrafanaIdentityPtrOutput() GrafanaIdentityPtrOutput
func (GrafanaIdentityPtrOutput) ToGrafanaIdentityPtrOutputWithContext ¶ added in v5.18.0
func (o GrafanaIdentityPtrOutput) ToGrafanaIdentityPtrOutputWithContext(ctx context.Context) GrafanaIdentityPtrOutput
func (GrafanaIdentityPtrOutput) Type ¶ added in v5.18.0
func (o GrafanaIdentityPtrOutput) Type() pulumi.StringPtrOutput
Specifies the type of Managed Service Identity. Possible values are `SystemAssigned`, `UserAssigned`. Changing this forces a new resource to be created.
type GrafanaInput ¶ added in v5.18.0
type GrafanaInput interface { pulumi.Input ToGrafanaOutput() GrafanaOutput ToGrafanaOutputWithContext(ctx context.Context) GrafanaOutput }
type GrafanaMap ¶ added in v5.18.0
type GrafanaMap map[string]GrafanaInput
func (GrafanaMap) ElementType ¶ added in v5.18.0
func (GrafanaMap) ElementType() reflect.Type
func (GrafanaMap) ToGrafanaMapOutput ¶ added in v5.18.0
func (i GrafanaMap) ToGrafanaMapOutput() GrafanaMapOutput
func (GrafanaMap) ToGrafanaMapOutputWithContext ¶ added in v5.18.0
func (i GrafanaMap) ToGrafanaMapOutputWithContext(ctx context.Context) GrafanaMapOutput
type GrafanaMapInput ¶ added in v5.18.0
type GrafanaMapInput interface { pulumi.Input ToGrafanaMapOutput() GrafanaMapOutput ToGrafanaMapOutputWithContext(context.Context) GrafanaMapOutput }
GrafanaMapInput is an input type that accepts GrafanaMap and GrafanaMapOutput values. You can construct a concrete instance of `GrafanaMapInput` via:
GrafanaMap{ "key": GrafanaArgs{...} }
type GrafanaMapOutput ¶ added in v5.18.0
type GrafanaMapOutput struct{ *pulumi.OutputState }
func (GrafanaMapOutput) ElementType ¶ added in v5.18.0
func (GrafanaMapOutput) ElementType() reflect.Type
func (GrafanaMapOutput) MapIndex ¶ added in v5.18.0
func (o GrafanaMapOutput) MapIndex(k pulumi.StringInput) GrafanaOutput
func (GrafanaMapOutput) ToGrafanaMapOutput ¶ added in v5.18.0
func (o GrafanaMapOutput) ToGrafanaMapOutput() GrafanaMapOutput
func (GrafanaMapOutput) ToGrafanaMapOutputWithContext ¶ added in v5.18.0
func (o GrafanaMapOutput) ToGrafanaMapOutputWithContext(ctx context.Context) GrafanaMapOutput
type GrafanaOutput ¶ added in v5.18.0
type GrafanaOutput struct{ *pulumi.OutputState }
func (GrafanaOutput) ApiKeyEnabled ¶ added in v5.18.0
func (o GrafanaOutput) ApiKeyEnabled() pulumi.BoolPtrOutput
Whether to enable the api key setting of the Grafana instance. Defaults to `false`.
func (GrafanaOutput) AutoGeneratedDomainNameLabelScope ¶ added in v5.18.0
func (o GrafanaOutput) AutoGeneratedDomainNameLabelScope() pulumi.StringPtrOutput
Scope for dns deterministic name hash calculation. The only possible value is `TenantReuse`. Defaults to `TenantReuse`.
func (GrafanaOutput) AzureMonitorWorkspaceIntegrations ¶ added in v5.35.0
func (o GrafanaOutput) AzureMonitorWorkspaceIntegrations() GrafanaAzureMonitorWorkspaceIntegrationArrayOutput
A `azureMonitorWorkspaceIntegrations` block as defined below.
func (GrafanaOutput) DeterministicOutboundIpEnabled ¶ added in v5.18.0
func (o GrafanaOutput) DeterministicOutboundIpEnabled() pulumi.BoolPtrOutput
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to `false`.
func (GrafanaOutput) ElementType ¶ added in v5.18.0
func (GrafanaOutput) ElementType() reflect.Type
func (GrafanaOutput) Endpoint ¶ added in v5.18.0
func (o GrafanaOutput) Endpoint() pulumi.StringOutput
The endpoint of the Grafana instance.
func (GrafanaOutput) GrafanaMajorVersion ¶ added in v5.58.0
func (o GrafanaOutput) GrafanaMajorVersion() pulumi.StringPtrOutput
Which major version of Grafana to deploy. Defaults to `9`. Possible values are `9`, `10`. Changing this forces a new resource to be created.
func (GrafanaOutput) GrafanaVersion ¶ added in v5.18.0
func (o GrafanaOutput) GrafanaVersion() pulumi.StringOutput
The full Grafana software semantic version deployed.
func (GrafanaOutput) Identity ¶ added in v5.18.0
func (o GrafanaOutput) Identity() GrafanaIdentityPtrOutput
An `identity` block as defined below. Changing this forces a new Dashboard Grafana to be created.
func (GrafanaOutput) Location ¶ added in v5.18.0
func (o GrafanaOutput) Location() pulumi.StringOutput
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
func (GrafanaOutput) Name ¶ added in v5.18.0
func (o GrafanaOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
func (GrafanaOutput) OutboundIps ¶ added in v5.18.0
func (o GrafanaOutput) OutboundIps() pulumi.StringArrayOutput
List of outbound IPs if deterministicOutboundIP is enabled.
func (GrafanaOutput) PublicNetworkAccessEnabled ¶ added in v5.18.0
func (o GrafanaOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
Whether to enable traffic over the public interface. Defaults to `true`.
func (GrafanaOutput) ResourceGroupName ¶ added in v5.18.0
func (o GrafanaOutput) ResourceGroupName() pulumi.StringOutput
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
func (GrafanaOutput) Sku ¶ added in v5.18.0
func (o GrafanaOutput) Sku() pulumi.StringPtrOutput
The name of the SKU used for the Grafana instance. Possible values are `Standard` and `Essential`. Defaults to `Standard`. Changing this forces a new Dashboard Grafana to be created.
func (GrafanaOutput) Smtp ¶ added in v5.67.0
func (o GrafanaOutput) Smtp() GrafanaSmtpPtrOutput
A `smtp` block as defined below.
func (GrafanaOutput) Tags ¶ added in v5.18.0
func (o GrafanaOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Dashboard Grafana.
func (GrafanaOutput) ToGrafanaOutput ¶ added in v5.18.0
func (o GrafanaOutput) ToGrafanaOutput() GrafanaOutput
func (GrafanaOutput) ToGrafanaOutputWithContext ¶ added in v5.18.0
func (o GrafanaOutput) ToGrafanaOutputWithContext(ctx context.Context) GrafanaOutput
func (GrafanaOutput) ZoneRedundancyEnabled ¶ added in v5.18.0
func (o GrafanaOutput) ZoneRedundancyEnabled() pulumi.BoolPtrOutput
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to `false`. Changing this forces a new Dashboard Grafana to be created.
type GrafanaSmtp ¶ added in v5.67.0
type GrafanaSmtp struct { // Whether to enable the smtp setting of the Grafana instance. Defaults to `false`. Enabled *bool `pulumi:"enabled"` // Address used when sending emails. FromAddress string `pulumi:"fromAddress"` // Name used when sending emails. Defaults to `Azure Managed Grafana Notification`. FromName *string `pulumi:"fromName"` // SMTP server hostname with port, e.g. test.email.net:587 Host string `pulumi:"host"` // Password of SMTP authentication. Password string `pulumi:"password"` // Whether to use TLS when connecting to SMTP server. Possible values are `OpportunisticStartTLS`, `NoStartTLS`, `MandatoryStartTLS`. StartTlsPolicy string `pulumi:"startTlsPolicy"` // User of SMTP authentication. User string `pulumi:"user"` // Whether verify SSL for SMTP server. Defaults to `false`. VerificationSkipEnabled *bool `pulumi:"verificationSkipEnabled"` }
type GrafanaSmtpArgs ¶ added in v5.67.0
type GrafanaSmtpArgs struct { // Whether to enable the smtp setting of the Grafana instance. Defaults to `false`. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` // Address used when sending emails. FromAddress pulumi.StringInput `pulumi:"fromAddress"` // Name used when sending emails. Defaults to `Azure Managed Grafana Notification`. FromName pulumi.StringPtrInput `pulumi:"fromName"` // SMTP server hostname with port, e.g. test.email.net:587 Host pulumi.StringInput `pulumi:"host"` // Password of SMTP authentication. Password pulumi.StringInput `pulumi:"password"` // Whether to use TLS when connecting to SMTP server. Possible values are `OpportunisticStartTLS`, `NoStartTLS`, `MandatoryStartTLS`. StartTlsPolicy pulumi.StringInput `pulumi:"startTlsPolicy"` // User of SMTP authentication. User pulumi.StringInput `pulumi:"user"` // Whether verify SSL for SMTP server. Defaults to `false`. VerificationSkipEnabled pulumi.BoolPtrInput `pulumi:"verificationSkipEnabled"` }
func (GrafanaSmtpArgs) ElementType ¶ added in v5.67.0
func (GrafanaSmtpArgs) ElementType() reflect.Type
func (GrafanaSmtpArgs) ToGrafanaSmtpOutput ¶ added in v5.67.0
func (i GrafanaSmtpArgs) ToGrafanaSmtpOutput() GrafanaSmtpOutput
func (GrafanaSmtpArgs) ToGrafanaSmtpOutputWithContext ¶ added in v5.67.0
func (i GrafanaSmtpArgs) ToGrafanaSmtpOutputWithContext(ctx context.Context) GrafanaSmtpOutput
func (GrafanaSmtpArgs) ToGrafanaSmtpPtrOutput ¶ added in v5.67.0
func (i GrafanaSmtpArgs) ToGrafanaSmtpPtrOutput() GrafanaSmtpPtrOutput
func (GrafanaSmtpArgs) ToGrafanaSmtpPtrOutputWithContext ¶ added in v5.67.0
func (i GrafanaSmtpArgs) ToGrafanaSmtpPtrOutputWithContext(ctx context.Context) GrafanaSmtpPtrOutput
type GrafanaSmtpInput ¶ added in v5.67.0
type GrafanaSmtpInput interface { pulumi.Input ToGrafanaSmtpOutput() GrafanaSmtpOutput ToGrafanaSmtpOutputWithContext(context.Context) GrafanaSmtpOutput }
GrafanaSmtpInput is an input type that accepts GrafanaSmtpArgs and GrafanaSmtpOutput values. You can construct a concrete instance of `GrafanaSmtpInput` via:
GrafanaSmtpArgs{...}
type GrafanaSmtpOutput ¶ added in v5.67.0
type GrafanaSmtpOutput struct{ *pulumi.OutputState }
func (GrafanaSmtpOutput) ElementType ¶ added in v5.67.0
func (GrafanaSmtpOutput) ElementType() reflect.Type
func (GrafanaSmtpOutput) Enabled ¶ added in v5.67.0
func (o GrafanaSmtpOutput) Enabled() pulumi.BoolPtrOutput
Whether to enable the smtp setting of the Grafana instance. Defaults to `false`.
func (GrafanaSmtpOutput) FromAddress ¶ added in v5.67.0
func (o GrafanaSmtpOutput) FromAddress() pulumi.StringOutput
Address used when sending emails.
func (GrafanaSmtpOutput) FromName ¶ added in v5.67.0
func (o GrafanaSmtpOutput) FromName() pulumi.StringPtrOutput
Name used when sending emails. Defaults to `Azure Managed Grafana Notification`.
func (GrafanaSmtpOutput) Host ¶ added in v5.67.0
func (o GrafanaSmtpOutput) Host() pulumi.StringOutput
SMTP server hostname with port, e.g. test.email.net:587
func (GrafanaSmtpOutput) Password ¶ added in v5.67.0
func (o GrafanaSmtpOutput) Password() pulumi.StringOutput
Password of SMTP authentication.
func (GrafanaSmtpOutput) StartTlsPolicy ¶ added in v5.67.0
func (o GrafanaSmtpOutput) StartTlsPolicy() pulumi.StringOutput
Whether to use TLS when connecting to SMTP server. Possible values are `OpportunisticStartTLS`, `NoStartTLS`, `MandatoryStartTLS`.
func (GrafanaSmtpOutput) ToGrafanaSmtpOutput ¶ added in v5.67.0
func (o GrafanaSmtpOutput) ToGrafanaSmtpOutput() GrafanaSmtpOutput
func (GrafanaSmtpOutput) ToGrafanaSmtpOutputWithContext ¶ added in v5.67.0
func (o GrafanaSmtpOutput) ToGrafanaSmtpOutputWithContext(ctx context.Context) GrafanaSmtpOutput
func (GrafanaSmtpOutput) ToGrafanaSmtpPtrOutput ¶ added in v5.67.0
func (o GrafanaSmtpOutput) ToGrafanaSmtpPtrOutput() GrafanaSmtpPtrOutput
func (GrafanaSmtpOutput) ToGrafanaSmtpPtrOutputWithContext ¶ added in v5.67.0
func (o GrafanaSmtpOutput) ToGrafanaSmtpPtrOutputWithContext(ctx context.Context) GrafanaSmtpPtrOutput
func (GrafanaSmtpOutput) User ¶ added in v5.67.0
func (o GrafanaSmtpOutput) User() pulumi.StringOutput
User of SMTP authentication.
func (GrafanaSmtpOutput) VerificationSkipEnabled ¶ added in v5.67.0
func (o GrafanaSmtpOutput) VerificationSkipEnabled() pulumi.BoolPtrOutput
Whether verify SSL for SMTP server. Defaults to `false`.
type GrafanaSmtpPtrInput ¶ added in v5.67.0
type GrafanaSmtpPtrInput interface { pulumi.Input ToGrafanaSmtpPtrOutput() GrafanaSmtpPtrOutput ToGrafanaSmtpPtrOutputWithContext(context.Context) GrafanaSmtpPtrOutput }
GrafanaSmtpPtrInput is an input type that accepts GrafanaSmtpArgs, GrafanaSmtpPtr and GrafanaSmtpPtrOutput values. You can construct a concrete instance of `GrafanaSmtpPtrInput` via:
GrafanaSmtpArgs{...} or: nil
func GrafanaSmtpPtr ¶ added in v5.67.0
func GrafanaSmtpPtr(v *GrafanaSmtpArgs) GrafanaSmtpPtrInput
type GrafanaSmtpPtrOutput ¶ added in v5.67.0
type GrafanaSmtpPtrOutput struct{ *pulumi.OutputState }
func (GrafanaSmtpPtrOutput) Elem ¶ added in v5.67.0
func (o GrafanaSmtpPtrOutput) Elem() GrafanaSmtpOutput
func (GrafanaSmtpPtrOutput) ElementType ¶ added in v5.67.0
func (GrafanaSmtpPtrOutput) ElementType() reflect.Type
func (GrafanaSmtpPtrOutput) Enabled ¶ added in v5.67.0
func (o GrafanaSmtpPtrOutput) Enabled() pulumi.BoolPtrOutput
Whether to enable the smtp setting of the Grafana instance. Defaults to `false`.
func (GrafanaSmtpPtrOutput) FromAddress ¶ added in v5.67.0
func (o GrafanaSmtpPtrOutput) FromAddress() pulumi.StringPtrOutput
Address used when sending emails.
func (GrafanaSmtpPtrOutput) FromName ¶ added in v5.67.0
func (o GrafanaSmtpPtrOutput) FromName() pulumi.StringPtrOutput
Name used when sending emails. Defaults to `Azure Managed Grafana Notification`.
func (GrafanaSmtpPtrOutput) Host ¶ added in v5.67.0
func (o GrafanaSmtpPtrOutput) Host() pulumi.StringPtrOutput
SMTP server hostname with port, e.g. test.email.net:587
func (GrafanaSmtpPtrOutput) Password ¶ added in v5.67.0
func (o GrafanaSmtpPtrOutput) Password() pulumi.StringPtrOutput
Password of SMTP authentication.
func (GrafanaSmtpPtrOutput) StartTlsPolicy ¶ added in v5.67.0
func (o GrafanaSmtpPtrOutput) StartTlsPolicy() pulumi.StringPtrOutput
Whether to use TLS when connecting to SMTP server. Possible values are `OpportunisticStartTLS`, `NoStartTLS`, `MandatoryStartTLS`.
func (GrafanaSmtpPtrOutput) ToGrafanaSmtpPtrOutput ¶ added in v5.67.0
func (o GrafanaSmtpPtrOutput) ToGrafanaSmtpPtrOutput() GrafanaSmtpPtrOutput
func (GrafanaSmtpPtrOutput) ToGrafanaSmtpPtrOutputWithContext ¶ added in v5.67.0
func (o GrafanaSmtpPtrOutput) ToGrafanaSmtpPtrOutputWithContext(ctx context.Context) GrafanaSmtpPtrOutput
func (GrafanaSmtpPtrOutput) User ¶ added in v5.67.0
func (o GrafanaSmtpPtrOutput) User() pulumi.StringPtrOutput
User of SMTP authentication.
func (GrafanaSmtpPtrOutput) VerificationSkipEnabled ¶ added in v5.67.0
func (o GrafanaSmtpPtrOutput) VerificationSkipEnabled() pulumi.BoolPtrOutput
Whether verify SSL for SMTP server. Defaults to `false`.
type GrafanaState ¶ added in v5.18.0
type GrafanaState struct { // Whether to enable the api key setting of the Grafana instance. Defaults to `false`. ApiKeyEnabled pulumi.BoolPtrInput // Scope for dns deterministic name hash calculation. The only possible value is `TenantReuse`. Defaults to `TenantReuse`. AutoGeneratedDomainNameLabelScope pulumi.StringPtrInput // A `azureMonitorWorkspaceIntegrations` block as defined below. AzureMonitorWorkspaceIntegrations GrafanaAzureMonitorWorkspaceIntegrationArrayInput // Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to `false`. DeterministicOutboundIpEnabled pulumi.BoolPtrInput // The endpoint of the Grafana instance. Endpoint pulumi.StringPtrInput // Which major version of Grafana to deploy. Defaults to `9`. Possible values are `9`, `10`. Changing this forces a new resource to be created. GrafanaMajorVersion pulumi.StringPtrInput // The full Grafana software semantic version deployed. GrafanaVersion pulumi.StringPtrInput // An `identity` block as defined below. Changing this forces a new Dashboard Grafana to be created. Identity GrafanaIdentityPtrInput // Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created. Name pulumi.StringPtrInput // List of outbound IPs if deterministicOutboundIP is enabled. OutboundIps pulumi.StringArrayInput // Whether to enable traffic over the public interface. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created. ResourceGroupName pulumi.StringPtrInput // The name of the SKU used for the Grafana instance. Possible values are `Standard` and `Essential`. Defaults to `Standard`. Changing this forces a new Dashboard Grafana to be created. Sku pulumi.StringPtrInput // A `smtp` block as defined below. Smtp GrafanaSmtpPtrInput // A mapping of tags which should be assigned to the Dashboard Grafana. Tags pulumi.StringMapInput // Whether to enable the zone redundancy setting of the Grafana instance. Defaults to `false`. Changing this forces a new Dashboard Grafana to be created. ZoneRedundancyEnabled pulumi.BoolPtrInput }
func (GrafanaState) ElementType ¶ added in v5.18.0
func (GrafanaState) ElementType() reflect.Type
type LookupGrafanaArgs ¶ added in v5.61.0
type LookupGrafanaArgs struct { // The managed identity of the grafana resource. Identity *GetGrafanaIdentity `pulumi:"identity"` // Name of the grafana dashboard. Name string `pulumi:"name"` // Name of the resource group where resource belongs to. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getGrafana.
type LookupGrafanaOutputArgs ¶ added in v5.61.0
type LookupGrafanaOutputArgs struct { // The managed identity of the grafana resource. Identity GetGrafanaIdentityPtrInput `pulumi:"identity"` // Name of the grafana dashboard. Name pulumi.StringInput `pulumi:"name"` // Name of the resource group where resource belongs to. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getGrafana.
func (LookupGrafanaOutputArgs) ElementType ¶ added in v5.61.0
func (LookupGrafanaOutputArgs) ElementType() reflect.Type
type LookupGrafanaResult ¶ added in v5.61.0
type LookupGrafanaResult struct { // Whether the api key setting of the Grafana instance is enabled. ApiKeyEnabled bool `pulumi:"apiKeyEnabled"` // Scope for dns deterministic name hash calculation. AutoGeneratedDomainNameLabelScope string `pulumi:"autoGeneratedDomainNameLabelScope"` // Integrations for Azure Monitor Workspace. AzureMonitorWorkspaceIntegrations []GetGrafanaAzureMonitorWorkspaceIntegration `pulumi:"azureMonitorWorkspaceIntegrations"` // Whether the Grafana instance uses deterministic outbound IPs. DeterministicOutboundIpEnabled bool `pulumi:"deterministicOutboundIpEnabled"` // The endpoint of the Grafana instance. Endpoint string `pulumi:"endpoint"` // Major version of Grafana instance. GrafanaMajorVersion string `pulumi:"grafanaMajorVersion"` // The full Grafana software semantic version deployed. GrafanaVersion string `pulumi:"grafanaVersion"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The managed identity of the grafana resource. Identity *GetGrafanaIdentity `pulumi:"identity"` // Azure location where the resource exists. Location string `pulumi:"location"` Name string `pulumi:"name"` OutboundIps []string `pulumi:"outboundIps"` // Whether or not public endpoint access is allowed for this server. PublicNetworkAccessEnabled bool `pulumi:"publicNetworkAccessEnabled"` ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the SKU used for the Grafana instance. Sku string `pulumi:"sku"` // A mapping of tags to assigned to the resource. Tags map[string]string `pulumi:"tags"` // The zone redundancy setting of the Grafana instance. ZoneRedundancyEnabled bool `pulumi:"zoneRedundancyEnabled"` }
A collection of values returned by getGrafana.
func LookupGrafana ¶ added in v5.61.0
func LookupGrafana(ctx *pulumi.Context, args *LookupGrafanaArgs, opts ...pulumi.InvokeOption) (*LookupGrafanaResult, error)
Use this data source to access information about an existing Grafana Dashboard.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/dashboard" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := dashboard.LookupGrafana(ctx, &dashboard.LookupGrafanaArgs{ Name: "example-grafana-dashboard", ResourceGroupName: "example-rg", }, nil) if err != nil { return err } ctx.Export("name", example.Name) return nil }) }
```
type LookupGrafanaResultOutput ¶ added in v5.61.0
type LookupGrafanaResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGrafana.
func LookupGrafanaOutput ¶ added in v5.61.0
func LookupGrafanaOutput(ctx *pulumi.Context, args LookupGrafanaOutputArgs, opts ...pulumi.InvokeOption) LookupGrafanaResultOutput
func (LookupGrafanaResultOutput) ApiKeyEnabled ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) ApiKeyEnabled() pulumi.BoolOutput
Whether the api key setting of the Grafana instance is enabled.
func (LookupGrafanaResultOutput) AutoGeneratedDomainNameLabelScope ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) AutoGeneratedDomainNameLabelScope() pulumi.StringOutput
Scope for dns deterministic name hash calculation.
func (LookupGrafanaResultOutput) AzureMonitorWorkspaceIntegrations ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) AzureMonitorWorkspaceIntegrations() GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput
Integrations for Azure Monitor Workspace.
func (LookupGrafanaResultOutput) DeterministicOutboundIpEnabled ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) DeterministicOutboundIpEnabled() pulumi.BoolOutput
Whether the Grafana instance uses deterministic outbound IPs.
func (LookupGrafanaResultOutput) ElementType ¶ added in v5.61.0
func (LookupGrafanaResultOutput) ElementType() reflect.Type
func (LookupGrafanaResultOutput) Endpoint ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) Endpoint() pulumi.StringOutput
The endpoint of the Grafana instance.
func (LookupGrafanaResultOutput) GrafanaMajorVersion ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) GrafanaMajorVersion() pulumi.StringOutput
Major version of Grafana instance.
func (LookupGrafanaResultOutput) GrafanaVersion ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) GrafanaVersion() pulumi.StringOutput
The full Grafana software semantic version deployed.
func (LookupGrafanaResultOutput) Id ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupGrafanaResultOutput) Identity ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) Identity() GetGrafanaIdentityPtrOutput
The managed identity of the grafana resource.
func (LookupGrafanaResultOutput) Location ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) Location() pulumi.StringOutput
Azure location where the resource exists.
func (LookupGrafanaResultOutput) Name ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) Name() pulumi.StringOutput
func (LookupGrafanaResultOutput) OutboundIps ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) OutboundIps() pulumi.StringArrayOutput
func (LookupGrafanaResultOutput) PublicNetworkAccessEnabled ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput
Whether or not public endpoint access is allowed for this server.
func (LookupGrafanaResultOutput) ResourceGroupName ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupGrafanaResultOutput) Sku ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) Sku() pulumi.StringOutput
The name of the SKU used for the Grafana instance.
func (LookupGrafanaResultOutput) Tags ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assigned to the resource.
func (LookupGrafanaResultOutput) ToLookupGrafanaResultOutput ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) ToLookupGrafanaResultOutput() LookupGrafanaResultOutput
func (LookupGrafanaResultOutput) ToLookupGrafanaResultOutputWithContext ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) ToLookupGrafanaResultOutputWithContext(ctx context.Context) LookupGrafanaResultOutput
func (LookupGrafanaResultOutput) ZoneRedundancyEnabled ¶ added in v5.61.0
func (o LookupGrafanaResultOutput) ZoneRedundancyEnabled() pulumi.BoolOutput
The zone redundancy setting of the Grafana instance.