appinsights

package
v5.64.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 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 AnalyticsItem

type AnalyticsItem struct {
	pulumi.CustomResourceState

	// The ID of the Application Insights component on which the Analytics Item exists. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringOutput `pulumi:"applicationInsightsId"`
	// The content for the Analytics Item, for example the query text if `type` is `query`.
	Content pulumi.StringOutput `pulumi:"content"`
	// The alias to use for the function. Required when `type` is `function`.
	FunctionAlias pulumi.StringPtrOutput `pulumi:"functionAlias"`
	// Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scope for the Analytics Item. Can be `shared` or `user`. Changing this forces a new resource to be created. Must be `shared` for functions.
	Scope pulumi.StringOutput `pulumi:"scope"`
	// A string containing the time the Analytics Item was created.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// A string containing the time the Analytics Item was last modified.
	TimeModified pulumi.StringOutput `pulumi:"timeModified"`
	// The type of Analytics Item to create. Can be one of `query`, `function`, `folder`, `recent`. Changing this forces a new resource to be created.
	Type pulumi.StringOutput `pulumi:"type"`
	// A string indicating the version of the query format
	Version pulumi.StringOutput `pulumi:"version"`
}

Manages an Application Insights Analytics Item component.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		_, err = appinsights.NewAnalyticsItem(ctx, "exampleAnalyticsItem", &appinsights.AnalyticsItemArgs{
			ApplicationInsightsId: exampleInsights.ID(),
			Content:               pulumi.String("requests //simple example query"),
			Scope:                 pulumi.String("shared"),
			Type:                  pulumi.String("query"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Application Insights Analytics Items can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:appinsights/analyticsItem:AnalyticsItem example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Insights/components/mycomponent1/analyticsItems/11111111-1111-1111-1111-111111111111

```

To find the Analytics Item ID you can query the REST API using the [`az rest` CLI command](https://docs.microsoft.com/cli/azure/reference-index?view=azure-cli-latest#az-rest), e.g. az rest --method GET --uri "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/microsoft.insights/components/appinsightstest/analyticsItems?api-version=2015-05-01"

func GetAnalyticsItem

func GetAnalyticsItem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AnalyticsItemState, opts ...pulumi.ResourceOption) (*AnalyticsItem, error)

GetAnalyticsItem gets an existing AnalyticsItem 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 NewAnalyticsItem

func NewAnalyticsItem(ctx *pulumi.Context,
	name string, args *AnalyticsItemArgs, opts ...pulumi.ResourceOption) (*AnalyticsItem, error)

NewAnalyticsItem registers a new resource with the given unique name, arguments, and options.

func (*AnalyticsItem) ElementType

func (*AnalyticsItem) ElementType() reflect.Type

func (*AnalyticsItem) ToAnalyticsItemOutput

func (i *AnalyticsItem) ToAnalyticsItemOutput() AnalyticsItemOutput

func (*AnalyticsItem) ToAnalyticsItemOutputWithContext

func (i *AnalyticsItem) ToAnalyticsItemOutputWithContext(ctx context.Context) AnalyticsItemOutput

type AnalyticsItemArgs

type AnalyticsItemArgs struct {
	// The ID of the Application Insights component on which the Analytics Item exists. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringInput
	// The content for the Analytics Item, for example the query text if `type` is `query`.
	Content pulumi.StringInput
	// The alias to use for the function. Required when `type` is `function`.
	FunctionAlias pulumi.StringPtrInput
	// Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The scope for the Analytics Item. Can be `shared` or `user`. Changing this forces a new resource to be created. Must be `shared` for functions.
	Scope pulumi.StringInput
	// The type of Analytics Item to create. Can be one of `query`, `function`, `folder`, `recent`. Changing this forces a new resource to be created.
	Type pulumi.StringInput
}

The set of arguments for constructing a AnalyticsItem resource.

func (AnalyticsItemArgs) ElementType

func (AnalyticsItemArgs) ElementType() reflect.Type

type AnalyticsItemArray

type AnalyticsItemArray []AnalyticsItemInput

func (AnalyticsItemArray) ElementType

func (AnalyticsItemArray) ElementType() reflect.Type

func (AnalyticsItemArray) ToAnalyticsItemArrayOutput

func (i AnalyticsItemArray) ToAnalyticsItemArrayOutput() AnalyticsItemArrayOutput

func (AnalyticsItemArray) ToAnalyticsItemArrayOutputWithContext

func (i AnalyticsItemArray) ToAnalyticsItemArrayOutputWithContext(ctx context.Context) AnalyticsItemArrayOutput

type AnalyticsItemArrayInput

type AnalyticsItemArrayInput interface {
	pulumi.Input

	ToAnalyticsItemArrayOutput() AnalyticsItemArrayOutput
	ToAnalyticsItemArrayOutputWithContext(context.Context) AnalyticsItemArrayOutput
}

AnalyticsItemArrayInput is an input type that accepts AnalyticsItemArray and AnalyticsItemArrayOutput values. You can construct a concrete instance of `AnalyticsItemArrayInput` via:

AnalyticsItemArray{ AnalyticsItemArgs{...} }

type AnalyticsItemArrayOutput

type AnalyticsItemArrayOutput struct{ *pulumi.OutputState }

func (AnalyticsItemArrayOutput) ElementType

func (AnalyticsItemArrayOutput) ElementType() reflect.Type

func (AnalyticsItemArrayOutput) Index

func (AnalyticsItemArrayOutput) ToAnalyticsItemArrayOutput

func (o AnalyticsItemArrayOutput) ToAnalyticsItemArrayOutput() AnalyticsItemArrayOutput

func (AnalyticsItemArrayOutput) ToAnalyticsItemArrayOutputWithContext

func (o AnalyticsItemArrayOutput) ToAnalyticsItemArrayOutputWithContext(ctx context.Context) AnalyticsItemArrayOutput

type AnalyticsItemInput

type AnalyticsItemInput interface {
	pulumi.Input

	ToAnalyticsItemOutput() AnalyticsItemOutput
	ToAnalyticsItemOutputWithContext(ctx context.Context) AnalyticsItemOutput
}

type AnalyticsItemMap

type AnalyticsItemMap map[string]AnalyticsItemInput

func (AnalyticsItemMap) ElementType

func (AnalyticsItemMap) ElementType() reflect.Type

func (AnalyticsItemMap) ToAnalyticsItemMapOutput

func (i AnalyticsItemMap) ToAnalyticsItemMapOutput() AnalyticsItemMapOutput

func (AnalyticsItemMap) ToAnalyticsItemMapOutputWithContext

func (i AnalyticsItemMap) ToAnalyticsItemMapOutputWithContext(ctx context.Context) AnalyticsItemMapOutput

type AnalyticsItemMapInput

type AnalyticsItemMapInput interface {
	pulumi.Input

	ToAnalyticsItemMapOutput() AnalyticsItemMapOutput
	ToAnalyticsItemMapOutputWithContext(context.Context) AnalyticsItemMapOutput
}

AnalyticsItemMapInput is an input type that accepts AnalyticsItemMap and AnalyticsItemMapOutput values. You can construct a concrete instance of `AnalyticsItemMapInput` via:

AnalyticsItemMap{ "key": AnalyticsItemArgs{...} }

type AnalyticsItemMapOutput

type AnalyticsItemMapOutput struct{ *pulumi.OutputState }

func (AnalyticsItemMapOutput) ElementType

func (AnalyticsItemMapOutput) ElementType() reflect.Type

func (AnalyticsItemMapOutput) MapIndex

func (AnalyticsItemMapOutput) ToAnalyticsItemMapOutput

func (o AnalyticsItemMapOutput) ToAnalyticsItemMapOutput() AnalyticsItemMapOutput

func (AnalyticsItemMapOutput) ToAnalyticsItemMapOutputWithContext

func (o AnalyticsItemMapOutput) ToAnalyticsItemMapOutputWithContext(ctx context.Context) AnalyticsItemMapOutput

type AnalyticsItemOutput

type AnalyticsItemOutput struct{ *pulumi.OutputState }

func (AnalyticsItemOutput) ApplicationInsightsId added in v5.5.0

func (o AnalyticsItemOutput) ApplicationInsightsId() pulumi.StringOutput

The ID of the Application Insights component on which the Analytics Item exists. Changing this forces a new resource to be created.

func (AnalyticsItemOutput) Content added in v5.5.0

The content for the Analytics Item, for example the query text if `type` is `query`.

func (AnalyticsItemOutput) ElementType

func (AnalyticsItemOutput) ElementType() reflect.Type

func (AnalyticsItemOutput) FunctionAlias added in v5.5.0

func (o AnalyticsItemOutput) FunctionAlias() pulumi.StringPtrOutput

The alias to use for the function. Required when `type` is `function`.

func (AnalyticsItemOutput) Name added in v5.5.0

Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created.

func (AnalyticsItemOutput) Scope added in v5.5.0

The scope for the Analytics Item. Can be `shared` or `user`. Changing this forces a new resource to be created. Must be `shared` for functions.

func (AnalyticsItemOutput) TimeCreated added in v5.5.0

func (o AnalyticsItemOutput) TimeCreated() pulumi.StringOutput

A string containing the time the Analytics Item was created.

func (AnalyticsItemOutput) TimeModified added in v5.5.0

func (o AnalyticsItemOutput) TimeModified() pulumi.StringOutput

A string containing the time the Analytics Item was last modified.

func (AnalyticsItemOutput) ToAnalyticsItemOutput

func (o AnalyticsItemOutput) ToAnalyticsItemOutput() AnalyticsItemOutput

func (AnalyticsItemOutput) ToAnalyticsItemOutputWithContext

func (o AnalyticsItemOutput) ToAnalyticsItemOutputWithContext(ctx context.Context) AnalyticsItemOutput

func (AnalyticsItemOutput) Type added in v5.5.0

The type of Analytics Item to create. Can be one of `query`, `function`, `folder`, `recent`. Changing this forces a new resource to be created.

func (AnalyticsItemOutput) Version added in v5.5.0

A string indicating the version of the query format

type AnalyticsItemState

type AnalyticsItemState struct {
	// The ID of the Application Insights component on which the Analytics Item exists. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringPtrInput
	// The content for the Analytics Item, for example the query text if `type` is `query`.
	Content pulumi.StringPtrInput
	// The alias to use for the function. Required when `type` is `function`.
	FunctionAlias pulumi.StringPtrInput
	// Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The scope for the Analytics Item. Can be `shared` or `user`. Changing this forces a new resource to be created. Must be `shared` for functions.
	Scope pulumi.StringPtrInput
	// A string containing the time the Analytics Item was created.
	TimeCreated pulumi.StringPtrInput
	// A string containing the time the Analytics Item was last modified.
	TimeModified pulumi.StringPtrInput
	// The type of Analytics Item to create. Can be one of `query`, `function`, `folder`, `recent`. Changing this forces a new resource to be created.
	Type pulumi.StringPtrInput
	// A string indicating the version of the query format
	Version pulumi.StringPtrInput
}

func (AnalyticsItemState) ElementType

func (AnalyticsItemState) ElementType() reflect.Type

type ApiKey

type ApiKey struct {
	pulumi.CustomResourceState

	// The API Key secret (Sensitive).
	ApiKey pulumi.StringOutput `pulumi:"apiKey"`
	// The ID of the Application Insights component on which the API key operates. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringOutput `pulumi:"applicationInsightsId"`
	// Specifies the name of the Application Insights API key. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the list of read permissions granted to the API key. Valid values are `agentconfig`, `aggregate`, `api`, `draft`, `extendqueries`, `search`. Please note these values are case sensitive. Changing this forces a new resource to be created.
	ReadPermissions pulumi.StringArrayOutput `pulumi:"readPermissions"`
	// Specifies the list of write permissions granted to the API key. Valid values are `annotations`. Please note these values are case sensitive. Changing this forces a new resource to be created.
	//
	// > **Note:** At least one read or write permission must be defined.
	WritePermissions pulumi.StringArrayOutput `pulumi:"writePermissions"`
}

Manages an Application Insights API key.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		readTelemetry, err := appinsights.NewApiKey(ctx, "readTelemetry", &appinsights.ApiKeyArgs{
			ApplicationInsightsId: exampleInsights.ID(),
			ReadPermissions: pulumi.StringArray{
				pulumi.String("aggregate"),
				pulumi.String("api"),
				pulumi.String("draft"),
				pulumi.String("extendqueries"),
				pulumi.String("search"),
			},
		})
		if err != nil {
			return err
		}
		writeAnnotations, err := appinsights.NewApiKey(ctx, "writeAnnotations", &appinsights.ApiKeyArgs{
			ApplicationInsightsId: exampleInsights.ID(),
			WritePermissions: pulumi.StringArray{
				pulumi.String("annotations"),
			},
		})
		if err != nil {
			return err
		}
		authenticateSdkControlChannelApiKey, err := appinsights.NewApiKey(ctx, "authenticateSdkControlChannelApiKey", &appinsights.ApiKeyArgs{
			ApplicationInsightsId: exampleInsights.ID(),
			ReadPermissions: pulumi.StringArray{
				pulumi.String("agentconfig"),
			},
		})
		if err != nil {
			return err
		}
		fullPermissions, err := appinsights.NewApiKey(ctx, "fullPermissions", &appinsights.ApiKeyArgs{
			ApplicationInsightsId: exampleInsights.ID(),
			ReadPermissions: pulumi.StringArray{
				pulumi.String("agentconfig"),
				pulumi.String("aggregate"),
				pulumi.String("api"),
				pulumi.String("draft"),
				pulumi.String("extendqueries"),
				pulumi.String("search"),
			},
			WritePermissions: pulumi.StringArray{
				pulumi.String("annotations"),
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("readTelemetryApiKey", readTelemetry.ApiKey)
		ctx.Export("writeAnnotationsApiKey", writeAnnotations.ApiKey)
		ctx.Export("authenticateSdkControlChannel", authenticateSdkControlChannelApiKey.ApiKey)
		ctx.Export("fullPermissionsApiKey", fullPermissions.ApiKey)
		return nil
	})
}

```

## Import

Application Insights API keys can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:appinsights/apiKey:ApiKey my_key /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Insights/components/instance1/apiKeys/00000000-0000-0000-0000-000000000000

```

func GetApiKey

func GetApiKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApiKeyState, opts ...pulumi.ResourceOption) (*ApiKey, error)

GetApiKey gets an existing ApiKey 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 NewApiKey

func NewApiKey(ctx *pulumi.Context,
	name string, args *ApiKeyArgs, opts ...pulumi.ResourceOption) (*ApiKey, error)

NewApiKey registers a new resource with the given unique name, arguments, and options.

func (*ApiKey) ElementType

func (*ApiKey) ElementType() reflect.Type

func (*ApiKey) ToApiKeyOutput

func (i *ApiKey) ToApiKeyOutput() ApiKeyOutput

func (*ApiKey) ToApiKeyOutputWithContext

func (i *ApiKey) ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput

type ApiKeyArgs

type ApiKeyArgs struct {
	// The ID of the Application Insights component on which the API key operates. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringInput
	// Specifies the name of the Application Insights API key. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the list of read permissions granted to the API key. Valid values are `agentconfig`, `aggregate`, `api`, `draft`, `extendqueries`, `search`. Please note these values are case sensitive. Changing this forces a new resource to be created.
	ReadPermissions pulumi.StringArrayInput
	// Specifies the list of write permissions granted to the API key. Valid values are `annotations`. Please note these values are case sensitive. Changing this forces a new resource to be created.
	//
	// > **Note:** At least one read or write permission must be defined.
	WritePermissions pulumi.StringArrayInput
}

The set of arguments for constructing a ApiKey resource.

func (ApiKeyArgs) ElementType

func (ApiKeyArgs) ElementType() reflect.Type

type ApiKeyArray

type ApiKeyArray []ApiKeyInput

func (ApiKeyArray) ElementType

func (ApiKeyArray) ElementType() reflect.Type

func (ApiKeyArray) ToApiKeyArrayOutput

func (i ApiKeyArray) ToApiKeyArrayOutput() ApiKeyArrayOutput

func (ApiKeyArray) ToApiKeyArrayOutputWithContext

func (i ApiKeyArray) ToApiKeyArrayOutputWithContext(ctx context.Context) ApiKeyArrayOutput

type ApiKeyArrayInput

type ApiKeyArrayInput interface {
	pulumi.Input

	ToApiKeyArrayOutput() ApiKeyArrayOutput
	ToApiKeyArrayOutputWithContext(context.Context) ApiKeyArrayOutput
}

ApiKeyArrayInput is an input type that accepts ApiKeyArray and ApiKeyArrayOutput values. You can construct a concrete instance of `ApiKeyArrayInput` via:

ApiKeyArray{ ApiKeyArgs{...} }

type ApiKeyArrayOutput

type ApiKeyArrayOutput struct{ *pulumi.OutputState }

func (ApiKeyArrayOutput) ElementType

func (ApiKeyArrayOutput) ElementType() reflect.Type

func (ApiKeyArrayOutput) Index

func (ApiKeyArrayOutput) ToApiKeyArrayOutput

func (o ApiKeyArrayOutput) ToApiKeyArrayOutput() ApiKeyArrayOutput

func (ApiKeyArrayOutput) ToApiKeyArrayOutputWithContext

func (o ApiKeyArrayOutput) ToApiKeyArrayOutputWithContext(ctx context.Context) ApiKeyArrayOutput

type ApiKeyInput

type ApiKeyInput interface {
	pulumi.Input

	ToApiKeyOutput() ApiKeyOutput
	ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput
}

type ApiKeyMap

type ApiKeyMap map[string]ApiKeyInput

func (ApiKeyMap) ElementType

func (ApiKeyMap) ElementType() reflect.Type

func (ApiKeyMap) ToApiKeyMapOutput

func (i ApiKeyMap) ToApiKeyMapOutput() ApiKeyMapOutput

func (ApiKeyMap) ToApiKeyMapOutputWithContext

func (i ApiKeyMap) ToApiKeyMapOutputWithContext(ctx context.Context) ApiKeyMapOutput

type ApiKeyMapInput

type ApiKeyMapInput interface {
	pulumi.Input

	ToApiKeyMapOutput() ApiKeyMapOutput
	ToApiKeyMapOutputWithContext(context.Context) ApiKeyMapOutput
}

ApiKeyMapInput is an input type that accepts ApiKeyMap and ApiKeyMapOutput values. You can construct a concrete instance of `ApiKeyMapInput` via:

ApiKeyMap{ "key": ApiKeyArgs{...} }

type ApiKeyMapOutput

type ApiKeyMapOutput struct{ *pulumi.OutputState }

func (ApiKeyMapOutput) ElementType

func (ApiKeyMapOutput) ElementType() reflect.Type

func (ApiKeyMapOutput) MapIndex

func (ApiKeyMapOutput) ToApiKeyMapOutput

func (o ApiKeyMapOutput) ToApiKeyMapOutput() ApiKeyMapOutput

func (ApiKeyMapOutput) ToApiKeyMapOutputWithContext

func (o ApiKeyMapOutput) ToApiKeyMapOutputWithContext(ctx context.Context) ApiKeyMapOutput

type ApiKeyOutput

type ApiKeyOutput struct{ *pulumi.OutputState }

func (ApiKeyOutput) ApiKey added in v5.5.0

func (o ApiKeyOutput) ApiKey() pulumi.StringOutput

The API Key secret (Sensitive).

func (ApiKeyOutput) ApplicationInsightsId added in v5.5.0

func (o ApiKeyOutput) ApplicationInsightsId() pulumi.StringOutput

The ID of the Application Insights component on which the API key operates. Changing this forces a new resource to be created.

func (ApiKeyOutput) ElementType

func (ApiKeyOutput) ElementType() reflect.Type

func (ApiKeyOutput) Name added in v5.5.0

func (o ApiKeyOutput) Name() pulumi.StringOutput

Specifies the name of the Application Insights API key. Changing this forces a new resource to be created.

func (ApiKeyOutput) ReadPermissions added in v5.5.0

func (o ApiKeyOutput) ReadPermissions() pulumi.StringArrayOutput

Specifies the list of read permissions granted to the API key. Valid values are `agentconfig`, `aggregate`, `api`, `draft`, `extendqueries`, `search`. Please note these values are case sensitive. Changing this forces a new resource to be created.

func (ApiKeyOutput) ToApiKeyOutput

func (o ApiKeyOutput) ToApiKeyOutput() ApiKeyOutput

func (ApiKeyOutput) ToApiKeyOutputWithContext

func (o ApiKeyOutput) ToApiKeyOutputWithContext(ctx context.Context) ApiKeyOutput

func (ApiKeyOutput) WritePermissions added in v5.5.0

func (o ApiKeyOutput) WritePermissions() pulumi.StringArrayOutput

Specifies the list of write permissions granted to the API key. Valid values are `annotations`. Please note these values are case sensitive. Changing this forces a new resource to be created.

> **Note:** At least one read or write permission must be defined.

type ApiKeyState

type ApiKeyState struct {
	// The API Key secret (Sensitive).
	ApiKey pulumi.StringPtrInput
	// The ID of the Application Insights component on which the API key operates. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringPtrInput
	// Specifies the name of the Application Insights API key. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the list of read permissions granted to the API key. Valid values are `agentconfig`, `aggregate`, `api`, `draft`, `extendqueries`, `search`. Please note these values are case sensitive. Changing this forces a new resource to be created.
	ReadPermissions pulumi.StringArrayInput
	// Specifies the list of write permissions granted to the API key. Valid values are `annotations`. Please note these values are case sensitive. Changing this forces a new resource to be created.
	//
	// > **Note:** At least one read or write permission must be defined.
	WritePermissions pulumi.StringArrayInput
}

func (ApiKeyState) ElementType

func (ApiKeyState) ElementType() reflect.Type

type Insights

type Insights struct {
	pulumi.CustomResourceState

	// The App ID associated with this Application Insights component.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// Specifies the type of Application Insights to create. Valid values are `ios` for _iOS_, `java` for _Java web_, `MobileCenter` for _App Center_, `Node.JS` for _Node.js_, `other` for _General_, `phone` for _Windows Phone_, `store` for _Windows Store_ and `web` for _ASP.NET_. Please note these values are case sensitive; unmatched values are treated as _ASP.NET_ by Azure. Changing this forces a new resource to be created.
	ApplicationType pulumi.StringOutput `pulumi:"applicationType"`
	// The Connection String for this Application Insights component. (Sensitive)
	ConnectionString pulumi.StringOutput `pulumi:"connectionString"`
	// Specifies the Application Insights component daily data volume cap in GB.
	DailyDataCapInGb pulumi.Float64Output `pulumi:"dailyDataCapInGb"`
	// Specifies if a notification email will be send when the daily data volume cap is met.
	DailyDataCapNotificationsDisabled pulumi.BoolOutput `pulumi:"dailyDataCapNotificationsDisabled"`
	// By default the real client IP is masked as `0.0.0.0` in the logs. Use this argument to disable masking and log the real client IP. Defaults to `false`.
	DisableIpMasking pulumi.BoolPtrOutput `pulumi:"disableIpMasking"`
	// Should the Application Insights component force users to create their own storage account for profiling? Defaults to `false`.
	ForceCustomerStorageForProfiler pulumi.BoolPtrOutput `pulumi:"forceCustomerStorageForProfiler"`
	// The Instrumentation Key for this Application Insights component. (Sensitive)
	InstrumentationKey pulumi.StringOutput `pulumi:"instrumentationKey"`
	// Should the Application Insights component support ingestion over the Public Internet? Defaults to `true`.
	InternetIngestionEnabled pulumi.BoolPtrOutput `pulumi:"internetIngestionEnabled"`
	// Should the Application Insights component support querying over the Public Internet? Defaults to `true`.
	InternetQueryEnabled pulumi.BoolPtrOutput `pulumi:"internetQueryEnabled"`
	// Disable Non-Azure AD based Auth. Defaults to `false`.
	LocalAuthenticationDisabled pulumi.BoolPtrOutput `pulumi:"localAuthenticationDisabled"`
	// 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 Application Insights component. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Application Insights component. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specifies the retention period in days. Possible values are `30`, `60`, `90`, `120`, `180`, `270`, `365`, `550` or `730`. Defaults to `90`.
	RetentionInDays pulumi.IntPtrOutput `pulumi:"retentionInDays"`
	// Specifies the percentage of the data produced by the monitored application that is sampled for Application Insights telemetry. Defaults to `100`.
	SamplingPercentage pulumi.Float64PtrOutput `pulumi:"samplingPercentage"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the id of a log analytics workspace resource.
	//
	// > **NOTE:** This can not be removed after set. More details can be found at [Migrate to workspace-based Application Insights resources](https://docs.microsoft.com/azure/azure-monitor/app/convert-classic-resource#migration-process)
	WorkspaceId pulumi.StringPtrOutput `pulumi:"workspaceId"`
}

Manages an Application Insights component.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		ctx.Export("instrumentationKey", exampleInsights.InstrumentationKey)
		ctx.Export("appId", exampleInsights.AppId)
		return nil
	})
}

``` ### Workspace Mode

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/operationalinsights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("PerGB2018"),
			RetentionInDays:   pulumi.Int(30),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			WorkspaceId:       exampleAnalyticsWorkspace.ID(),
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		ctx.Export("instrumentationKey", exampleInsights.InstrumentationKey)
		ctx.Export("appId", exampleInsights.AppId)
		return nil
	})
}

```

## Import

Application Insights instances can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:appinsights/insights:Insights instance1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Insights/components/instance1

```

func GetInsights

func GetInsights(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InsightsState, opts ...pulumi.ResourceOption) (*Insights, error)

GetInsights gets an existing Insights 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 NewInsights

func NewInsights(ctx *pulumi.Context,
	name string, args *InsightsArgs, opts ...pulumi.ResourceOption) (*Insights, error)

NewInsights registers a new resource with the given unique name, arguments, and options.

func (*Insights) ElementType

func (*Insights) ElementType() reflect.Type

func (*Insights) ToInsightsOutput

func (i *Insights) ToInsightsOutput() InsightsOutput

func (*Insights) ToInsightsOutputWithContext

func (i *Insights) ToInsightsOutputWithContext(ctx context.Context) InsightsOutput

type InsightsArgs

type InsightsArgs struct {
	// Specifies the type of Application Insights to create. Valid values are `ios` for _iOS_, `java` for _Java web_, `MobileCenter` for _App Center_, `Node.JS` for _Node.js_, `other` for _General_, `phone` for _Windows Phone_, `store` for _Windows Store_ and `web` for _ASP.NET_. Please note these values are case sensitive; unmatched values are treated as _ASP.NET_ by Azure. Changing this forces a new resource to be created.
	ApplicationType pulumi.StringInput
	// Specifies the Application Insights component daily data volume cap in GB.
	DailyDataCapInGb pulumi.Float64PtrInput
	// Specifies if a notification email will be send when the daily data volume cap is met.
	DailyDataCapNotificationsDisabled pulumi.BoolPtrInput
	// By default the real client IP is masked as `0.0.0.0` in the logs. Use this argument to disable masking and log the real client IP. Defaults to `false`.
	DisableIpMasking pulumi.BoolPtrInput
	// Should the Application Insights component force users to create their own storage account for profiling? Defaults to `false`.
	ForceCustomerStorageForProfiler pulumi.BoolPtrInput
	// Should the Application Insights component support ingestion over the Public Internet? Defaults to `true`.
	InternetIngestionEnabled pulumi.BoolPtrInput
	// Should the Application Insights component support querying over the Public Internet? Defaults to `true`.
	InternetQueryEnabled pulumi.BoolPtrInput
	// Disable Non-Azure AD based Auth. Defaults to `false`.
	LocalAuthenticationDisabled pulumi.BoolPtrInput
	// 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 Application Insights component. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Application Insights component. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Specifies the retention period in days. Possible values are `30`, `60`, `90`, `120`, `180`, `270`, `365`, `550` or `730`. Defaults to `90`.
	RetentionInDays pulumi.IntPtrInput
	// Specifies the percentage of the data produced by the monitored application that is sampled for Application Insights telemetry. Defaults to `100`.
	SamplingPercentage pulumi.Float64PtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies the id of a log analytics workspace resource.
	//
	// > **NOTE:** This can not be removed after set. More details can be found at [Migrate to workspace-based Application Insights resources](https://docs.microsoft.com/azure/azure-monitor/app/convert-classic-resource#migration-process)
	WorkspaceId pulumi.StringPtrInput
}

The set of arguments for constructing a Insights resource.

func (InsightsArgs) ElementType

func (InsightsArgs) ElementType() reflect.Type

type InsightsArray

type InsightsArray []InsightsInput

func (InsightsArray) ElementType

func (InsightsArray) ElementType() reflect.Type

func (InsightsArray) ToInsightsArrayOutput

func (i InsightsArray) ToInsightsArrayOutput() InsightsArrayOutput

func (InsightsArray) ToInsightsArrayOutputWithContext

func (i InsightsArray) ToInsightsArrayOutputWithContext(ctx context.Context) InsightsArrayOutput

type InsightsArrayInput

type InsightsArrayInput interface {
	pulumi.Input

	ToInsightsArrayOutput() InsightsArrayOutput
	ToInsightsArrayOutputWithContext(context.Context) InsightsArrayOutput
}

InsightsArrayInput is an input type that accepts InsightsArray and InsightsArrayOutput values. You can construct a concrete instance of `InsightsArrayInput` via:

InsightsArray{ InsightsArgs{...} }

type InsightsArrayOutput

type InsightsArrayOutput struct{ *pulumi.OutputState }

func (InsightsArrayOutput) ElementType

func (InsightsArrayOutput) ElementType() reflect.Type

func (InsightsArrayOutput) Index

func (InsightsArrayOutput) ToInsightsArrayOutput

func (o InsightsArrayOutput) ToInsightsArrayOutput() InsightsArrayOutput

func (InsightsArrayOutput) ToInsightsArrayOutputWithContext

func (o InsightsArrayOutput) ToInsightsArrayOutputWithContext(ctx context.Context) InsightsArrayOutput

type InsightsInput

type InsightsInput interface {
	pulumi.Input

	ToInsightsOutput() InsightsOutput
	ToInsightsOutputWithContext(ctx context.Context) InsightsOutput
}

type InsightsMap

type InsightsMap map[string]InsightsInput

func (InsightsMap) ElementType

func (InsightsMap) ElementType() reflect.Type

func (InsightsMap) ToInsightsMapOutput

func (i InsightsMap) ToInsightsMapOutput() InsightsMapOutput

func (InsightsMap) ToInsightsMapOutputWithContext

func (i InsightsMap) ToInsightsMapOutputWithContext(ctx context.Context) InsightsMapOutput

type InsightsMapInput

type InsightsMapInput interface {
	pulumi.Input

	ToInsightsMapOutput() InsightsMapOutput
	ToInsightsMapOutputWithContext(context.Context) InsightsMapOutput
}

InsightsMapInput is an input type that accepts InsightsMap and InsightsMapOutput values. You can construct a concrete instance of `InsightsMapInput` via:

InsightsMap{ "key": InsightsArgs{...} }

type InsightsMapOutput

type InsightsMapOutput struct{ *pulumi.OutputState }

func (InsightsMapOutput) ElementType

func (InsightsMapOutput) ElementType() reflect.Type

func (InsightsMapOutput) MapIndex

func (InsightsMapOutput) ToInsightsMapOutput

func (o InsightsMapOutput) ToInsightsMapOutput() InsightsMapOutput

func (InsightsMapOutput) ToInsightsMapOutputWithContext

func (o InsightsMapOutput) ToInsightsMapOutputWithContext(ctx context.Context) InsightsMapOutput

type InsightsOutput

type InsightsOutput struct{ *pulumi.OutputState }

func (InsightsOutput) AppId added in v5.5.0

The App ID associated with this Application Insights component.

func (InsightsOutput) ApplicationType added in v5.5.0

func (o InsightsOutput) ApplicationType() pulumi.StringOutput

Specifies the type of Application Insights to create. Valid values are `ios` for _iOS_, `java` for _Java web_, `MobileCenter` for _App Center_, `Node.JS` for _Node.js_, `other` for _General_, `phone` for _Windows Phone_, `store` for _Windows Store_ and `web` for _ASP.NET_. Please note these values are case sensitive; unmatched values are treated as _ASP.NET_ by Azure. Changing this forces a new resource to be created.

func (InsightsOutput) ConnectionString added in v5.5.0

func (o InsightsOutput) ConnectionString() pulumi.StringOutput

The Connection String for this Application Insights component. (Sensitive)

func (InsightsOutput) DailyDataCapInGb added in v5.5.0

func (o InsightsOutput) DailyDataCapInGb() pulumi.Float64Output

Specifies the Application Insights component daily data volume cap in GB.

func (InsightsOutput) DailyDataCapNotificationsDisabled added in v5.5.0

func (o InsightsOutput) DailyDataCapNotificationsDisabled() pulumi.BoolOutput

Specifies if a notification email will be send when the daily data volume cap is met.

func (InsightsOutput) DisableIpMasking added in v5.5.0

func (o InsightsOutput) DisableIpMasking() pulumi.BoolPtrOutput

By default the real client IP is masked as `0.0.0.0` in the logs. Use this argument to disable masking and log the real client IP. Defaults to `false`.

func (InsightsOutput) ElementType

func (InsightsOutput) ElementType() reflect.Type

func (InsightsOutput) ForceCustomerStorageForProfiler added in v5.5.0

func (o InsightsOutput) ForceCustomerStorageForProfiler() pulumi.BoolPtrOutput

Should the Application Insights component force users to create their own storage account for profiling? Defaults to `false`.

func (InsightsOutput) InstrumentationKey added in v5.5.0

func (o InsightsOutput) InstrumentationKey() pulumi.StringOutput

The Instrumentation Key for this Application Insights component. (Sensitive)

func (InsightsOutput) InternetIngestionEnabled added in v5.5.0

func (o InsightsOutput) InternetIngestionEnabled() pulumi.BoolPtrOutput

Should the Application Insights component support ingestion over the Public Internet? Defaults to `true`.

func (InsightsOutput) InternetQueryEnabled added in v5.5.0

func (o InsightsOutput) InternetQueryEnabled() pulumi.BoolPtrOutput

Should the Application Insights component support querying over the Public Internet? Defaults to `true`.

func (InsightsOutput) LocalAuthenticationDisabled added in v5.5.0

func (o InsightsOutput) LocalAuthenticationDisabled() pulumi.BoolPtrOutput

Disable Non-Azure AD based Auth. Defaults to `false`.

func (InsightsOutput) Location added in v5.5.0

func (o InsightsOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (InsightsOutput) Name added in v5.5.0

Specifies the name of the Application Insights component. Changing this forces a new resource to be created.

func (InsightsOutput) ResourceGroupName added in v5.5.0

func (o InsightsOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Application Insights component. Changing this forces a new resource to be created.

func (InsightsOutput) RetentionInDays added in v5.5.0

func (o InsightsOutput) RetentionInDays() pulumi.IntPtrOutput

Specifies the retention period in days. Possible values are `30`, `60`, `90`, `120`, `180`, `270`, `365`, `550` or `730`. Defaults to `90`.

func (InsightsOutput) SamplingPercentage added in v5.5.0

func (o InsightsOutput) SamplingPercentage() pulumi.Float64PtrOutput

Specifies the percentage of the data produced by the monitored application that is sampled for Application Insights telemetry. Defaults to `100`.

func (InsightsOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

func (InsightsOutput) ToInsightsOutput

func (o InsightsOutput) ToInsightsOutput() InsightsOutput

func (InsightsOutput) ToInsightsOutputWithContext

func (o InsightsOutput) ToInsightsOutputWithContext(ctx context.Context) InsightsOutput

func (InsightsOutput) WorkspaceId added in v5.5.0

func (o InsightsOutput) WorkspaceId() pulumi.StringPtrOutput

Specifies the id of a log analytics workspace resource.

> **NOTE:** This can not be removed after set. More details can be found at [Migrate to workspace-based Application Insights resources](https://docs.microsoft.com/azure/azure-monitor/app/convert-classic-resource#migration-process)

type InsightsState

type InsightsState struct {
	// The App ID associated with this Application Insights component.
	AppId pulumi.StringPtrInput
	// Specifies the type of Application Insights to create. Valid values are `ios` for _iOS_, `java` for _Java web_, `MobileCenter` for _App Center_, `Node.JS` for _Node.js_, `other` for _General_, `phone` for _Windows Phone_, `store` for _Windows Store_ and `web` for _ASP.NET_. Please note these values are case sensitive; unmatched values are treated as _ASP.NET_ by Azure. Changing this forces a new resource to be created.
	ApplicationType pulumi.StringPtrInput
	// The Connection String for this Application Insights component. (Sensitive)
	ConnectionString pulumi.StringPtrInput
	// Specifies the Application Insights component daily data volume cap in GB.
	DailyDataCapInGb pulumi.Float64PtrInput
	// Specifies if a notification email will be send when the daily data volume cap is met.
	DailyDataCapNotificationsDisabled pulumi.BoolPtrInput
	// By default the real client IP is masked as `0.0.0.0` in the logs. Use this argument to disable masking and log the real client IP. Defaults to `false`.
	DisableIpMasking pulumi.BoolPtrInput
	// Should the Application Insights component force users to create their own storage account for profiling? Defaults to `false`.
	ForceCustomerStorageForProfiler pulumi.BoolPtrInput
	// The Instrumentation Key for this Application Insights component. (Sensitive)
	InstrumentationKey pulumi.StringPtrInput
	// Should the Application Insights component support ingestion over the Public Internet? Defaults to `true`.
	InternetIngestionEnabled pulumi.BoolPtrInput
	// Should the Application Insights component support querying over the Public Internet? Defaults to `true`.
	InternetQueryEnabled pulumi.BoolPtrInput
	// Disable Non-Azure AD based Auth. Defaults to `false`.
	LocalAuthenticationDisabled pulumi.BoolPtrInput
	// 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 Application Insights component. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Application Insights component. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Specifies the retention period in days. Possible values are `30`, `60`, `90`, `120`, `180`, `270`, `365`, `550` or `730`. Defaults to `90`.
	RetentionInDays pulumi.IntPtrInput
	// Specifies the percentage of the data produced by the monitored application that is sampled for Application Insights telemetry. Defaults to `100`.
	SamplingPercentage pulumi.Float64PtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies the id of a log analytics workspace resource.
	//
	// > **NOTE:** This can not be removed after set. More details can be found at [Migrate to workspace-based Application Insights resources](https://docs.microsoft.com/azure/azure-monitor/app/convert-classic-resource#migration-process)
	WorkspaceId pulumi.StringPtrInput
}

func (InsightsState) ElementType

func (InsightsState) ElementType() reflect.Type

type LookupInsightsArgs

type LookupInsightsArgs struct {
	// Specifies the name of the Application Insights component.
	Name string `pulumi:"name"`
	// Specifies the name of the resource group the Application Insights component is located in.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getInsights.

type LookupInsightsOutputArgs

type LookupInsightsOutputArgs struct {
	// Specifies the name of the Application Insights component.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the name of the resource group the Application Insights component is located in.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getInsights.

func (LookupInsightsOutputArgs) ElementType

func (LookupInsightsOutputArgs) ElementType() reflect.Type

type LookupInsightsResult

type LookupInsightsResult struct {
	// The App ID associated with this Application Insights component.
	AppId string `pulumi:"appId"`
	// The type of the component.
	ApplicationType string `pulumi:"applicationType"`
	// The connection string of the Application Insights component. (Sensitive)
	ConnectionString string `pulumi:"connectionString"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The instrumentation key of the Application Insights component.
	InstrumentationKey string `pulumi:"instrumentationKey"`
	// The Azure location where the component exists.
	Location          string `pulumi:"location"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The retention period in days.
	RetentionInDays int `pulumi:"retentionInDays"`
	// Tags applied to the component.
	Tags map[string]string `pulumi:"tags"`
	// The id of the associated Log Analytics workspace
	WorkspaceId string `pulumi:"workspaceId"`
}

A collection of values returned by getInsights.

func LookupInsights

func LookupInsights(ctx *pulumi.Context, args *LookupInsightsArgs, opts ...pulumi.InvokeOption) (*LookupInsightsResult, error)

Use this data source to access information about an existing Application Insights component.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := appinsights.LookupInsights(ctx, &appinsights.LookupInsightsArgs{
			Name:              "production",
			ResourceGroupName: "networking",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("applicationInsightsInstrumentationKey", example.InstrumentationKey)
		return nil
	})
}

```

type LookupInsightsResultOutput

type LookupInsightsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInsights.

func (LookupInsightsResultOutput) AppId

The App ID associated with this Application Insights component.

func (LookupInsightsResultOutput) ApplicationType

func (o LookupInsightsResultOutput) ApplicationType() pulumi.StringOutput

The type of the component.

func (LookupInsightsResultOutput) ConnectionString

func (o LookupInsightsResultOutput) ConnectionString() pulumi.StringOutput

The connection string of the Application Insights component. (Sensitive)

func (LookupInsightsResultOutput) ElementType

func (LookupInsightsResultOutput) ElementType() reflect.Type

func (LookupInsightsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupInsightsResultOutput) InstrumentationKey

func (o LookupInsightsResultOutput) InstrumentationKey() pulumi.StringOutput

The instrumentation key of the Application Insights component.

func (LookupInsightsResultOutput) Location

The Azure location where the component exists.

func (LookupInsightsResultOutput) Name

func (LookupInsightsResultOutput) ResourceGroupName

func (o LookupInsightsResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupInsightsResultOutput) RetentionInDays

func (o LookupInsightsResultOutput) RetentionInDays() pulumi.IntOutput

The retention period in days.

func (LookupInsightsResultOutput) Tags

Tags applied to the component.

func (LookupInsightsResultOutput) ToLookupInsightsResultOutput

func (o LookupInsightsResultOutput) ToLookupInsightsResultOutput() LookupInsightsResultOutput

func (LookupInsightsResultOutput) ToLookupInsightsResultOutputWithContext

func (o LookupInsightsResultOutput) ToLookupInsightsResultOutputWithContext(ctx context.Context) LookupInsightsResultOutput

func (LookupInsightsResultOutput) WorkspaceId

The id of the associated Log Analytics workspace

type SmartDetectionRule

type SmartDetectionRule struct {
	pulumi.CustomResourceState

	// Specifies a list of additional recipients that will be sent emails on this Application Insights Smart Detection Rule.
	//
	// > **Note:** At least one read or write permission must be defined.
	AdditionalEmailRecipients pulumi.StringArrayOutput `pulumi:"additionalEmailRecipients"`
	// The ID of the Application Insights component on which the Smart Detection Rule operates. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringOutput `pulumi:"applicationInsightsId"`
	// Is the Application Insights Smart Detection Rule enabled? Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Specifies the name of the Application Insights Smart Detection Rule. Valid values include `Slow page load time`, `Slow server response time`, `Long dependency duration`, `Degradation in server response time`, `Degradation in dependency duration`, `Degradation in trace severity ratio`, `Abnormal rise in exception volume`, `Potential memory leak detected`, `Potential security issue detected` and `Abnormal rise in daily data volume`, `Long dependency duration`, `Degradation in server response time`, `Degradation in dependency duration`, `Degradation in trace severity ratio`, `Abnormal rise in exception volume`, `Potential memory leak detected`, `Potential security issue detected`, `Abnormal rise in daily data volume`. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Do emails get sent to subscription owners? Defaults to `true`.
	SendEmailsToSubscriptionOwners pulumi.BoolPtrOutput `pulumi:"sendEmailsToSubscriptionOwners"`
}

Manages an Application Insights Smart Detection Rule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		_, err = appinsights.NewSmartDetectionRule(ctx, "exampleSmartDetectionRule", &appinsights.SmartDetectionRuleArgs{
			ApplicationInsightsId: exampleInsights.ID(),
			Enabled:               pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Application Insights Smart Detection Rules can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:appinsights/smartDetectionRule:SmartDetectionRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Insights/components/mycomponent1/smartDetectionRule/myrule1

```

func GetSmartDetectionRule

func GetSmartDetectionRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SmartDetectionRuleState, opts ...pulumi.ResourceOption) (*SmartDetectionRule, error)

GetSmartDetectionRule gets an existing SmartDetectionRule 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 NewSmartDetectionRule

func NewSmartDetectionRule(ctx *pulumi.Context,
	name string, args *SmartDetectionRuleArgs, opts ...pulumi.ResourceOption) (*SmartDetectionRule, error)

NewSmartDetectionRule registers a new resource with the given unique name, arguments, and options.

func (*SmartDetectionRule) ElementType

func (*SmartDetectionRule) ElementType() reflect.Type

func (*SmartDetectionRule) ToSmartDetectionRuleOutput

func (i *SmartDetectionRule) ToSmartDetectionRuleOutput() SmartDetectionRuleOutput

func (*SmartDetectionRule) ToSmartDetectionRuleOutputWithContext

func (i *SmartDetectionRule) ToSmartDetectionRuleOutputWithContext(ctx context.Context) SmartDetectionRuleOutput

type SmartDetectionRuleArgs

type SmartDetectionRuleArgs struct {
	// Specifies a list of additional recipients that will be sent emails on this Application Insights Smart Detection Rule.
	//
	// > **Note:** At least one read or write permission must be defined.
	AdditionalEmailRecipients pulumi.StringArrayInput
	// The ID of the Application Insights component on which the Smart Detection Rule operates. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringInput
	// Is the Application Insights Smart Detection Rule enabled? Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Specifies the name of the Application Insights Smart Detection Rule. Valid values include `Slow page load time`, `Slow server response time`, `Long dependency duration`, `Degradation in server response time`, `Degradation in dependency duration`, `Degradation in trace severity ratio`, `Abnormal rise in exception volume`, `Potential memory leak detected`, `Potential security issue detected` and `Abnormal rise in daily data volume`, `Long dependency duration`, `Degradation in server response time`, `Degradation in dependency duration`, `Degradation in trace severity ratio`, `Abnormal rise in exception volume`, `Potential memory leak detected`, `Potential security issue detected`, `Abnormal rise in daily data volume`. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Do emails get sent to subscription owners? Defaults to `true`.
	SendEmailsToSubscriptionOwners pulumi.BoolPtrInput
}

The set of arguments for constructing a SmartDetectionRule resource.

func (SmartDetectionRuleArgs) ElementType

func (SmartDetectionRuleArgs) ElementType() reflect.Type

type SmartDetectionRuleArray

type SmartDetectionRuleArray []SmartDetectionRuleInput

func (SmartDetectionRuleArray) ElementType

func (SmartDetectionRuleArray) ElementType() reflect.Type

func (SmartDetectionRuleArray) ToSmartDetectionRuleArrayOutput

func (i SmartDetectionRuleArray) ToSmartDetectionRuleArrayOutput() SmartDetectionRuleArrayOutput

func (SmartDetectionRuleArray) ToSmartDetectionRuleArrayOutputWithContext

func (i SmartDetectionRuleArray) ToSmartDetectionRuleArrayOutputWithContext(ctx context.Context) SmartDetectionRuleArrayOutput

type SmartDetectionRuleArrayInput

type SmartDetectionRuleArrayInput interface {
	pulumi.Input

	ToSmartDetectionRuleArrayOutput() SmartDetectionRuleArrayOutput
	ToSmartDetectionRuleArrayOutputWithContext(context.Context) SmartDetectionRuleArrayOutput
}

SmartDetectionRuleArrayInput is an input type that accepts SmartDetectionRuleArray and SmartDetectionRuleArrayOutput values. You can construct a concrete instance of `SmartDetectionRuleArrayInput` via:

SmartDetectionRuleArray{ SmartDetectionRuleArgs{...} }

type SmartDetectionRuleArrayOutput

type SmartDetectionRuleArrayOutput struct{ *pulumi.OutputState }

func (SmartDetectionRuleArrayOutput) ElementType

func (SmartDetectionRuleArrayOutput) Index

func (SmartDetectionRuleArrayOutput) ToSmartDetectionRuleArrayOutput

func (o SmartDetectionRuleArrayOutput) ToSmartDetectionRuleArrayOutput() SmartDetectionRuleArrayOutput

func (SmartDetectionRuleArrayOutput) ToSmartDetectionRuleArrayOutputWithContext

func (o SmartDetectionRuleArrayOutput) ToSmartDetectionRuleArrayOutputWithContext(ctx context.Context) SmartDetectionRuleArrayOutput

type SmartDetectionRuleInput

type SmartDetectionRuleInput interface {
	pulumi.Input

	ToSmartDetectionRuleOutput() SmartDetectionRuleOutput
	ToSmartDetectionRuleOutputWithContext(ctx context.Context) SmartDetectionRuleOutput
}

type SmartDetectionRuleMap

type SmartDetectionRuleMap map[string]SmartDetectionRuleInput

func (SmartDetectionRuleMap) ElementType

func (SmartDetectionRuleMap) ElementType() reflect.Type

func (SmartDetectionRuleMap) ToSmartDetectionRuleMapOutput

func (i SmartDetectionRuleMap) ToSmartDetectionRuleMapOutput() SmartDetectionRuleMapOutput

func (SmartDetectionRuleMap) ToSmartDetectionRuleMapOutputWithContext

func (i SmartDetectionRuleMap) ToSmartDetectionRuleMapOutputWithContext(ctx context.Context) SmartDetectionRuleMapOutput

type SmartDetectionRuleMapInput

type SmartDetectionRuleMapInput interface {
	pulumi.Input

	ToSmartDetectionRuleMapOutput() SmartDetectionRuleMapOutput
	ToSmartDetectionRuleMapOutputWithContext(context.Context) SmartDetectionRuleMapOutput
}

SmartDetectionRuleMapInput is an input type that accepts SmartDetectionRuleMap and SmartDetectionRuleMapOutput values. You can construct a concrete instance of `SmartDetectionRuleMapInput` via:

SmartDetectionRuleMap{ "key": SmartDetectionRuleArgs{...} }

type SmartDetectionRuleMapOutput

type SmartDetectionRuleMapOutput struct{ *pulumi.OutputState }

func (SmartDetectionRuleMapOutput) ElementType

func (SmartDetectionRuleMapOutput) MapIndex

func (SmartDetectionRuleMapOutput) ToSmartDetectionRuleMapOutput

func (o SmartDetectionRuleMapOutput) ToSmartDetectionRuleMapOutput() SmartDetectionRuleMapOutput

func (SmartDetectionRuleMapOutput) ToSmartDetectionRuleMapOutputWithContext

func (o SmartDetectionRuleMapOutput) ToSmartDetectionRuleMapOutputWithContext(ctx context.Context) SmartDetectionRuleMapOutput

type SmartDetectionRuleOutput

type SmartDetectionRuleOutput struct{ *pulumi.OutputState }

func (SmartDetectionRuleOutput) AdditionalEmailRecipients added in v5.5.0

func (o SmartDetectionRuleOutput) AdditionalEmailRecipients() pulumi.StringArrayOutput

Specifies a list of additional recipients that will be sent emails on this Application Insights Smart Detection Rule.

> **Note:** At least one read or write permission must be defined.

func (SmartDetectionRuleOutput) ApplicationInsightsId added in v5.5.0

func (o SmartDetectionRuleOutput) ApplicationInsightsId() pulumi.StringOutput

The ID of the Application Insights component on which the Smart Detection Rule operates. Changing this forces a new resource to be created.

func (SmartDetectionRuleOutput) ElementType

func (SmartDetectionRuleOutput) ElementType() reflect.Type

func (SmartDetectionRuleOutput) Enabled added in v5.5.0

Is the Application Insights Smart Detection Rule enabled? Defaults to `true`.

func (SmartDetectionRuleOutput) Name added in v5.5.0

Specifies the name of the Application Insights Smart Detection Rule. Valid values include `Slow page load time`, `Slow server response time`, `Long dependency duration`, `Degradation in server response time`, `Degradation in dependency duration`, `Degradation in trace severity ratio`, `Abnormal rise in exception volume`, `Potential memory leak detected`, `Potential security issue detected` and `Abnormal rise in daily data volume`, `Long dependency duration`, `Degradation in server response time`, `Degradation in dependency duration`, `Degradation in trace severity ratio`, `Abnormal rise in exception volume`, `Potential memory leak detected`, `Potential security issue detected`, `Abnormal rise in daily data volume`. Changing this forces a new resource to be created.

func (SmartDetectionRuleOutput) SendEmailsToSubscriptionOwners added in v5.5.0

func (o SmartDetectionRuleOutput) SendEmailsToSubscriptionOwners() pulumi.BoolPtrOutput

Do emails get sent to subscription owners? Defaults to `true`.

func (SmartDetectionRuleOutput) ToSmartDetectionRuleOutput

func (o SmartDetectionRuleOutput) ToSmartDetectionRuleOutput() SmartDetectionRuleOutput

func (SmartDetectionRuleOutput) ToSmartDetectionRuleOutputWithContext

func (o SmartDetectionRuleOutput) ToSmartDetectionRuleOutputWithContext(ctx context.Context) SmartDetectionRuleOutput

type SmartDetectionRuleState

type SmartDetectionRuleState struct {
	// Specifies a list of additional recipients that will be sent emails on this Application Insights Smart Detection Rule.
	//
	// > **Note:** At least one read or write permission must be defined.
	AdditionalEmailRecipients pulumi.StringArrayInput
	// The ID of the Application Insights component on which the Smart Detection Rule operates. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringPtrInput
	// Is the Application Insights Smart Detection Rule enabled? Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Specifies the name of the Application Insights Smart Detection Rule. Valid values include `Slow page load time`, `Slow server response time`, `Long dependency duration`, `Degradation in server response time`, `Degradation in dependency duration`, `Degradation in trace severity ratio`, `Abnormal rise in exception volume`, `Potential memory leak detected`, `Potential security issue detected` and `Abnormal rise in daily data volume`, `Long dependency duration`, `Degradation in server response time`, `Degradation in dependency duration`, `Degradation in trace severity ratio`, `Abnormal rise in exception volume`, `Potential memory leak detected`, `Potential security issue detected`, `Abnormal rise in daily data volume`. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Do emails get sent to subscription owners? Defaults to `true`.
	SendEmailsToSubscriptionOwners pulumi.BoolPtrInput
}

func (SmartDetectionRuleState) ElementType

func (SmartDetectionRuleState) ElementType() reflect.Type

type StandardWebTest added in v5.31.0

type StandardWebTest struct {
	pulumi.CustomResourceState

	// The ID of the Application Insights instance on which the WebTest operates. Changing this forces a new Application Insights Standard WebTest to be created.
	ApplicationInsightsId pulumi.StringOutput `pulumi:"applicationInsightsId"`
	// Purpose/user defined descriptive test for this WebTest.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Should the WebTest be enabled?
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Interval in seconds between test runs for this WebTest. Valid options are `300`, `600` and `900`. Defaults to `300`.
	Frequency pulumi.IntPtrOutput `pulumi:"frequency"`
	// Specifies a list of where to physically run the tests from to give global coverage for accessibility of your application.
	//
	// > **Note:** [Valid options for geo locations are described here](https://docs.microsoft.com/azure/azure-monitor/app/monitor-web-app-availability#location-population-tags)
	GeoLocations pulumi.StringArrayOutput `pulumi:"geoLocations"`
	// The Azure Region where the Application Insights Standard WebTest should exist. Changing this forces a new Application Insights Standard WebTest to be created. It needs to correlate with location of the parent resource (azurerm_application_insights)
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for this Application Insights Standard WebTest. Changing this forces a new Application Insights Standard WebTest to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `request` block as defined below.
	Request StandardWebTestRequestOutput `pulumi:"request"`
	// The name of the Resource Group where the Application Insights Standard WebTest should exist. Changing this forces a new Application Insights Standard WebTest to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Should the retry on WebTest failure be enabled?
	RetryEnabled pulumi.BoolPtrOutput `pulumi:"retryEnabled"`
	// Unique ID of this WebTest. This is typically the same value as the Name field.
	SyntheticMonitorId pulumi.StringOutput `pulumi:"syntheticMonitorId"`
	// A mapping of tags which should be assigned to the Application Insights Standard WebTest.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Seconds until this WebTest will timeout and fail. Default is `30`.
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
	// A `validationRules` block as defined below.
	ValidationRules StandardWebTestValidationRulesPtrOutput `pulumi:"validationRules"`
}

Manages a Application Insights Standard WebTest.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		_, err = appinsights.NewStandardWebTest(ctx, "exampleStandardWebTest", &appinsights.StandardWebTestArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			Location:              pulumi.String("West Europe"),
			ApplicationInsightsId: exampleInsights.ID(),
			GeoLocations: pulumi.StringArray{
				pulumi.String("example"),
			},
			Request: &appinsights.StandardWebTestRequestArgs{
				Url: pulumi.String("http://www.example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Application Insights Standard WebTests can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:appinsights/standardWebTest:StandardWebTest example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Insights/webTests/appinsightswebtest

```

func GetStandardWebTest added in v5.31.0

func GetStandardWebTest(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StandardWebTestState, opts ...pulumi.ResourceOption) (*StandardWebTest, error)

GetStandardWebTest gets an existing StandardWebTest 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 NewStandardWebTest added in v5.31.0

func NewStandardWebTest(ctx *pulumi.Context,
	name string, args *StandardWebTestArgs, opts ...pulumi.ResourceOption) (*StandardWebTest, error)

NewStandardWebTest registers a new resource with the given unique name, arguments, and options.

func (*StandardWebTest) ElementType added in v5.31.0

func (*StandardWebTest) ElementType() reflect.Type

func (*StandardWebTest) ToStandardWebTestOutput added in v5.31.0

func (i *StandardWebTest) ToStandardWebTestOutput() StandardWebTestOutput

func (*StandardWebTest) ToStandardWebTestOutputWithContext added in v5.31.0

func (i *StandardWebTest) ToStandardWebTestOutputWithContext(ctx context.Context) StandardWebTestOutput

type StandardWebTestArgs added in v5.31.0

type StandardWebTestArgs struct {
	// The ID of the Application Insights instance on which the WebTest operates. Changing this forces a new Application Insights Standard WebTest to be created.
	ApplicationInsightsId pulumi.StringInput
	// Purpose/user defined descriptive test for this WebTest.
	Description pulumi.StringPtrInput
	// Should the WebTest be enabled?
	Enabled pulumi.BoolPtrInput
	// Interval in seconds between test runs for this WebTest. Valid options are `300`, `600` and `900`. Defaults to `300`.
	Frequency pulumi.IntPtrInput
	// Specifies a list of where to physically run the tests from to give global coverage for accessibility of your application.
	//
	// > **Note:** [Valid options for geo locations are described here](https://docs.microsoft.com/azure/azure-monitor/app/monitor-web-app-availability#location-population-tags)
	GeoLocations pulumi.StringArrayInput
	// The Azure Region where the Application Insights Standard WebTest should exist. Changing this forces a new Application Insights Standard WebTest to be created. It needs to correlate with location of the parent resource (azurerm_application_insights)
	Location pulumi.StringPtrInput
	// The name which should be used for this Application Insights Standard WebTest. Changing this forces a new Application Insights Standard WebTest to be created.
	Name pulumi.StringPtrInput
	// A `request` block as defined below.
	Request StandardWebTestRequestInput
	// The name of the Resource Group where the Application Insights Standard WebTest should exist. Changing this forces a new Application Insights Standard WebTest to be created.
	ResourceGroupName pulumi.StringInput
	// Should the retry on WebTest failure be enabled?
	RetryEnabled pulumi.BoolPtrInput
	// A mapping of tags which should be assigned to the Application Insights Standard WebTest.
	Tags pulumi.StringMapInput
	// Seconds until this WebTest will timeout and fail. Default is `30`.
	Timeout pulumi.IntPtrInput
	// A `validationRules` block as defined below.
	ValidationRules StandardWebTestValidationRulesPtrInput
}

The set of arguments for constructing a StandardWebTest resource.

func (StandardWebTestArgs) ElementType added in v5.31.0

func (StandardWebTestArgs) ElementType() reflect.Type

type StandardWebTestArray added in v5.31.0

type StandardWebTestArray []StandardWebTestInput

func (StandardWebTestArray) ElementType added in v5.31.0

func (StandardWebTestArray) ElementType() reflect.Type

func (StandardWebTestArray) ToStandardWebTestArrayOutput added in v5.31.0

func (i StandardWebTestArray) ToStandardWebTestArrayOutput() StandardWebTestArrayOutput

func (StandardWebTestArray) ToStandardWebTestArrayOutputWithContext added in v5.31.0

func (i StandardWebTestArray) ToStandardWebTestArrayOutputWithContext(ctx context.Context) StandardWebTestArrayOutput

type StandardWebTestArrayInput added in v5.31.0

type StandardWebTestArrayInput interface {
	pulumi.Input

	ToStandardWebTestArrayOutput() StandardWebTestArrayOutput
	ToStandardWebTestArrayOutputWithContext(context.Context) StandardWebTestArrayOutput
}

StandardWebTestArrayInput is an input type that accepts StandardWebTestArray and StandardWebTestArrayOutput values. You can construct a concrete instance of `StandardWebTestArrayInput` via:

StandardWebTestArray{ StandardWebTestArgs{...} }

type StandardWebTestArrayOutput added in v5.31.0

type StandardWebTestArrayOutput struct{ *pulumi.OutputState }

func (StandardWebTestArrayOutput) ElementType added in v5.31.0

func (StandardWebTestArrayOutput) ElementType() reflect.Type

func (StandardWebTestArrayOutput) Index added in v5.31.0

func (StandardWebTestArrayOutput) ToStandardWebTestArrayOutput added in v5.31.0

func (o StandardWebTestArrayOutput) ToStandardWebTestArrayOutput() StandardWebTestArrayOutput

func (StandardWebTestArrayOutput) ToStandardWebTestArrayOutputWithContext added in v5.31.0

func (o StandardWebTestArrayOutput) ToStandardWebTestArrayOutputWithContext(ctx context.Context) StandardWebTestArrayOutput

type StandardWebTestInput added in v5.31.0

type StandardWebTestInput interface {
	pulumi.Input

	ToStandardWebTestOutput() StandardWebTestOutput
	ToStandardWebTestOutputWithContext(ctx context.Context) StandardWebTestOutput
}

type StandardWebTestMap added in v5.31.0

type StandardWebTestMap map[string]StandardWebTestInput

func (StandardWebTestMap) ElementType added in v5.31.0

func (StandardWebTestMap) ElementType() reflect.Type

func (StandardWebTestMap) ToStandardWebTestMapOutput added in v5.31.0

func (i StandardWebTestMap) ToStandardWebTestMapOutput() StandardWebTestMapOutput

func (StandardWebTestMap) ToStandardWebTestMapOutputWithContext added in v5.31.0

func (i StandardWebTestMap) ToStandardWebTestMapOutputWithContext(ctx context.Context) StandardWebTestMapOutput

type StandardWebTestMapInput added in v5.31.0

type StandardWebTestMapInput interface {
	pulumi.Input

	ToStandardWebTestMapOutput() StandardWebTestMapOutput
	ToStandardWebTestMapOutputWithContext(context.Context) StandardWebTestMapOutput
}

StandardWebTestMapInput is an input type that accepts StandardWebTestMap and StandardWebTestMapOutput values. You can construct a concrete instance of `StandardWebTestMapInput` via:

StandardWebTestMap{ "key": StandardWebTestArgs{...} }

type StandardWebTestMapOutput added in v5.31.0

type StandardWebTestMapOutput struct{ *pulumi.OutputState }

func (StandardWebTestMapOutput) ElementType added in v5.31.0

func (StandardWebTestMapOutput) ElementType() reflect.Type

func (StandardWebTestMapOutput) MapIndex added in v5.31.0

func (StandardWebTestMapOutput) ToStandardWebTestMapOutput added in v5.31.0

func (o StandardWebTestMapOutput) ToStandardWebTestMapOutput() StandardWebTestMapOutput

func (StandardWebTestMapOutput) ToStandardWebTestMapOutputWithContext added in v5.31.0

func (o StandardWebTestMapOutput) ToStandardWebTestMapOutputWithContext(ctx context.Context) StandardWebTestMapOutput

type StandardWebTestOutput added in v5.31.0

type StandardWebTestOutput struct{ *pulumi.OutputState }

func (StandardWebTestOutput) ApplicationInsightsId added in v5.31.0

func (o StandardWebTestOutput) ApplicationInsightsId() pulumi.StringOutput

The ID of the Application Insights instance on which the WebTest operates. Changing this forces a new Application Insights Standard WebTest to be created.

func (StandardWebTestOutput) Description added in v5.31.0

Purpose/user defined descriptive test for this WebTest.

func (StandardWebTestOutput) ElementType added in v5.31.0

func (StandardWebTestOutput) ElementType() reflect.Type

func (StandardWebTestOutput) Enabled added in v5.31.0

Should the WebTest be enabled?

func (StandardWebTestOutput) Frequency added in v5.31.0

Interval in seconds between test runs for this WebTest. Valid options are `300`, `600` and `900`. Defaults to `300`.

func (StandardWebTestOutput) GeoLocations added in v5.31.0

Specifies a list of where to physically run the tests from to give global coverage for accessibility of your application.

> **Note:** [Valid options for geo locations are described here](https://docs.microsoft.com/azure/azure-monitor/app/monitor-web-app-availability#location-population-tags)

func (StandardWebTestOutput) Location added in v5.31.0

The Azure Region where the Application Insights Standard WebTest should exist. Changing this forces a new Application Insights Standard WebTest to be created. It needs to correlate with location of the parent resource (azurerm_application_insights)

func (StandardWebTestOutput) Name added in v5.31.0

The name which should be used for this Application Insights Standard WebTest. Changing this forces a new Application Insights Standard WebTest to be created.

func (StandardWebTestOutput) Request added in v5.31.0

A `request` block as defined below.

func (StandardWebTestOutput) ResourceGroupName added in v5.31.0

func (o StandardWebTestOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Application Insights Standard WebTest should exist. Changing this forces a new Application Insights Standard WebTest to be created.

func (StandardWebTestOutput) RetryEnabled added in v5.31.0

func (o StandardWebTestOutput) RetryEnabled() pulumi.BoolPtrOutput

Should the retry on WebTest failure be enabled?

func (StandardWebTestOutput) SyntheticMonitorId added in v5.31.0

func (o StandardWebTestOutput) SyntheticMonitorId() pulumi.StringOutput

Unique ID of this WebTest. This is typically the same value as the Name field.

func (StandardWebTestOutput) Tags added in v5.31.0

A mapping of tags which should be assigned to the Application Insights Standard WebTest.

func (StandardWebTestOutput) Timeout added in v5.31.0

Seconds until this WebTest will timeout and fail. Default is `30`.

func (StandardWebTestOutput) ToStandardWebTestOutput added in v5.31.0

func (o StandardWebTestOutput) ToStandardWebTestOutput() StandardWebTestOutput

func (StandardWebTestOutput) ToStandardWebTestOutputWithContext added in v5.31.0

func (o StandardWebTestOutput) ToStandardWebTestOutputWithContext(ctx context.Context) StandardWebTestOutput

func (StandardWebTestOutput) ValidationRules added in v5.31.0

A `validationRules` block as defined below.

type StandardWebTestRequest added in v5.31.0

type StandardWebTestRequest struct {
	// The WebTest request body.
	Body *string `pulumi:"body"`
	// Should the following of redirects be enabled? Defaults to `true`.
	FollowRedirectsEnabled *bool `pulumi:"followRedirectsEnabled"`
	// One or more `header` blocks as defined above.
	Headers []StandardWebTestRequestHeader `pulumi:"headers"`
	// Which HTTP verb to use for the call. Options are 'GET', 'POST', 'PUT', 'PATCH', and 'DELETE'. Defaults to `GET`.
	HttpVerb *string `pulumi:"httpVerb"`
	// Should the parsing of dependend requests be enabled? Defaults to `true`.
	ParseDependentRequestsEnabled *bool `pulumi:"parseDependentRequestsEnabled"`
	// The WebTest request URL.
	Url string `pulumi:"url"`
}

type StandardWebTestRequestArgs added in v5.31.0

type StandardWebTestRequestArgs struct {
	// The WebTest request body.
	Body pulumi.StringPtrInput `pulumi:"body"`
	// Should the following of redirects be enabled? Defaults to `true`.
	FollowRedirectsEnabled pulumi.BoolPtrInput `pulumi:"followRedirectsEnabled"`
	// One or more `header` blocks as defined above.
	Headers StandardWebTestRequestHeaderArrayInput `pulumi:"headers"`
	// Which HTTP verb to use for the call. Options are 'GET', 'POST', 'PUT', 'PATCH', and 'DELETE'. Defaults to `GET`.
	HttpVerb pulumi.StringPtrInput `pulumi:"httpVerb"`
	// Should the parsing of dependend requests be enabled? Defaults to `true`.
	ParseDependentRequestsEnabled pulumi.BoolPtrInput `pulumi:"parseDependentRequestsEnabled"`
	// The WebTest request URL.
	Url pulumi.StringInput `pulumi:"url"`
}

func (StandardWebTestRequestArgs) ElementType added in v5.31.0

func (StandardWebTestRequestArgs) ElementType() reflect.Type

func (StandardWebTestRequestArgs) ToStandardWebTestRequestOutput added in v5.31.0

func (i StandardWebTestRequestArgs) ToStandardWebTestRequestOutput() StandardWebTestRequestOutput

func (StandardWebTestRequestArgs) ToStandardWebTestRequestOutputWithContext added in v5.31.0

func (i StandardWebTestRequestArgs) ToStandardWebTestRequestOutputWithContext(ctx context.Context) StandardWebTestRequestOutput

func (StandardWebTestRequestArgs) ToStandardWebTestRequestPtrOutput added in v5.31.0

func (i StandardWebTestRequestArgs) ToStandardWebTestRequestPtrOutput() StandardWebTestRequestPtrOutput

func (StandardWebTestRequestArgs) ToStandardWebTestRequestPtrOutputWithContext added in v5.31.0

func (i StandardWebTestRequestArgs) ToStandardWebTestRequestPtrOutputWithContext(ctx context.Context) StandardWebTestRequestPtrOutput

type StandardWebTestRequestHeader added in v5.31.0

type StandardWebTestRequestHeader struct {
	// The name which should be used for a header in the request.
	Name string `pulumi:"name"`
	// The value which should be used for a header in the request.
	Value string `pulumi:"value"`
}

type StandardWebTestRequestHeaderArgs added in v5.31.0

type StandardWebTestRequestHeaderArgs struct {
	// The name which should be used for a header in the request.
	Name pulumi.StringInput `pulumi:"name"`
	// The value which should be used for a header in the request.
	Value pulumi.StringInput `pulumi:"value"`
}

func (StandardWebTestRequestHeaderArgs) ElementType added in v5.31.0

func (StandardWebTestRequestHeaderArgs) ToStandardWebTestRequestHeaderOutput added in v5.31.0

func (i StandardWebTestRequestHeaderArgs) ToStandardWebTestRequestHeaderOutput() StandardWebTestRequestHeaderOutput

func (StandardWebTestRequestHeaderArgs) ToStandardWebTestRequestHeaderOutputWithContext added in v5.31.0

func (i StandardWebTestRequestHeaderArgs) ToStandardWebTestRequestHeaderOutputWithContext(ctx context.Context) StandardWebTestRequestHeaderOutput

type StandardWebTestRequestHeaderArray added in v5.31.0

type StandardWebTestRequestHeaderArray []StandardWebTestRequestHeaderInput

func (StandardWebTestRequestHeaderArray) ElementType added in v5.31.0

func (StandardWebTestRequestHeaderArray) ToStandardWebTestRequestHeaderArrayOutput added in v5.31.0

func (i StandardWebTestRequestHeaderArray) ToStandardWebTestRequestHeaderArrayOutput() StandardWebTestRequestHeaderArrayOutput

func (StandardWebTestRequestHeaderArray) ToStandardWebTestRequestHeaderArrayOutputWithContext added in v5.31.0

func (i StandardWebTestRequestHeaderArray) ToStandardWebTestRequestHeaderArrayOutputWithContext(ctx context.Context) StandardWebTestRequestHeaderArrayOutput

type StandardWebTestRequestHeaderArrayInput added in v5.31.0

type StandardWebTestRequestHeaderArrayInput interface {
	pulumi.Input

	ToStandardWebTestRequestHeaderArrayOutput() StandardWebTestRequestHeaderArrayOutput
	ToStandardWebTestRequestHeaderArrayOutputWithContext(context.Context) StandardWebTestRequestHeaderArrayOutput
}

StandardWebTestRequestHeaderArrayInput is an input type that accepts StandardWebTestRequestHeaderArray and StandardWebTestRequestHeaderArrayOutput values. You can construct a concrete instance of `StandardWebTestRequestHeaderArrayInput` via:

StandardWebTestRequestHeaderArray{ StandardWebTestRequestHeaderArgs{...} }

type StandardWebTestRequestHeaderArrayOutput added in v5.31.0

type StandardWebTestRequestHeaderArrayOutput struct{ *pulumi.OutputState }

func (StandardWebTestRequestHeaderArrayOutput) ElementType added in v5.31.0

func (StandardWebTestRequestHeaderArrayOutput) Index added in v5.31.0

func (StandardWebTestRequestHeaderArrayOutput) ToStandardWebTestRequestHeaderArrayOutput added in v5.31.0

func (o StandardWebTestRequestHeaderArrayOutput) ToStandardWebTestRequestHeaderArrayOutput() StandardWebTestRequestHeaderArrayOutput

func (StandardWebTestRequestHeaderArrayOutput) ToStandardWebTestRequestHeaderArrayOutputWithContext added in v5.31.0

func (o StandardWebTestRequestHeaderArrayOutput) ToStandardWebTestRequestHeaderArrayOutputWithContext(ctx context.Context) StandardWebTestRequestHeaderArrayOutput

type StandardWebTestRequestHeaderInput added in v5.31.0

type StandardWebTestRequestHeaderInput interface {
	pulumi.Input

	ToStandardWebTestRequestHeaderOutput() StandardWebTestRequestHeaderOutput
	ToStandardWebTestRequestHeaderOutputWithContext(context.Context) StandardWebTestRequestHeaderOutput
}

StandardWebTestRequestHeaderInput is an input type that accepts StandardWebTestRequestHeaderArgs and StandardWebTestRequestHeaderOutput values. You can construct a concrete instance of `StandardWebTestRequestHeaderInput` via:

StandardWebTestRequestHeaderArgs{...}

type StandardWebTestRequestHeaderOutput added in v5.31.0

type StandardWebTestRequestHeaderOutput struct{ *pulumi.OutputState }

func (StandardWebTestRequestHeaderOutput) ElementType added in v5.31.0

func (StandardWebTestRequestHeaderOutput) Name added in v5.31.0

The name which should be used for a header in the request.

func (StandardWebTestRequestHeaderOutput) ToStandardWebTestRequestHeaderOutput added in v5.31.0

func (o StandardWebTestRequestHeaderOutput) ToStandardWebTestRequestHeaderOutput() StandardWebTestRequestHeaderOutput

func (StandardWebTestRequestHeaderOutput) ToStandardWebTestRequestHeaderOutputWithContext added in v5.31.0

func (o StandardWebTestRequestHeaderOutput) ToStandardWebTestRequestHeaderOutputWithContext(ctx context.Context) StandardWebTestRequestHeaderOutput

func (StandardWebTestRequestHeaderOutput) Value added in v5.31.0

The value which should be used for a header in the request.

type StandardWebTestRequestInput added in v5.31.0

type StandardWebTestRequestInput interface {
	pulumi.Input

	ToStandardWebTestRequestOutput() StandardWebTestRequestOutput
	ToStandardWebTestRequestOutputWithContext(context.Context) StandardWebTestRequestOutput
}

StandardWebTestRequestInput is an input type that accepts StandardWebTestRequestArgs and StandardWebTestRequestOutput values. You can construct a concrete instance of `StandardWebTestRequestInput` via:

StandardWebTestRequestArgs{...}

type StandardWebTestRequestOutput added in v5.31.0

type StandardWebTestRequestOutput struct{ *pulumi.OutputState }

func (StandardWebTestRequestOutput) Body added in v5.31.0

The WebTest request body.

func (StandardWebTestRequestOutput) ElementType added in v5.31.0

func (StandardWebTestRequestOutput) FollowRedirectsEnabled added in v5.31.0

func (o StandardWebTestRequestOutput) FollowRedirectsEnabled() pulumi.BoolPtrOutput

Should the following of redirects be enabled? Defaults to `true`.

func (StandardWebTestRequestOutput) Headers added in v5.31.0

One or more `header` blocks as defined above.

func (StandardWebTestRequestOutput) HttpVerb added in v5.31.0

Which HTTP verb to use for the call. Options are 'GET', 'POST', 'PUT', 'PATCH', and 'DELETE'. Defaults to `GET`.

func (StandardWebTestRequestOutput) ParseDependentRequestsEnabled added in v5.31.0

func (o StandardWebTestRequestOutput) ParseDependentRequestsEnabled() pulumi.BoolPtrOutput

Should the parsing of dependend requests be enabled? Defaults to `true`.

func (StandardWebTestRequestOutput) ToStandardWebTestRequestOutput added in v5.31.0

func (o StandardWebTestRequestOutput) ToStandardWebTestRequestOutput() StandardWebTestRequestOutput

func (StandardWebTestRequestOutput) ToStandardWebTestRequestOutputWithContext added in v5.31.0

func (o StandardWebTestRequestOutput) ToStandardWebTestRequestOutputWithContext(ctx context.Context) StandardWebTestRequestOutput

func (StandardWebTestRequestOutput) ToStandardWebTestRequestPtrOutput added in v5.31.0

func (o StandardWebTestRequestOutput) ToStandardWebTestRequestPtrOutput() StandardWebTestRequestPtrOutput

func (StandardWebTestRequestOutput) ToStandardWebTestRequestPtrOutputWithContext added in v5.31.0

func (o StandardWebTestRequestOutput) ToStandardWebTestRequestPtrOutputWithContext(ctx context.Context) StandardWebTestRequestPtrOutput

func (StandardWebTestRequestOutput) Url added in v5.31.0

The WebTest request URL.

type StandardWebTestRequestPtrInput added in v5.31.0

type StandardWebTestRequestPtrInput interface {
	pulumi.Input

	ToStandardWebTestRequestPtrOutput() StandardWebTestRequestPtrOutput
	ToStandardWebTestRequestPtrOutputWithContext(context.Context) StandardWebTestRequestPtrOutput
}

StandardWebTestRequestPtrInput is an input type that accepts StandardWebTestRequestArgs, StandardWebTestRequestPtr and StandardWebTestRequestPtrOutput values. You can construct a concrete instance of `StandardWebTestRequestPtrInput` via:

        StandardWebTestRequestArgs{...}

or:

        nil

func StandardWebTestRequestPtr added in v5.31.0

func StandardWebTestRequestPtr(v *StandardWebTestRequestArgs) StandardWebTestRequestPtrInput

type StandardWebTestRequestPtrOutput added in v5.31.0

type StandardWebTestRequestPtrOutput struct{ *pulumi.OutputState }

func (StandardWebTestRequestPtrOutput) Body added in v5.31.0

The WebTest request body.

func (StandardWebTestRequestPtrOutput) Elem added in v5.31.0

func (StandardWebTestRequestPtrOutput) ElementType added in v5.31.0

func (StandardWebTestRequestPtrOutput) FollowRedirectsEnabled added in v5.31.0

func (o StandardWebTestRequestPtrOutput) FollowRedirectsEnabled() pulumi.BoolPtrOutput

Should the following of redirects be enabled? Defaults to `true`.

func (StandardWebTestRequestPtrOutput) Headers added in v5.31.0

One or more `header` blocks as defined above.

func (StandardWebTestRequestPtrOutput) HttpVerb added in v5.31.0

Which HTTP verb to use for the call. Options are 'GET', 'POST', 'PUT', 'PATCH', and 'DELETE'. Defaults to `GET`.

func (StandardWebTestRequestPtrOutput) ParseDependentRequestsEnabled added in v5.31.0

func (o StandardWebTestRequestPtrOutput) ParseDependentRequestsEnabled() pulumi.BoolPtrOutput

Should the parsing of dependend requests be enabled? Defaults to `true`.

func (StandardWebTestRequestPtrOutput) ToStandardWebTestRequestPtrOutput added in v5.31.0

func (o StandardWebTestRequestPtrOutput) ToStandardWebTestRequestPtrOutput() StandardWebTestRequestPtrOutput

func (StandardWebTestRequestPtrOutput) ToStandardWebTestRequestPtrOutputWithContext added in v5.31.0

func (o StandardWebTestRequestPtrOutput) ToStandardWebTestRequestPtrOutputWithContext(ctx context.Context) StandardWebTestRequestPtrOutput

func (StandardWebTestRequestPtrOutput) Url added in v5.31.0

The WebTest request URL.

type StandardWebTestState added in v5.31.0

type StandardWebTestState struct {
	// The ID of the Application Insights instance on which the WebTest operates. Changing this forces a new Application Insights Standard WebTest to be created.
	ApplicationInsightsId pulumi.StringPtrInput
	// Purpose/user defined descriptive test for this WebTest.
	Description pulumi.StringPtrInput
	// Should the WebTest be enabled?
	Enabled pulumi.BoolPtrInput
	// Interval in seconds between test runs for this WebTest. Valid options are `300`, `600` and `900`. Defaults to `300`.
	Frequency pulumi.IntPtrInput
	// Specifies a list of where to physically run the tests from to give global coverage for accessibility of your application.
	//
	// > **Note:** [Valid options for geo locations are described here](https://docs.microsoft.com/azure/azure-monitor/app/monitor-web-app-availability#location-population-tags)
	GeoLocations pulumi.StringArrayInput
	// The Azure Region where the Application Insights Standard WebTest should exist. Changing this forces a new Application Insights Standard WebTest to be created. It needs to correlate with location of the parent resource (azurerm_application_insights)
	Location pulumi.StringPtrInput
	// The name which should be used for this Application Insights Standard WebTest. Changing this forces a new Application Insights Standard WebTest to be created.
	Name pulumi.StringPtrInput
	// A `request` block as defined below.
	Request StandardWebTestRequestPtrInput
	// The name of the Resource Group where the Application Insights Standard WebTest should exist. Changing this forces a new Application Insights Standard WebTest to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Should the retry on WebTest failure be enabled?
	RetryEnabled pulumi.BoolPtrInput
	// Unique ID of this WebTest. This is typically the same value as the Name field.
	SyntheticMonitorId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Application Insights Standard WebTest.
	Tags pulumi.StringMapInput
	// Seconds until this WebTest will timeout and fail. Default is `30`.
	Timeout pulumi.IntPtrInput
	// A `validationRules` block as defined below.
	ValidationRules StandardWebTestValidationRulesPtrInput
}

func (StandardWebTestState) ElementType added in v5.31.0

func (StandardWebTestState) ElementType() reflect.Type

type StandardWebTestValidationRules added in v5.31.0

type StandardWebTestValidationRules struct {
	// A `content` block as defined above.
	Content *StandardWebTestValidationRulesContent `pulumi:"content"`
	// The expected status code of the response. Default is '200', '0' means 'response code < 400'
	ExpectedStatusCode *int `pulumi:"expectedStatusCode"`
	// The number of days of SSL certificate validity remaining for the checked endpoint. If the certificate has a shorter remaining lifetime left, the test will fail. This number should be between 1 and 365.
	SslCertRemainingLifetime *int `pulumi:"sslCertRemainingLifetime"`
	// Should the SSL check be enabled?
	SslCheckEnabled *bool `pulumi:"sslCheckEnabled"`
}

type StandardWebTestValidationRulesArgs added in v5.31.0

type StandardWebTestValidationRulesArgs struct {
	// A `content` block as defined above.
	Content StandardWebTestValidationRulesContentPtrInput `pulumi:"content"`
	// The expected status code of the response. Default is '200', '0' means 'response code < 400'
	ExpectedStatusCode pulumi.IntPtrInput `pulumi:"expectedStatusCode"`
	// The number of days of SSL certificate validity remaining for the checked endpoint. If the certificate has a shorter remaining lifetime left, the test will fail. This number should be between 1 and 365.
	SslCertRemainingLifetime pulumi.IntPtrInput `pulumi:"sslCertRemainingLifetime"`
	// Should the SSL check be enabled?
	SslCheckEnabled pulumi.BoolPtrInput `pulumi:"sslCheckEnabled"`
}

func (StandardWebTestValidationRulesArgs) ElementType added in v5.31.0

func (StandardWebTestValidationRulesArgs) ToStandardWebTestValidationRulesOutput added in v5.31.0

func (i StandardWebTestValidationRulesArgs) ToStandardWebTestValidationRulesOutput() StandardWebTestValidationRulesOutput

func (StandardWebTestValidationRulesArgs) ToStandardWebTestValidationRulesOutputWithContext added in v5.31.0

func (i StandardWebTestValidationRulesArgs) ToStandardWebTestValidationRulesOutputWithContext(ctx context.Context) StandardWebTestValidationRulesOutput

func (StandardWebTestValidationRulesArgs) ToStandardWebTestValidationRulesPtrOutput added in v5.31.0

func (i StandardWebTestValidationRulesArgs) ToStandardWebTestValidationRulesPtrOutput() StandardWebTestValidationRulesPtrOutput

func (StandardWebTestValidationRulesArgs) ToStandardWebTestValidationRulesPtrOutputWithContext added in v5.31.0

func (i StandardWebTestValidationRulesArgs) ToStandardWebTestValidationRulesPtrOutputWithContext(ctx context.Context) StandardWebTestValidationRulesPtrOutput

type StandardWebTestValidationRulesContent added in v5.31.0

type StandardWebTestValidationRulesContent struct {
	// A string value containing the content to match on.
	ContentMatch string `pulumi:"contentMatch"`
	// Ignore the casing in the `contentMatch` value.
	IgnoreCase *bool `pulumi:"ignoreCase"`
	// If the content of `contentMatch` is found, pass the test. If set to `false`, the WebTest is failing if the content of `contentMatch` is found.
	PassIfTextFound *bool `pulumi:"passIfTextFound"`
}

type StandardWebTestValidationRulesContentArgs added in v5.31.0

type StandardWebTestValidationRulesContentArgs struct {
	// A string value containing the content to match on.
	ContentMatch pulumi.StringInput `pulumi:"contentMatch"`
	// Ignore the casing in the `contentMatch` value.
	IgnoreCase pulumi.BoolPtrInput `pulumi:"ignoreCase"`
	// If the content of `contentMatch` is found, pass the test. If set to `false`, the WebTest is failing if the content of `contentMatch` is found.
	PassIfTextFound pulumi.BoolPtrInput `pulumi:"passIfTextFound"`
}

func (StandardWebTestValidationRulesContentArgs) ElementType added in v5.31.0

func (StandardWebTestValidationRulesContentArgs) ToStandardWebTestValidationRulesContentOutput added in v5.31.0

func (i StandardWebTestValidationRulesContentArgs) ToStandardWebTestValidationRulesContentOutput() StandardWebTestValidationRulesContentOutput

func (StandardWebTestValidationRulesContentArgs) ToStandardWebTestValidationRulesContentOutputWithContext added in v5.31.0

func (i StandardWebTestValidationRulesContentArgs) ToStandardWebTestValidationRulesContentOutputWithContext(ctx context.Context) StandardWebTestValidationRulesContentOutput

func (StandardWebTestValidationRulesContentArgs) ToStandardWebTestValidationRulesContentPtrOutput added in v5.31.0

func (i StandardWebTestValidationRulesContentArgs) ToStandardWebTestValidationRulesContentPtrOutput() StandardWebTestValidationRulesContentPtrOutput

func (StandardWebTestValidationRulesContentArgs) ToStandardWebTestValidationRulesContentPtrOutputWithContext added in v5.31.0

func (i StandardWebTestValidationRulesContentArgs) ToStandardWebTestValidationRulesContentPtrOutputWithContext(ctx context.Context) StandardWebTestValidationRulesContentPtrOutput

type StandardWebTestValidationRulesContentInput added in v5.31.0

type StandardWebTestValidationRulesContentInput interface {
	pulumi.Input

	ToStandardWebTestValidationRulesContentOutput() StandardWebTestValidationRulesContentOutput
	ToStandardWebTestValidationRulesContentOutputWithContext(context.Context) StandardWebTestValidationRulesContentOutput
}

StandardWebTestValidationRulesContentInput is an input type that accepts StandardWebTestValidationRulesContentArgs and StandardWebTestValidationRulesContentOutput values. You can construct a concrete instance of `StandardWebTestValidationRulesContentInput` via:

StandardWebTestValidationRulesContentArgs{...}

type StandardWebTestValidationRulesContentOutput added in v5.31.0

type StandardWebTestValidationRulesContentOutput struct{ *pulumi.OutputState }

func (StandardWebTestValidationRulesContentOutput) ContentMatch added in v5.31.0

A string value containing the content to match on.

func (StandardWebTestValidationRulesContentOutput) ElementType added in v5.31.0

func (StandardWebTestValidationRulesContentOutput) IgnoreCase added in v5.31.0

Ignore the casing in the `contentMatch` value.

func (StandardWebTestValidationRulesContentOutput) PassIfTextFound added in v5.31.0

If the content of `contentMatch` is found, pass the test. If set to `false`, the WebTest is failing if the content of `contentMatch` is found.

func (StandardWebTestValidationRulesContentOutput) ToStandardWebTestValidationRulesContentOutput added in v5.31.0

func (o StandardWebTestValidationRulesContentOutput) ToStandardWebTestValidationRulesContentOutput() StandardWebTestValidationRulesContentOutput

func (StandardWebTestValidationRulesContentOutput) ToStandardWebTestValidationRulesContentOutputWithContext added in v5.31.0

func (o StandardWebTestValidationRulesContentOutput) ToStandardWebTestValidationRulesContentOutputWithContext(ctx context.Context) StandardWebTestValidationRulesContentOutput

func (StandardWebTestValidationRulesContentOutput) ToStandardWebTestValidationRulesContentPtrOutput added in v5.31.0

func (o StandardWebTestValidationRulesContentOutput) ToStandardWebTestValidationRulesContentPtrOutput() StandardWebTestValidationRulesContentPtrOutput

func (StandardWebTestValidationRulesContentOutput) ToStandardWebTestValidationRulesContentPtrOutputWithContext added in v5.31.0

func (o StandardWebTestValidationRulesContentOutput) ToStandardWebTestValidationRulesContentPtrOutputWithContext(ctx context.Context) StandardWebTestValidationRulesContentPtrOutput

type StandardWebTestValidationRulesContentPtrInput added in v5.31.0

type StandardWebTestValidationRulesContentPtrInput interface {
	pulumi.Input

	ToStandardWebTestValidationRulesContentPtrOutput() StandardWebTestValidationRulesContentPtrOutput
	ToStandardWebTestValidationRulesContentPtrOutputWithContext(context.Context) StandardWebTestValidationRulesContentPtrOutput
}

StandardWebTestValidationRulesContentPtrInput is an input type that accepts StandardWebTestValidationRulesContentArgs, StandardWebTestValidationRulesContentPtr and StandardWebTestValidationRulesContentPtrOutput values. You can construct a concrete instance of `StandardWebTestValidationRulesContentPtrInput` via:

        StandardWebTestValidationRulesContentArgs{...}

or:

        nil

type StandardWebTestValidationRulesContentPtrOutput added in v5.31.0

type StandardWebTestValidationRulesContentPtrOutput struct{ *pulumi.OutputState }

func (StandardWebTestValidationRulesContentPtrOutput) ContentMatch added in v5.31.0

A string value containing the content to match on.

func (StandardWebTestValidationRulesContentPtrOutput) Elem added in v5.31.0

func (StandardWebTestValidationRulesContentPtrOutput) ElementType added in v5.31.0

func (StandardWebTestValidationRulesContentPtrOutput) IgnoreCase added in v5.31.0

Ignore the casing in the `contentMatch` value.

func (StandardWebTestValidationRulesContentPtrOutput) PassIfTextFound added in v5.31.0

If the content of `contentMatch` is found, pass the test. If set to `false`, the WebTest is failing if the content of `contentMatch` is found.

func (StandardWebTestValidationRulesContentPtrOutput) ToStandardWebTestValidationRulesContentPtrOutput added in v5.31.0

func (o StandardWebTestValidationRulesContentPtrOutput) ToStandardWebTestValidationRulesContentPtrOutput() StandardWebTestValidationRulesContentPtrOutput

func (StandardWebTestValidationRulesContentPtrOutput) ToStandardWebTestValidationRulesContentPtrOutputWithContext added in v5.31.0

func (o StandardWebTestValidationRulesContentPtrOutput) ToStandardWebTestValidationRulesContentPtrOutputWithContext(ctx context.Context) StandardWebTestValidationRulesContentPtrOutput

type StandardWebTestValidationRulesInput added in v5.31.0

type StandardWebTestValidationRulesInput interface {
	pulumi.Input

	ToStandardWebTestValidationRulesOutput() StandardWebTestValidationRulesOutput
	ToStandardWebTestValidationRulesOutputWithContext(context.Context) StandardWebTestValidationRulesOutput
}

StandardWebTestValidationRulesInput is an input type that accepts StandardWebTestValidationRulesArgs and StandardWebTestValidationRulesOutput values. You can construct a concrete instance of `StandardWebTestValidationRulesInput` via:

StandardWebTestValidationRulesArgs{...}

type StandardWebTestValidationRulesOutput added in v5.31.0

type StandardWebTestValidationRulesOutput struct{ *pulumi.OutputState }

func (StandardWebTestValidationRulesOutput) Content added in v5.31.0

A `content` block as defined above.

func (StandardWebTestValidationRulesOutput) ElementType added in v5.31.0

func (StandardWebTestValidationRulesOutput) ExpectedStatusCode added in v5.31.0

The expected status code of the response. Default is '200', '0' means 'response code < 400'

func (StandardWebTestValidationRulesOutput) SslCertRemainingLifetime added in v5.31.0

func (o StandardWebTestValidationRulesOutput) SslCertRemainingLifetime() pulumi.IntPtrOutput

The number of days of SSL certificate validity remaining for the checked endpoint. If the certificate has a shorter remaining lifetime left, the test will fail. This number should be between 1 and 365.

func (StandardWebTestValidationRulesOutput) SslCheckEnabled added in v5.31.0

Should the SSL check be enabled?

func (StandardWebTestValidationRulesOutput) ToStandardWebTestValidationRulesOutput added in v5.31.0

func (o StandardWebTestValidationRulesOutput) ToStandardWebTestValidationRulesOutput() StandardWebTestValidationRulesOutput

func (StandardWebTestValidationRulesOutput) ToStandardWebTestValidationRulesOutputWithContext added in v5.31.0

func (o StandardWebTestValidationRulesOutput) ToStandardWebTestValidationRulesOutputWithContext(ctx context.Context) StandardWebTestValidationRulesOutput

func (StandardWebTestValidationRulesOutput) ToStandardWebTestValidationRulesPtrOutput added in v5.31.0

func (o StandardWebTestValidationRulesOutput) ToStandardWebTestValidationRulesPtrOutput() StandardWebTestValidationRulesPtrOutput

func (StandardWebTestValidationRulesOutput) ToStandardWebTestValidationRulesPtrOutputWithContext added in v5.31.0

func (o StandardWebTestValidationRulesOutput) ToStandardWebTestValidationRulesPtrOutputWithContext(ctx context.Context) StandardWebTestValidationRulesPtrOutput

type StandardWebTestValidationRulesPtrInput added in v5.31.0

type StandardWebTestValidationRulesPtrInput interface {
	pulumi.Input

	ToStandardWebTestValidationRulesPtrOutput() StandardWebTestValidationRulesPtrOutput
	ToStandardWebTestValidationRulesPtrOutputWithContext(context.Context) StandardWebTestValidationRulesPtrOutput
}

StandardWebTestValidationRulesPtrInput is an input type that accepts StandardWebTestValidationRulesArgs, StandardWebTestValidationRulesPtr and StandardWebTestValidationRulesPtrOutput values. You can construct a concrete instance of `StandardWebTestValidationRulesPtrInput` via:

        StandardWebTestValidationRulesArgs{...}

or:

        nil

type StandardWebTestValidationRulesPtrOutput added in v5.31.0

type StandardWebTestValidationRulesPtrOutput struct{ *pulumi.OutputState }

func (StandardWebTestValidationRulesPtrOutput) Content added in v5.31.0

A `content` block as defined above.

func (StandardWebTestValidationRulesPtrOutput) Elem added in v5.31.0

func (StandardWebTestValidationRulesPtrOutput) ElementType added in v5.31.0

func (StandardWebTestValidationRulesPtrOutput) ExpectedStatusCode added in v5.31.0

The expected status code of the response. Default is '200', '0' means 'response code < 400'

func (StandardWebTestValidationRulesPtrOutput) SslCertRemainingLifetime added in v5.31.0

func (o StandardWebTestValidationRulesPtrOutput) SslCertRemainingLifetime() pulumi.IntPtrOutput

The number of days of SSL certificate validity remaining for the checked endpoint. If the certificate has a shorter remaining lifetime left, the test will fail. This number should be between 1 and 365.

func (StandardWebTestValidationRulesPtrOutput) SslCheckEnabled added in v5.31.0

Should the SSL check be enabled?

func (StandardWebTestValidationRulesPtrOutput) ToStandardWebTestValidationRulesPtrOutput added in v5.31.0

func (o StandardWebTestValidationRulesPtrOutput) ToStandardWebTestValidationRulesPtrOutput() StandardWebTestValidationRulesPtrOutput

func (StandardWebTestValidationRulesPtrOutput) ToStandardWebTestValidationRulesPtrOutputWithContext added in v5.31.0

func (o StandardWebTestValidationRulesPtrOutput) ToStandardWebTestValidationRulesPtrOutputWithContext(ctx context.Context) StandardWebTestValidationRulesPtrOutput

type WebTest

type WebTest struct {
	pulumi.CustomResourceState

	// The ID of the Application Insights component on which the WebTest operates. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringOutput `pulumi:"applicationInsightsId"`
	// An XML configuration specification for a WebTest ([see here for more information](https://docs.microsoft.com/rest/api/application-insights/webtests/createorupdate/)).
	Configuration pulumi.StringOutput `pulumi:"configuration"`
	// Purpose/user defined descriptive test for this WebTest.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Is the test actively being monitored.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Interval in seconds between test runs for this WebTest. Valid options are `300`, `600` and `900`. Defaults to `300`.
	Frequency pulumi.IntPtrOutput `pulumi:"frequency"`
	// A list of where to physically run the tests from to give global coverage for accessibility of your application.
	//
	// > **Note:** [Valid options for geo locations are described here](https://docs.microsoft.com/azure/azure-monitor/app/monitor-web-app-availability#location-population-tags)
	GeoLocations pulumi.StringArrayOutput `pulumi:"geoLocations"`
	// The kind of web test that this web test watches. Choices are `ping` and `multistep`. Changing this forces a new resource to be created.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. It needs to correlate with location of parent resource (azurerm_application_insights).
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Application Insights WebTest. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Application Insights WebTest. Changing this forces a new resource
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Allow for retries should this WebTest fail.
	RetryEnabled       pulumi.BoolPtrOutput `pulumi:"retryEnabled"`
	SyntheticMonitorId pulumi.StringOutput  `pulumi:"syntheticMonitorId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Seconds until this WebTest will timeout and fail. Default is `30`.
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
}

Manages an Application Insights WebTest.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleWebTest, err := appinsights.NewWebTest(ctx, "exampleWebTest", &appinsights.WebTestArgs{
			Location:              exampleInsights.Location,
			ResourceGroupName:     exampleResourceGroup.Name,
			ApplicationInsightsId: exampleInsights.ID(),
			Kind:                  pulumi.String("ping"),
			Frequency:             pulumi.Int(300),
			Timeout:               pulumi.Int(60),
			Enabled:               pulumi.Bool(true),
			GeoLocations: pulumi.StringArray{
				pulumi.String("us-tx-sn1-azr"),
				pulumi.String("us-il-ch1-azr"),
			},
			Configuration: pulumi.String(`<WebTest Name="WebTest1" Id="ABD48585-0831-40CB-9069-682EA6BB3583" Enabled="True" CssProjectStructure="" CssIteration="" Timeout="0" WorkItemIds="" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010" Description="" CredentialUserName="" CredentialPassword="" PreAuthenticate="True" Proxy="default" StopOnError="False" RecordedResultFile="" ResultsLocale="">
  <Items>
    <Request Method="GET" Guid="a5f10126-e4cd-570d-961c-cea43999a200" Version="1.1" Url="http://microsoft.com" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="200" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" />
  </Items>

</WebTest> `),

		})
		if err != nil {
			return err
		}
		ctx.Export("webtestId", exampleWebTest.ID())
		ctx.Export("webtestsSyntheticId", exampleWebTest.SyntheticMonitorId)
		return nil
	})
}

```

## Import

Application Insights Web Tests can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:appinsights/webTest:WebTest my_test /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Insights/webTests/my_test

```

func GetWebTest

func GetWebTest(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WebTestState, opts ...pulumi.ResourceOption) (*WebTest, error)

GetWebTest gets an existing WebTest 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 NewWebTest

func NewWebTest(ctx *pulumi.Context,
	name string, args *WebTestArgs, opts ...pulumi.ResourceOption) (*WebTest, error)

NewWebTest registers a new resource with the given unique name, arguments, and options.

func (*WebTest) ElementType

func (*WebTest) ElementType() reflect.Type

func (*WebTest) ToWebTestOutput

func (i *WebTest) ToWebTestOutput() WebTestOutput

func (*WebTest) ToWebTestOutputWithContext

func (i *WebTest) ToWebTestOutputWithContext(ctx context.Context) WebTestOutput

type WebTestArgs

type WebTestArgs struct {
	// The ID of the Application Insights component on which the WebTest operates. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringInput
	// An XML configuration specification for a WebTest ([see here for more information](https://docs.microsoft.com/rest/api/application-insights/webtests/createorupdate/)).
	Configuration pulumi.StringInput
	// Purpose/user defined descriptive test for this WebTest.
	Description pulumi.StringPtrInput
	// Is the test actively being monitored.
	Enabled pulumi.BoolPtrInput
	// Interval in seconds between test runs for this WebTest. Valid options are `300`, `600` and `900`. Defaults to `300`.
	Frequency pulumi.IntPtrInput
	// A list of where to physically run the tests from to give global coverage for accessibility of your application.
	//
	// > **Note:** [Valid options for geo locations are described here](https://docs.microsoft.com/azure/azure-monitor/app/monitor-web-app-availability#location-population-tags)
	GeoLocations pulumi.StringArrayInput
	// The kind of web test that this web test watches. Choices are `ping` and `multistep`. Changing this forces a new resource to be created.
	Kind pulumi.StringInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. It needs to correlate with location of parent resource (azurerm_application_insights).
	Location pulumi.StringPtrInput
	// Specifies the name of the Application Insights WebTest. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Application Insights WebTest. Changing this forces a new resource
	ResourceGroupName pulumi.StringInput
	// Allow for retries should this WebTest fail.
	RetryEnabled pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Seconds until this WebTest will timeout and fail. Default is `30`.
	Timeout pulumi.IntPtrInput
}

The set of arguments for constructing a WebTest resource.

func (WebTestArgs) ElementType

func (WebTestArgs) ElementType() reflect.Type

type WebTestArray

type WebTestArray []WebTestInput

func (WebTestArray) ElementType

func (WebTestArray) ElementType() reflect.Type

func (WebTestArray) ToWebTestArrayOutput

func (i WebTestArray) ToWebTestArrayOutput() WebTestArrayOutput

func (WebTestArray) ToWebTestArrayOutputWithContext

func (i WebTestArray) ToWebTestArrayOutputWithContext(ctx context.Context) WebTestArrayOutput

type WebTestArrayInput

type WebTestArrayInput interface {
	pulumi.Input

	ToWebTestArrayOutput() WebTestArrayOutput
	ToWebTestArrayOutputWithContext(context.Context) WebTestArrayOutput
}

WebTestArrayInput is an input type that accepts WebTestArray and WebTestArrayOutput values. You can construct a concrete instance of `WebTestArrayInput` via:

WebTestArray{ WebTestArgs{...} }

type WebTestArrayOutput

type WebTestArrayOutput struct{ *pulumi.OutputState }

func (WebTestArrayOutput) ElementType

func (WebTestArrayOutput) ElementType() reflect.Type

func (WebTestArrayOutput) Index

func (WebTestArrayOutput) ToWebTestArrayOutput

func (o WebTestArrayOutput) ToWebTestArrayOutput() WebTestArrayOutput

func (WebTestArrayOutput) ToWebTestArrayOutputWithContext

func (o WebTestArrayOutput) ToWebTestArrayOutputWithContext(ctx context.Context) WebTestArrayOutput

type WebTestInput

type WebTestInput interface {
	pulumi.Input

	ToWebTestOutput() WebTestOutput
	ToWebTestOutputWithContext(ctx context.Context) WebTestOutput
}

type WebTestMap

type WebTestMap map[string]WebTestInput

func (WebTestMap) ElementType

func (WebTestMap) ElementType() reflect.Type

func (WebTestMap) ToWebTestMapOutput

func (i WebTestMap) ToWebTestMapOutput() WebTestMapOutput

func (WebTestMap) ToWebTestMapOutputWithContext

func (i WebTestMap) ToWebTestMapOutputWithContext(ctx context.Context) WebTestMapOutput

type WebTestMapInput

type WebTestMapInput interface {
	pulumi.Input

	ToWebTestMapOutput() WebTestMapOutput
	ToWebTestMapOutputWithContext(context.Context) WebTestMapOutput
}

WebTestMapInput is an input type that accepts WebTestMap and WebTestMapOutput values. You can construct a concrete instance of `WebTestMapInput` via:

WebTestMap{ "key": WebTestArgs{...} }

type WebTestMapOutput

type WebTestMapOutput struct{ *pulumi.OutputState }

func (WebTestMapOutput) ElementType

func (WebTestMapOutput) ElementType() reflect.Type

func (WebTestMapOutput) MapIndex

func (WebTestMapOutput) ToWebTestMapOutput

func (o WebTestMapOutput) ToWebTestMapOutput() WebTestMapOutput

func (WebTestMapOutput) ToWebTestMapOutputWithContext

func (o WebTestMapOutput) ToWebTestMapOutputWithContext(ctx context.Context) WebTestMapOutput

type WebTestOutput

type WebTestOutput struct{ *pulumi.OutputState }

func (WebTestOutput) ApplicationInsightsId added in v5.5.0

func (o WebTestOutput) ApplicationInsightsId() pulumi.StringOutput

The ID of the Application Insights component on which the WebTest operates. Changing this forces a new resource to be created.

func (WebTestOutput) Configuration added in v5.5.0

func (o WebTestOutput) Configuration() pulumi.StringOutput

An XML configuration specification for a WebTest ([see here for more information](https://docs.microsoft.com/rest/api/application-insights/webtests/createorupdate/)).

func (WebTestOutput) Description added in v5.5.0

func (o WebTestOutput) Description() pulumi.StringPtrOutput

Purpose/user defined descriptive test for this WebTest.

func (WebTestOutput) ElementType

func (WebTestOutput) ElementType() reflect.Type

func (WebTestOutput) Enabled added in v5.5.0

func (o WebTestOutput) Enabled() pulumi.BoolPtrOutput

Is the test actively being monitored.

func (WebTestOutput) Frequency added in v5.5.0

func (o WebTestOutput) Frequency() pulumi.IntPtrOutput

Interval in seconds between test runs for this WebTest. Valid options are `300`, `600` and `900`. Defaults to `300`.

func (WebTestOutput) GeoLocations added in v5.5.0

func (o WebTestOutput) GeoLocations() pulumi.StringArrayOutput

A list of where to physically run the tests from to give global coverage for accessibility of your application.

> **Note:** [Valid options for geo locations are described here](https://docs.microsoft.com/azure/azure-monitor/app/monitor-web-app-availability#location-population-tags)

func (WebTestOutput) Kind added in v5.5.0

The kind of web test that this web test watches. Choices are `ping` and `multistep`. Changing this forces a new resource to be created.

func (WebTestOutput) Location added in v5.5.0

func (o WebTestOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. It needs to correlate with location of parent resource (azurerm_application_insights).

func (WebTestOutput) Name added in v5.5.0

Specifies the name of the Application Insights WebTest. Changing this forces a new resource to be created.

func (WebTestOutput) ResourceGroupName added in v5.5.0

func (o WebTestOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Application Insights WebTest. Changing this forces a new resource

func (WebTestOutput) RetryEnabled added in v5.5.0

func (o WebTestOutput) RetryEnabled() pulumi.BoolPtrOutput

Allow for retries should this WebTest fail.

func (WebTestOutput) SyntheticMonitorId added in v5.5.0

func (o WebTestOutput) SyntheticMonitorId() pulumi.StringOutput

func (WebTestOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

func (WebTestOutput) Timeout added in v5.5.0

func (o WebTestOutput) Timeout() pulumi.IntPtrOutput

Seconds until this WebTest will timeout and fail. Default is `30`.

func (WebTestOutput) ToWebTestOutput

func (o WebTestOutput) ToWebTestOutput() WebTestOutput

func (WebTestOutput) ToWebTestOutputWithContext

func (o WebTestOutput) ToWebTestOutputWithContext(ctx context.Context) WebTestOutput

type WebTestState

type WebTestState struct {
	// The ID of the Application Insights component on which the WebTest operates. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringPtrInput
	// An XML configuration specification for a WebTest ([see here for more information](https://docs.microsoft.com/rest/api/application-insights/webtests/createorupdate/)).
	Configuration pulumi.StringPtrInput
	// Purpose/user defined descriptive test for this WebTest.
	Description pulumi.StringPtrInput
	// Is the test actively being monitored.
	Enabled pulumi.BoolPtrInput
	// Interval in seconds between test runs for this WebTest. Valid options are `300`, `600` and `900`. Defaults to `300`.
	Frequency pulumi.IntPtrInput
	// A list of where to physically run the tests from to give global coverage for accessibility of your application.
	//
	// > **Note:** [Valid options for geo locations are described here](https://docs.microsoft.com/azure/azure-monitor/app/monitor-web-app-availability#location-population-tags)
	GeoLocations pulumi.StringArrayInput
	// The kind of web test that this web test watches. Choices are `ping` and `multistep`. Changing this forces a new resource to be created.
	Kind pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. It needs to correlate with location of parent resource (azurerm_application_insights).
	Location pulumi.StringPtrInput
	// Specifies the name of the Application Insights WebTest. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Application Insights WebTest. Changing this forces a new resource
	ResourceGroupName pulumi.StringPtrInput
	// Allow for retries should this WebTest fail.
	RetryEnabled       pulumi.BoolPtrInput
	SyntheticMonitorId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Seconds until this WebTest will timeout and fail. Default is `30`.
	Timeout pulumi.IntPtrInput
}

func (WebTestState) ElementType

func (WebTestState) ElementType() reflect.Type

type Workbook added in v5.14.0

type Workbook struct {
	pulumi.CustomResourceState

	// Workbook category, as defined by the user at creation time. There may be additional category types beyond the following: `workbook`, `sentinel`. Defaults to `workbook`.
	Category pulumi.StringPtrOutput `pulumi:"category"`
	// Configuration of this particular workbook. Configuration data is a string containing valid JSON.
	DataJson pulumi.StringOutput `pulumi:"dataJson"`
	// Specifies the description of the workbook.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the user-defined name (display name) of the workbook.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// An `identity` block as defined below. Changing this forces a new Workbook to be created.
	Identity WorkbookIdentityPtrOutput `pulumi:"identity"`
	// Specifies the Azure Region where the Workbook should exist. Changing this forces a new Workbook to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of this Workbook as a UUID/GUID. It should not contain any uppercase letters. Changing this forces a new Workbook to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the name of the Resource Group where the Workbook should exist. Changing this forces a new Workbook to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Resource ID for a source resource. It should not contain any uppercase letters. Defaults to `azure monitor`.
	SourceId pulumi.StringPtrOutput `pulumi:"sourceId"`
	// Specifies the Resource Manager ID of the Storage Container when bring your own storage is used. Changing this forces a new Workbook to be created.
	//
	// > **Note:** This is the Resource Manager ID of the Storage Container, rather than the regular ID - and can be accessed on the `storage.Container` Data Source/Resource as `resourceManagerId`.
	StorageContainerId pulumi.StringPtrOutput `pulumi:"storageContainerId"`
	// A mapping of tags which should be assigned to the Workbook.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an Azure Workbook.

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"version": "Notebook/1.0",
			"items": []map[string]interface{}{
				map[string]interface{}{
					"type": 1,
					"content": map[string]interface{}{
						"json": "Test2022",
					},
					"name": "text - 0",
				},
			},
			"isLocked": false,
			"fallbackResourceIds": []string{
				"Azure Monitor",
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = appinsights.NewWorkbook(ctx, "exampleWorkbook", &appinsights.WorkbookArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			DisplayName:       pulumi.String("workbook1"),
			DataJson:          pulumi.String(json0),
			Tags: pulumi.StringMap{
				"ENV": pulumi.String("Test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Workbooks can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:appinsights/workbook:Workbook example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Insights/workbooks/resource1

```

func GetWorkbook added in v5.14.0

func GetWorkbook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkbookState, opts ...pulumi.ResourceOption) (*Workbook, error)

GetWorkbook gets an existing Workbook 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 NewWorkbook added in v5.14.0

func NewWorkbook(ctx *pulumi.Context,
	name string, args *WorkbookArgs, opts ...pulumi.ResourceOption) (*Workbook, error)

NewWorkbook registers a new resource with the given unique name, arguments, and options.

func (*Workbook) ElementType added in v5.14.0

func (*Workbook) ElementType() reflect.Type

func (*Workbook) ToWorkbookOutput added in v5.14.0

func (i *Workbook) ToWorkbookOutput() WorkbookOutput

func (*Workbook) ToWorkbookOutputWithContext added in v5.14.0

func (i *Workbook) ToWorkbookOutputWithContext(ctx context.Context) WorkbookOutput

type WorkbookArgs added in v5.14.0

type WorkbookArgs struct {
	// Workbook category, as defined by the user at creation time. There may be additional category types beyond the following: `workbook`, `sentinel`. Defaults to `workbook`.
	Category pulumi.StringPtrInput
	// Configuration of this particular workbook. Configuration data is a string containing valid JSON.
	DataJson pulumi.StringInput
	// Specifies the description of the workbook.
	Description pulumi.StringPtrInput
	// Specifies the user-defined name (display name) of the workbook.
	DisplayName pulumi.StringInput
	// An `identity` block as defined below. Changing this forces a new Workbook to be created.
	Identity WorkbookIdentityPtrInput
	// Specifies the Azure Region where the Workbook should exist. Changing this forces a new Workbook to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Workbook as a UUID/GUID. It should not contain any uppercase letters. Changing this forces a new Workbook to be created.
	Name pulumi.StringPtrInput
	// Specifies the name of the Resource Group where the Workbook should exist. Changing this forces a new Workbook to be created.
	ResourceGroupName pulumi.StringInput
	// Resource ID for a source resource. It should not contain any uppercase letters. Defaults to `azure monitor`.
	SourceId pulumi.StringPtrInput
	// Specifies the Resource Manager ID of the Storage Container when bring your own storage is used. Changing this forces a new Workbook to be created.
	//
	// > **Note:** This is the Resource Manager ID of the Storage Container, rather than the regular ID - and can be accessed on the `storage.Container` Data Source/Resource as `resourceManagerId`.
	StorageContainerId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Workbook.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Workbook resource.

func (WorkbookArgs) ElementType added in v5.14.0

func (WorkbookArgs) ElementType() reflect.Type

type WorkbookArray added in v5.14.0

type WorkbookArray []WorkbookInput

func (WorkbookArray) ElementType added in v5.14.0

func (WorkbookArray) ElementType() reflect.Type

func (WorkbookArray) ToWorkbookArrayOutput added in v5.14.0

func (i WorkbookArray) ToWorkbookArrayOutput() WorkbookArrayOutput

func (WorkbookArray) ToWorkbookArrayOutputWithContext added in v5.14.0

func (i WorkbookArray) ToWorkbookArrayOutputWithContext(ctx context.Context) WorkbookArrayOutput

type WorkbookArrayInput added in v5.14.0

type WorkbookArrayInput interface {
	pulumi.Input

	ToWorkbookArrayOutput() WorkbookArrayOutput
	ToWorkbookArrayOutputWithContext(context.Context) WorkbookArrayOutput
}

WorkbookArrayInput is an input type that accepts WorkbookArray and WorkbookArrayOutput values. You can construct a concrete instance of `WorkbookArrayInput` via:

WorkbookArray{ WorkbookArgs{...} }

type WorkbookArrayOutput added in v5.14.0

type WorkbookArrayOutput struct{ *pulumi.OutputState }

func (WorkbookArrayOutput) ElementType added in v5.14.0

func (WorkbookArrayOutput) ElementType() reflect.Type

func (WorkbookArrayOutput) Index added in v5.14.0

func (WorkbookArrayOutput) ToWorkbookArrayOutput added in v5.14.0

func (o WorkbookArrayOutput) ToWorkbookArrayOutput() WorkbookArrayOutput

func (WorkbookArrayOutput) ToWorkbookArrayOutputWithContext added in v5.14.0

func (o WorkbookArrayOutput) ToWorkbookArrayOutputWithContext(ctx context.Context) WorkbookArrayOutput

type WorkbookIdentity added in v5.14.0

type WorkbookIdentity struct {
	// The list of User Assigned Managed Identity IDs assigned to this Workbook. Changing this forces a new resource to be created.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID of the System Assigned Managed Service Identity that is configured on this Workbook.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID of the System Assigned Managed Service Identity that is configured on this Workbook.
	TenantId *string `pulumi:"tenantId"`
	// The type of Managed Service Identity that is configured on this Workbook. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`. Changing this forces a new resource to be created.
	Type string `pulumi:"type"`
}

type WorkbookIdentityArgs added in v5.14.0

type WorkbookIdentityArgs struct {
	// The list of User Assigned Managed Identity IDs assigned to this Workbook. Changing this forces a new resource to be created.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID of the System Assigned Managed Service Identity that is configured on this Workbook.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID of the System Assigned Managed Service Identity that is configured on this Workbook.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// The type of Managed Service Identity that is configured on this Workbook. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`. Changing this forces a new resource to be created.
	Type pulumi.StringInput `pulumi:"type"`
}

func (WorkbookIdentityArgs) ElementType added in v5.14.0

func (WorkbookIdentityArgs) ElementType() reflect.Type

func (WorkbookIdentityArgs) ToWorkbookIdentityOutput added in v5.14.0

func (i WorkbookIdentityArgs) ToWorkbookIdentityOutput() WorkbookIdentityOutput

func (WorkbookIdentityArgs) ToWorkbookIdentityOutputWithContext added in v5.14.0

func (i WorkbookIdentityArgs) ToWorkbookIdentityOutputWithContext(ctx context.Context) WorkbookIdentityOutput

func (WorkbookIdentityArgs) ToWorkbookIdentityPtrOutput added in v5.14.0

func (i WorkbookIdentityArgs) ToWorkbookIdentityPtrOutput() WorkbookIdentityPtrOutput

func (WorkbookIdentityArgs) ToWorkbookIdentityPtrOutputWithContext added in v5.14.0

func (i WorkbookIdentityArgs) ToWorkbookIdentityPtrOutputWithContext(ctx context.Context) WorkbookIdentityPtrOutput

type WorkbookIdentityInput added in v5.14.0

type WorkbookIdentityInput interface {
	pulumi.Input

	ToWorkbookIdentityOutput() WorkbookIdentityOutput
	ToWorkbookIdentityOutputWithContext(context.Context) WorkbookIdentityOutput
}

WorkbookIdentityInput is an input type that accepts WorkbookIdentityArgs and WorkbookIdentityOutput values. You can construct a concrete instance of `WorkbookIdentityInput` via:

WorkbookIdentityArgs{...}

type WorkbookIdentityOutput added in v5.14.0

type WorkbookIdentityOutput struct{ *pulumi.OutputState }

func (WorkbookIdentityOutput) ElementType added in v5.14.0

func (WorkbookIdentityOutput) ElementType() reflect.Type

func (WorkbookIdentityOutput) IdentityIds added in v5.14.0

The list of User Assigned Managed Identity IDs assigned to this Workbook. Changing this forces a new resource to be created.

func (WorkbookIdentityOutput) PrincipalId added in v5.14.0

The Principal ID of the System Assigned Managed Service Identity that is configured on this Workbook.

func (WorkbookIdentityOutput) TenantId added in v5.14.0

The Tenant ID of the System Assigned Managed Service Identity that is configured on this Workbook.

func (WorkbookIdentityOutput) ToWorkbookIdentityOutput added in v5.14.0

func (o WorkbookIdentityOutput) ToWorkbookIdentityOutput() WorkbookIdentityOutput

func (WorkbookIdentityOutput) ToWorkbookIdentityOutputWithContext added in v5.14.0

func (o WorkbookIdentityOutput) ToWorkbookIdentityOutputWithContext(ctx context.Context) WorkbookIdentityOutput

func (WorkbookIdentityOutput) ToWorkbookIdentityPtrOutput added in v5.14.0

func (o WorkbookIdentityOutput) ToWorkbookIdentityPtrOutput() WorkbookIdentityPtrOutput

func (WorkbookIdentityOutput) ToWorkbookIdentityPtrOutputWithContext added in v5.14.0

func (o WorkbookIdentityOutput) ToWorkbookIdentityPtrOutputWithContext(ctx context.Context) WorkbookIdentityPtrOutput

func (WorkbookIdentityOutput) Type added in v5.14.0

The type of Managed Service Identity that is configured on this Workbook. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`. Changing this forces a new resource to be created.

type WorkbookIdentityPtrInput added in v5.14.0

type WorkbookIdentityPtrInput interface {
	pulumi.Input

	ToWorkbookIdentityPtrOutput() WorkbookIdentityPtrOutput
	ToWorkbookIdentityPtrOutputWithContext(context.Context) WorkbookIdentityPtrOutput
}

WorkbookIdentityPtrInput is an input type that accepts WorkbookIdentityArgs, WorkbookIdentityPtr and WorkbookIdentityPtrOutput values. You can construct a concrete instance of `WorkbookIdentityPtrInput` via:

        WorkbookIdentityArgs{...}

or:

        nil

func WorkbookIdentityPtr added in v5.14.0

func WorkbookIdentityPtr(v *WorkbookIdentityArgs) WorkbookIdentityPtrInput

type WorkbookIdentityPtrOutput added in v5.14.0

type WorkbookIdentityPtrOutput struct{ *pulumi.OutputState }

func (WorkbookIdentityPtrOutput) Elem added in v5.14.0

func (WorkbookIdentityPtrOutput) ElementType added in v5.14.0

func (WorkbookIdentityPtrOutput) ElementType() reflect.Type

func (WorkbookIdentityPtrOutput) IdentityIds added in v5.14.0

The list of User Assigned Managed Identity IDs assigned to this Workbook. Changing this forces a new resource to be created.

func (WorkbookIdentityPtrOutput) PrincipalId added in v5.14.0

The Principal ID of the System Assigned Managed Service Identity that is configured on this Workbook.

func (WorkbookIdentityPtrOutput) TenantId added in v5.14.0

The Tenant ID of the System Assigned Managed Service Identity that is configured on this Workbook.

func (WorkbookIdentityPtrOutput) ToWorkbookIdentityPtrOutput added in v5.14.0

func (o WorkbookIdentityPtrOutput) ToWorkbookIdentityPtrOutput() WorkbookIdentityPtrOutput

func (WorkbookIdentityPtrOutput) ToWorkbookIdentityPtrOutputWithContext added in v5.14.0

func (o WorkbookIdentityPtrOutput) ToWorkbookIdentityPtrOutputWithContext(ctx context.Context) WorkbookIdentityPtrOutput

func (WorkbookIdentityPtrOutput) Type added in v5.14.0

The type of Managed Service Identity that is configured on this Workbook. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`. Changing this forces a new resource to be created.

type WorkbookInput added in v5.14.0

type WorkbookInput interface {
	pulumi.Input

	ToWorkbookOutput() WorkbookOutput
	ToWorkbookOutputWithContext(ctx context.Context) WorkbookOutput
}

type WorkbookMap added in v5.14.0

type WorkbookMap map[string]WorkbookInput

func (WorkbookMap) ElementType added in v5.14.0

func (WorkbookMap) ElementType() reflect.Type

func (WorkbookMap) ToWorkbookMapOutput added in v5.14.0

func (i WorkbookMap) ToWorkbookMapOutput() WorkbookMapOutput

func (WorkbookMap) ToWorkbookMapOutputWithContext added in v5.14.0

func (i WorkbookMap) ToWorkbookMapOutputWithContext(ctx context.Context) WorkbookMapOutput

type WorkbookMapInput added in v5.14.0

type WorkbookMapInput interface {
	pulumi.Input

	ToWorkbookMapOutput() WorkbookMapOutput
	ToWorkbookMapOutputWithContext(context.Context) WorkbookMapOutput
}

WorkbookMapInput is an input type that accepts WorkbookMap and WorkbookMapOutput values. You can construct a concrete instance of `WorkbookMapInput` via:

WorkbookMap{ "key": WorkbookArgs{...} }

type WorkbookMapOutput added in v5.14.0

type WorkbookMapOutput struct{ *pulumi.OutputState }

func (WorkbookMapOutput) ElementType added in v5.14.0

func (WorkbookMapOutput) ElementType() reflect.Type

func (WorkbookMapOutput) MapIndex added in v5.14.0

func (WorkbookMapOutput) ToWorkbookMapOutput added in v5.14.0

func (o WorkbookMapOutput) ToWorkbookMapOutput() WorkbookMapOutput

func (WorkbookMapOutput) ToWorkbookMapOutputWithContext added in v5.14.0

func (o WorkbookMapOutput) ToWorkbookMapOutputWithContext(ctx context.Context) WorkbookMapOutput

type WorkbookOutput added in v5.14.0

type WorkbookOutput struct{ *pulumi.OutputState }

func (WorkbookOutput) Category added in v5.14.0

func (o WorkbookOutput) Category() pulumi.StringPtrOutput

Workbook category, as defined by the user at creation time. There may be additional category types beyond the following: `workbook`, `sentinel`. Defaults to `workbook`.

func (WorkbookOutput) DataJson added in v5.14.0

func (o WorkbookOutput) DataJson() pulumi.StringOutput

Configuration of this particular workbook. Configuration data is a string containing valid JSON.

func (WorkbookOutput) Description added in v5.14.0

func (o WorkbookOutput) Description() pulumi.StringPtrOutput

Specifies the description of the workbook.

func (WorkbookOutput) DisplayName added in v5.14.0

func (o WorkbookOutput) DisplayName() pulumi.StringOutput

Specifies the user-defined name (display name) of the workbook.

func (WorkbookOutput) ElementType added in v5.14.0

func (WorkbookOutput) ElementType() reflect.Type

func (WorkbookOutput) Identity added in v5.14.0

An `identity` block as defined below. Changing this forces a new Workbook to be created.

func (WorkbookOutput) Location added in v5.14.0

func (o WorkbookOutput) Location() pulumi.StringOutput

Specifies the Azure Region where the Workbook should exist. Changing this forces a new Workbook to be created.

func (WorkbookOutput) Name added in v5.14.0

Specifies the name of this Workbook as a UUID/GUID. It should not contain any uppercase letters. Changing this forces a new Workbook to be created.

func (WorkbookOutput) ResourceGroupName added in v5.14.0

func (o WorkbookOutput) ResourceGroupName() pulumi.StringOutput

Specifies the name of the Resource Group where the Workbook should exist. Changing this forces a new Workbook to be created.

func (WorkbookOutput) SourceId added in v5.14.0

func (o WorkbookOutput) SourceId() pulumi.StringPtrOutput

Resource ID for a source resource. It should not contain any uppercase letters. Defaults to `azure monitor`.

func (WorkbookOutput) StorageContainerId added in v5.14.0

func (o WorkbookOutput) StorageContainerId() pulumi.StringPtrOutput

Specifies the Resource Manager ID of the Storage Container when bring your own storage is used. Changing this forces a new Workbook to be created.

> **Note:** This is the Resource Manager ID of the Storage Container, rather than the regular ID - and can be accessed on the `storage.Container` Data Source/Resource as `resourceManagerId`.

func (WorkbookOutput) Tags added in v5.14.0

A mapping of tags which should be assigned to the Workbook.

func (WorkbookOutput) ToWorkbookOutput added in v5.14.0

func (o WorkbookOutput) ToWorkbookOutput() WorkbookOutput

func (WorkbookOutput) ToWorkbookOutputWithContext added in v5.14.0

func (o WorkbookOutput) ToWorkbookOutputWithContext(ctx context.Context) WorkbookOutput

type WorkbookState added in v5.14.0

type WorkbookState struct {
	// Workbook category, as defined by the user at creation time. There may be additional category types beyond the following: `workbook`, `sentinel`. Defaults to `workbook`.
	Category pulumi.StringPtrInput
	// Configuration of this particular workbook. Configuration data is a string containing valid JSON.
	DataJson pulumi.StringPtrInput
	// Specifies the description of the workbook.
	Description pulumi.StringPtrInput
	// Specifies the user-defined name (display name) of the workbook.
	DisplayName pulumi.StringPtrInput
	// An `identity` block as defined below. Changing this forces a new Workbook to be created.
	Identity WorkbookIdentityPtrInput
	// Specifies the Azure Region where the Workbook should exist. Changing this forces a new Workbook to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Workbook as a UUID/GUID. It should not contain any uppercase letters. Changing this forces a new Workbook to be created.
	Name pulumi.StringPtrInput
	// Specifies the name of the Resource Group where the Workbook should exist. Changing this forces a new Workbook to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Resource ID for a source resource. It should not contain any uppercase letters. Defaults to `azure monitor`.
	SourceId pulumi.StringPtrInput
	// Specifies the Resource Manager ID of the Storage Container when bring your own storage is used. Changing this forces a new Workbook to be created.
	//
	// > **Note:** This is the Resource Manager ID of the Storage Container, rather than the regular ID - and can be accessed on the `storage.Container` Data Source/Resource as `resourceManagerId`.
	StorageContainerId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Workbook.
	Tags pulumi.StringMapInput
}

func (WorkbookState) ElementType added in v5.14.0

func (WorkbookState) ElementType() reflect.Type

type WorkbookTemplate added in v5.13.0

type WorkbookTemplate struct {
	pulumi.CustomResourceState

	// Information about the author of the workbook template.
	Author pulumi.StringPtrOutput `pulumi:"author"`
	// A `galleries` block as defined below.
	Galleries WorkbookTemplateGalleryArrayOutput `pulumi:"galleries"`
	// Key value pairs of localized gallery. Each key is the locale code of languages supported by the Azure portal.
	Localized pulumi.StringPtrOutput `pulumi:"localized"`
	// Specifies the Azure Region where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name which should be used for this Application Insights Workbook Template. Changing this forces a new Application Insights Workbook Template to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode. Defaults to `0`.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// Specifies the name of the Resource Group where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags which should be assigned to the Application Insights Workbook Template.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Valid JSON object containing workbook template payload.
	TemplateData pulumi.StringOutput `pulumi:"templateData"`
}

Manages an Application Insights Workbook Template.

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"version": "Notebook/1.0",
			"items": []map[string]interface{}{
				map[string]interface{}{
					"type": 1,
					"content": map[string]interface{}{
						"json": "## New workbook\n---\n\nWelcome to your new workbook.",
					},
					"name": "text - 2",
				},
			},
			"styleSettings": nil,
			"$schema":       "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"ar": []map[string]interface{}{
				map[string]interface{}{
					"galleries": []map[string]interface{}{
						map[string]interface{}{
							"name":         "test",
							"category":     "Failures",
							"type":         "tsg",
							"resourceType": "microsoft.insights/components",
							"order":        100,
						},
					},
					"templateData": map[string]interface{}{
						"version": "Notebook/1.0",
						"items": []map[string]interface{}{
							map[string]interface{}{
								"type": 1,
								"content": map[string]interface{}{
									"json": "## New workbook\n---\n\nWelcome to your new workbook.",
								},
								"name": "text - 2",
							},
						},
						"styleSettings": nil,
						"$schema":       "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json",
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		_, err = appinsights.NewWorkbookTemplate(ctx, "exampleWorkbookTemplate", &appinsights.WorkbookTemplateArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          pulumi.String("West Europe"),
			Author:            pulumi.String("test author"),
			Priority:          pulumi.Int(1),
			Galleries: appinsights.WorkbookTemplateGalleryArray{
				&appinsights.WorkbookTemplateGalleryArgs{
					Category:     pulumi.String("workbook"),
					Name:         pulumi.String("test"),
					Order:        pulumi.Int(100),
					ResourceType: pulumi.String("microsoft.insights/components"),
					Type:         pulumi.String("tsg"),
				},
			},
			TemplateData: pulumi.String(json0),
			Localized:    pulumi.String(json1),
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Application Insights Workbook Template can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:appinsights/workbookTemplate:WorkbookTemplate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Insights/workbookTemplates/resource1

```

func GetWorkbookTemplate added in v5.13.0

func GetWorkbookTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkbookTemplateState, opts ...pulumi.ResourceOption) (*WorkbookTemplate, error)

GetWorkbookTemplate gets an existing WorkbookTemplate 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 NewWorkbookTemplate added in v5.13.0

func NewWorkbookTemplate(ctx *pulumi.Context,
	name string, args *WorkbookTemplateArgs, opts ...pulumi.ResourceOption) (*WorkbookTemplate, error)

NewWorkbookTemplate registers a new resource with the given unique name, arguments, and options.

func (*WorkbookTemplate) ElementType added in v5.13.0

func (*WorkbookTemplate) ElementType() reflect.Type

func (*WorkbookTemplate) ToWorkbookTemplateOutput added in v5.13.0

func (i *WorkbookTemplate) ToWorkbookTemplateOutput() WorkbookTemplateOutput

func (*WorkbookTemplate) ToWorkbookTemplateOutputWithContext added in v5.13.0

func (i *WorkbookTemplate) ToWorkbookTemplateOutputWithContext(ctx context.Context) WorkbookTemplateOutput

type WorkbookTemplateArgs added in v5.13.0

type WorkbookTemplateArgs struct {
	// Information about the author of the workbook template.
	Author pulumi.StringPtrInput
	// A `galleries` block as defined below.
	Galleries WorkbookTemplateGalleryArrayInput
	// Key value pairs of localized gallery. Each key is the locale code of languages supported by the Azure portal.
	Localized pulumi.StringPtrInput
	// Specifies the Azure Region where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Application Insights Workbook Template. Changing this forces a new Application Insights Workbook Template to be created.
	Name pulumi.StringPtrInput
	// Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode. Defaults to `0`.
	Priority pulumi.IntPtrInput
	// Specifies the name of the Resource Group where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags which should be assigned to the Application Insights Workbook Template.
	Tags pulumi.StringMapInput
	// Valid JSON object containing workbook template payload.
	TemplateData pulumi.StringInput
}

The set of arguments for constructing a WorkbookTemplate resource.

func (WorkbookTemplateArgs) ElementType added in v5.13.0

func (WorkbookTemplateArgs) ElementType() reflect.Type

type WorkbookTemplateArray added in v5.13.0

type WorkbookTemplateArray []WorkbookTemplateInput

func (WorkbookTemplateArray) ElementType added in v5.13.0

func (WorkbookTemplateArray) ElementType() reflect.Type

func (WorkbookTemplateArray) ToWorkbookTemplateArrayOutput added in v5.13.0

func (i WorkbookTemplateArray) ToWorkbookTemplateArrayOutput() WorkbookTemplateArrayOutput

func (WorkbookTemplateArray) ToWorkbookTemplateArrayOutputWithContext added in v5.13.0

func (i WorkbookTemplateArray) ToWorkbookTemplateArrayOutputWithContext(ctx context.Context) WorkbookTemplateArrayOutput

type WorkbookTemplateArrayInput added in v5.13.0

type WorkbookTemplateArrayInput interface {
	pulumi.Input

	ToWorkbookTemplateArrayOutput() WorkbookTemplateArrayOutput
	ToWorkbookTemplateArrayOutputWithContext(context.Context) WorkbookTemplateArrayOutput
}

WorkbookTemplateArrayInput is an input type that accepts WorkbookTemplateArray and WorkbookTemplateArrayOutput values. You can construct a concrete instance of `WorkbookTemplateArrayInput` via:

WorkbookTemplateArray{ WorkbookTemplateArgs{...} }

type WorkbookTemplateArrayOutput added in v5.13.0

type WorkbookTemplateArrayOutput struct{ *pulumi.OutputState }

func (WorkbookTemplateArrayOutput) ElementType added in v5.13.0

func (WorkbookTemplateArrayOutput) Index added in v5.13.0

func (WorkbookTemplateArrayOutput) ToWorkbookTemplateArrayOutput added in v5.13.0

func (o WorkbookTemplateArrayOutput) ToWorkbookTemplateArrayOutput() WorkbookTemplateArrayOutput

func (WorkbookTemplateArrayOutput) ToWorkbookTemplateArrayOutputWithContext added in v5.13.0

func (o WorkbookTemplateArrayOutput) ToWorkbookTemplateArrayOutputWithContext(ctx context.Context) WorkbookTemplateArrayOutput

type WorkbookTemplateGallery added in v5.13.0

type WorkbookTemplateGallery struct {
	// Category for the gallery.
	Category string `pulumi:"category"`
	// Name of the workbook template in the gallery.
	Name string `pulumi:"name"`
	// Order of the template within the gallery. Defaults to `0`.
	Order *int `pulumi:"order"`
	// Azure resource type supported by the gallery. Defaults to `Azure Monitor`.
	ResourceType *string `pulumi:"resourceType"`
	// Type of workbook supported by the workbook template. Defaults to `workbook`.
	//
	// > **Note:** See [documentation](https://docs.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-automate#galleries) for more information of `resourceType` and `type`.
	Type *string `pulumi:"type"`
}

type WorkbookTemplateGalleryArgs added in v5.13.0

type WorkbookTemplateGalleryArgs struct {
	// Category for the gallery.
	Category pulumi.StringInput `pulumi:"category"`
	// Name of the workbook template in the gallery.
	Name pulumi.StringInput `pulumi:"name"`
	// Order of the template within the gallery. Defaults to `0`.
	Order pulumi.IntPtrInput `pulumi:"order"`
	// Azure resource type supported by the gallery. Defaults to `Azure Monitor`.
	ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
	// Type of workbook supported by the workbook template. Defaults to `workbook`.
	//
	// > **Note:** See [documentation](https://docs.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-automate#galleries) for more information of `resourceType` and `type`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (WorkbookTemplateGalleryArgs) ElementType added in v5.13.0

func (WorkbookTemplateGalleryArgs) ToWorkbookTemplateGalleryOutput added in v5.13.0

func (i WorkbookTemplateGalleryArgs) ToWorkbookTemplateGalleryOutput() WorkbookTemplateGalleryOutput

func (WorkbookTemplateGalleryArgs) ToWorkbookTemplateGalleryOutputWithContext added in v5.13.0

func (i WorkbookTemplateGalleryArgs) ToWorkbookTemplateGalleryOutputWithContext(ctx context.Context) WorkbookTemplateGalleryOutput

type WorkbookTemplateGalleryArray added in v5.13.0

type WorkbookTemplateGalleryArray []WorkbookTemplateGalleryInput

func (WorkbookTemplateGalleryArray) ElementType added in v5.13.0

func (WorkbookTemplateGalleryArray) ToWorkbookTemplateGalleryArrayOutput added in v5.13.0

func (i WorkbookTemplateGalleryArray) ToWorkbookTemplateGalleryArrayOutput() WorkbookTemplateGalleryArrayOutput

func (WorkbookTemplateGalleryArray) ToWorkbookTemplateGalleryArrayOutputWithContext added in v5.13.0

func (i WorkbookTemplateGalleryArray) ToWorkbookTemplateGalleryArrayOutputWithContext(ctx context.Context) WorkbookTemplateGalleryArrayOutput

type WorkbookTemplateGalleryArrayInput added in v5.13.0

type WorkbookTemplateGalleryArrayInput interface {
	pulumi.Input

	ToWorkbookTemplateGalleryArrayOutput() WorkbookTemplateGalleryArrayOutput
	ToWorkbookTemplateGalleryArrayOutputWithContext(context.Context) WorkbookTemplateGalleryArrayOutput
}

WorkbookTemplateGalleryArrayInput is an input type that accepts WorkbookTemplateGalleryArray and WorkbookTemplateGalleryArrayOutput values. You can construct a concrete instance of `WorkbookTemplateGalleryArrayInput` via:

WorkbookTemplateGalleryArray{ WorkbookTemplateGalleryArgs{...} }

type WorkbookTemplateGalleryArrayOutput added in v5.13.0

type WorkbookTemplateGalleryArrayOutput struct{ *pulumi.OutputState }

func (WorkbookTemplateGalleryArrayOutput) ElementType added in v5.13.0

func (WorkbookTemplateGalleryArrayOutput) Index added in v5.13.0

func (WorkbookTemplateGalleryArrayOutput) ToWorkbookTemplateGalleryArrayOutput added in v5.13.0

func (o WorkbookTemplateGalleryArrayOutput) ToWorkbookTemplateGalleryArrayOutput() WorkbookTemplateGalleryArrayOutput

func (WorkbookTemplateGalleryArrayOutput) ToWorkbookTemplateGalleryArrayOutputWithContext added in v5.13.0

func (o WorkbookTemplateGalleryArrayOutput) ToWorkbookTemplateGalleryArrayOutputWithContext(ctx context.Context) WorkbookTemplateGalleryArrayOutput

type WorkbookTemplateGalleryInput added in v5.13.0

type WorkbookTemplateGalleryInput interface {
	pulumi.Input

	ToWorkbookTemplateGalleryOutput() WorkbookTemplateGalleryOutput
	ToWorkbookTemplateGalleryOutputWithContext(context.Context) WorkbookTemplateGalleryOutput
}

WorkbookTemplateGalleryInput is an input type that accepts WorkbookTemplateGalleryArgs and WorkbookTemplateGalleryOutput values. You can construct a concrete instance of `WorkbookTemplateGalleryInput` via:

WorkbookTemplateGalleryArgs{...}

type WorkbookTemplateGalleryOutput added in v5.13.0

type WorkbookTemplateGalleryOutput struct{ *pulumi.OutputState }

func (WorkbookTemplateGalleryOutput) Category added in v5.13.0

Category for the gallery.

func (WorkbookTemplateGalleryOutput) ElementType added in v5.13.0

func (WorkbookTemplateGalleryOutput) Name added in v5.13.0

Name of the workbook template in the gallery.

func (WorkbookTemplateGalleryOutput) Order added in v5.13.0

Order of the template within the gallery. Defaults to `0`.

func (WorkbookTemplateGalleryOutput) ResourceType added in v5.13.0

Azure resource type supported by the gallery. Defaults to `Azure Monitor`.

func (WorkbookTemplateGalleryOutput) ToWorkbookTemplateGalleryOutput added in v5.13.0

func (o WorkbookTemplateGalleryOutput) ToWorkbookTemplateGalleryOutput() WorkbookTemplateGalleryOutput

func (WorkbookTemplateGalleryOutput) ToWorkbookTemplateGalleryOutputWithContext added in v5.13.0

func (o WorkbookTemplateGalleryOutput) ToWorkbookTemplateGalleryOutputWithContext(ctx context.Context) WorkbookTemplateGalleryOutput

func (WorkbookTemplateGalleryOutput) Type added in v5.13.0

Type of workbook supported by the workbook template. Defaults to `workbook`.

> **Note:** See [documentation](https://docs.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-automate#galleries) for more information of `resourceType` and `type`.

type WorkbookTemplateInput added in v5.13.0

type WorkbookTemplateInput interface {
	pulumi.Input

	ToWorkbookTemplateOutput() WorkbookTemplateOutput
	ToWorkbookTemplateOutputWithContext(ctx context.Context) WorkbookTemplateOutput
}

type WorkbookTemplateMap added in v5.13.0

type WorkbookTemplateMap map[string]WorkbookTemplateInput

func (WorkbookTemplateMap) ElementType added in v5.13.0

func (WorkbookTemplateMap) ElementType() reflect.Type

func (WorkbookTemplateMap) ToWorkbookTemplateMapOutput added in v5.13.0

func (i WorkbookTemplateMap) ToWorkbookTemplateMapOutput() WorkbookTemplateMapOutput

func (WorkbookTemplateMap) ToWorkbookTemplateMapOutputWithContext added in v5.13.0

func (i WorkbookTemplateMap) ToWorkbookTemplateMapOutputWithContext(ctx context.Context) WorkbookTemplateMapOutput

type WorkbookTemplateMapInput added in v5.13.0

type WorkbookTemplateMapInput interface {
	pulumi.Input

	ToWorkbookTemplateMapOutput() WorkbookTemplateMapOutput
	ToWorkbookTemplateMapOutputWithContext(context.Context) WorkbookTemplateMapOutput
}

WorkbookTemplateMapInput is an input type that accepts WorkbookTemplateMap and WorkbookTemplateMapOutput values. You can construct a concrete instance of `WorkbookTemplateMapInput` via:

WorkbookTemplateMap{ "key": WorkbookTemplateArgs{...} }

type WorkbookTemplateMapOutput added in v5.13.0

type WorkbookTemplateMapOutput struct{ *pulumi.OutputState }

func (WorkbookTemplateMapOutput) ElementType added in v5.13.0

func (WorkbookTemplateMapOutput) ElementType() reflect.Type

func (WorkbookTemplateMapOutput) MapIndex added in v5.13.0

func (WorkbookTemplateMapOutput) ToWorkbookTemplateMapOutput added in v5.13.0

func (o WorkbookTemplateMapOutput) ToWorkbookTemplateMapOutput() WorkbookTemplateMapOutput

func (WorkbookTemplateMapOutput) ToWorkbookTemplateMapOutputWithContext added in v5.13.0

func (o WorkbookTemplateMapOutput) ToWorkbookTemplateMapOutputWithContext(ctx context.Context) WorkbookTemplateMapOutput

type WorkbookTemplateOutput added in v5.13.0

type WorkbookTemplateOutput struct{ *pulumi.OutputState }

func (WorkbookTemplateOutput) Author added in v5.13.0

Information about the author of the workbook template.

func (WorkbookTemplateOutput) ElementType added in v5.13.0

func (WorkbookTemplateOutput) ElementType() reflect.Type

func (WorkbookTemplateOutput) Galleries added in v5.13.0

A `galleries` block as defined below.

func (WorkbookTemplateOutput) Localized added in v5.13.0

Key value pairs of localized gallery. Each key is the locale code of languages supported by the Azure portal.

func (WorkbookTemplateOutput) Location added in v5.13.0

Specifies the Azure Region where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.

func (WorkbookTemplateOutput) Name added in v5.13.0

Specifies the name which should be used for this Application Insights Workbook Template. Changing this forces a new Application Insights Workbook Template to be created.

func (WorkbookTemplateOutput) Priority added in v5.13.0

Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode. Defaults to `0`.

func (WorkbookTemplateOutput) ResourceGroupName added in v5.13.0

func (o WorkbookTemplateOutput) ResourceGroupName() pulumi.StringOutput

Specifies the name of the Resource Group where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.

func (WorkbookTemplateOutput) Tags added in v5.13.0

A mapping of tags which should be assigned to the Application Insights Workbook Template.

func (WorkbookTemplateOutput) TemplateData added in v5.13.0

func (o WorkbookTemplateOutput) TemplateData() pulumi.StringOutput

Valid JSON object containing workbook template payload.

func (WorkbookTemplateOutput) ToWorkbookTemplateOutput added in v5.13.0

func (o WorkbookTemplateOutput) ToWorkbookTemplateOutput() WorkbookTemplateOutput

func (WorkbookTemplateOutput) ToWorkbookTemplateOutputWithContext added in v5.13.0

func (o WorkbookTemplateOutput) ToWorkbookTemplateOutputWithContext(ctx context.Context) WorkbookTemplateOutput

type WorkbookTemplateState added in v5.13.0

type WorkbookTemplateState struct {
	// Information about the author of the workbook template.
	Author pulumi.StringPtrInput
	// A `galleries` block as defined below.
	Galleries WorkbookTemplateGalleryArrayInput
	// Key value pairs of localized gallery. Each key is the locale code of languages supported by the Azure portal.
	Localized pulumi.StringPtrInput
	// Specifies the Azure Region where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Application Insights Workbook Template. Changing this forces a new Application Insights Workbook Template to be created.
	Name pulumi.StringPtrInput
	// Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode. Defaults to `0`.
	Priority pulumi.IntPtrInput
	// Specifies the name of the Resource Group where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Application Insights Workbook Template.
	Tags pulumi.StringMapInput
	// Valid JSON object containing workbook template payload.
	TemplateData pulumi.StringPtrInput
}

func (WorkbookTemplateState) ElementType added in v5.13.0

func (WorkbookTemplateState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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