dashboard

package
v5.74.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

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_dashboardResultOutput) DashboardProperties

JSON data representing dashboard body.

func (Azurerm_portal_dashboardResultOutput) DisplayName added in v5.8.0

func (Azurerm_portal_dashboardResultOutput) ElementType

func (Azurerm_portal_dashboardResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (Azurerm_portal_dashboardResultOutput) Location

The Azure Region where the shared Azure Portal dashboard exists.

func (Azurerm_portal_dashboardResultOutput) Name

func (Azurerm_portal_dashboardResultOutput) ResourceGroupName

func (Azurerm_portal_dashboardResultOutput) Tags

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.String(fmt.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) ElementType() reflect.Type

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 (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 (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

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

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) 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) 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) Index added in v5.61.0

func (GetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput) ToGetGrafanaAzureMonitorWorkspaceIntegrationArrayOutput added in v5.61.0

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) ResourceId added in v5.61.0

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 GetGrafanaIdentity struct {
	IdentityIds []string `pulumi:"identityIds"`
	PrincipalId string   `pulumi:"principalId"`
	TenantId    string   `pulumi:"tenantId"`
	Type        string   `pulumi:"type"`
}

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 (GetGrafanaIdentityOutput) PrincipalId added in v5.61.0

func (GetGrafanaIdentityOutput) TenantId added in v5.61.0

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

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 (GetGrafanaIdentityPtrOutput) ElementType added in v5.61.0

func (GetGrafanaIdentityPtrOutput) IdentityIds added in v5.61.0

func (GetGrafanaIdentityPtrOutput) PrincipalId added in v5.61.0

func (GetGrafanaIdentityPtrOutput) TenantId added in v5.61.0

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

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) ElementType() reflect.Type

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 (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) 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) 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) Index added in v5.35.0

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) ResourceId added in v5.35.0

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

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

The Principal ID associated with this Managed Service Identity.

func (GrafanaIdentityOutput) TenantId added in v5.18.0

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

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 (GrafanaIdentityPtrOutput) ElementType added in v5.18.0

func (GrafanaIdentityPtrOutput) ElementType() reflect.Type

func (GrafanaIdentityPtrOutput) IdentityIds added in v5.41.0

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

The Principal ID associated with this Managed Service Identity.

func (GrafanaIdentityPtrOutput) TenantId added in v5.18.0

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

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 (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

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

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

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

A `smtp` block as defined below.

func (GrafanaOutput) Tags added in v5.18.0

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

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

Name used when sending emails. Defaults to `Azure Managed Grafana Notification`.

func (GrafanaSmtpOutput) Host added in v5.67.0

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

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 (GrafanaSmtpPtrOutput) ElementType added in v5.67.0

func (GrafanaSmtpPtrOutput) ElementType() reflect.Type

func (GrafanaSmtpPtrOutput) Enabled added in v5.67.0

Whether to enable the smtp setting of the Grafana instance. Defaults to `false`.

func (GrafanaSmtpPtrOutput) FromAddress added in v5.67.0

Address used when sending emails.

func (GrafanaSmtpPtrOutput) FromName added in v5.67.0

Name used when sending emails. Defaults to `Azure Managed Grafana Notification`.

func (GrafanaSmtpPtrOutput) Host added in v5.67.0

SMTP server hostname with port, e.g. test.email.net:587

func (GrafanaSmtpPtrOutput) Password added in v5.67.0

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

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

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

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

The provider-assigned unique ID for this managed resource.

func (LookupGrafanaResultOutput) Identity added in v5.61.0

The managed identity of the grafana resource.

func (LookupGrafanaResultOutput) Location added in v5.61.0

Azure location where the resource exists.

func (LookupGrafanaResultOutput) Name added in v5.61.0

func (LookupGrafanaResultOutput) OutboundIps added in v5.61.0

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

The name of the SKU used for the Grafana instance.

func (LookupGrafanaResultOutput) Tags added in v5.61.0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL