operationalinsights

package
v5.89.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 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 AnalyticsSolution

type AnalyticsSolution struct {
	pulumi.CustomResourceState

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// A `plan` block as documented below.
	Plan AnalyticsSolutionPlanOutput `pulumi:"plan"`
	// The name of the resource group in which the Log Analytics solution is created. Changing this forces a new resource to be created. Note: The solution and its related workspace can only exist in the same resource group.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specifies the name of the solution to be deployed. See [here for options](https://docs.microsoft.com/azure/log-analytics/log-analytics-add-solutions).Changing this forces a new resource to be created.
	SolutionName pulumi.StringOutput `pulumi:"solutionName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The full name of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceName pulumi.StringOutput `pulumi:"workspaceName"`
	// The full resource ID of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceResourceId pulumi.StringOutput `pulumi:"workspaceResourceId"`
}

Manages a Log Analytics (formally Operational Insights) Solution.

## Example Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("k8s-log-analytics-test"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		workspace, err := random.NewRandomId(ctx, "workspace", &random.RandomIdArgs{
			Keepers: pulumi.StringMap{
				"group_name": example.Name,
			},
			ByteLength: pulumi.Int(8),
		})
		if err != nil {
			return err
		}
		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "example", &operationalinsights.AnalyticsWorkspaceArgs{
			Name: workspace.Hex.ApplyT(func(hex string) (string, error) {
				return fmt.Sprintf("k8s-workspace-%v", hex), nil
			}).(pulumi.StringOutput),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("PerGB2018"),
		})
		if err != nil {
			return err
		}
		_, err = operationalinsights.NewAnalyticsSolution(ctx, "example", &operationalinsights.AnalyticsSolutionArgs{
			SolutionName:        pulumi.String("ContainerInsights"),
			Location:            example.Location,
			ResourceGroupName:   example.Name,
			WorkspaceResourceId: exampleAnalyticsWorkspace.ID(),
			WorkspaceName:       exampleAnalyticsWorkspace.Name,
			Plan: &operationalinsights.AnalyticsSolutionPlanArgs{
				Publisher: pulumi.String("Microsoft"),
				Product:   pulumi.String("OMSGallery/ContainerInsights"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log Analytics Solutions can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:operationalinsights/analyticsSolution:AnalyticsSolution solution1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.OperationsManagement/solutions/solution1 ```

func GetAnalyticsSolution

func GetAnalyticsSolution(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AnalyticsSolutionState, opts ...pulumi.ResourceOption) (*AnalyticsSolution, error)

GetAnalyticsSolution gets an existing AnalyticsSolution 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 NewAnalyticsSolution

func NewAnalyticsSolution(ctx *pulumi.Context,
	name string, args *AnalyticsSolutionArgs, opts ...pulumi.ResourceOption) (*AnalyticsSolution, error)

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

func (*AnalyticsSolution) ElementType

func (*AnalyticsSolution) ElementType() reflect.Type

func (*AnalyticsSolution) ToAnalyticsSolutionOutput

func (i *AnalyticsSolution) ToAnalyticsSolutionOutput() AnalyticsSolutionOutput

func (*AnalyticsSolution) ToAnalyticsSolutionOutputWithContext

func (i *AnalyticsSolution) ToAnalyticsSolutionOutputWithContext(ctx context.Context) AnalyticsSolutionOutput

type AnalyticsSolutionArgs

type AnalyticsSolutionArgs struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A `plan` block as documented below.
	Plan AnalyticsSolutionPlanInput
	// The name of the resource group in which the Log Analytics solution is created. Changing this forces a new resource to be created. Note: The solution and its related workspace can only exist in the same resource group.
	ResourceGroupName pulumi.StringInput
	// Specifies the name of the solution to be deployed. See [here for options](https://docs.microsoft.com/azure/log-analytics/log-analytics-add-solutions).Changing this forces a new resource to be created.
	SolutionName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The full name of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceName pulumi.StringInput
	// The full resource ID of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceResourceId pulumi.StringInput
}

The set of arguments for constructing a AnalyticsSolution resource.

func (AnalyticsSolutionArgs) ElementType

func (AnalyticsSolutionArgs) ElementType() reflect.Type

type AnalyticsSolutionArray

type AnalyticsSolutionArray []AnalyticsSolutionInput

func (AnalyticsSolutionArray) ElementType

func (AnalyticsSolutionArray) ElementType() reflect.Type

func (AnalyticsSolutionArray) ToAnalyticsSolutionArrayOutput

func (i AnalyticsSolutionArray) ToAnalyticsSolutionArrayOutput() AnalyticsSolutionArrayOutput

func (AnalyticsSolutionArray) ToAnalyticsSolutionArrayOutputWithContext

func (i AnalyticsSolutionArray) ToAnalyticsSolutionArrayOutputWithContext(ctx context.Context) AnalyticsSolutionArrayOutput

type AnalyticsSolutionArrayInput

type AnalyticsSolutionArrayInput interface {
	pulumi.Input

	ToAnalyticsSolutionArrayOutput() AnalyticsSolutionArrayOutput
	ToAnalyticsSolutionArrayOutputWithContext(context.Context) AnalyticsSolutionArrayOutput
}

AnalyticsSolutionArrayInput is an input type that accepts AnalyticsSolutionArray and AnalyticsSolutionArrayOutput values. You can construct a concrete instance of `AnalyticsSolutionArrayInput` via:

AnalyticsSolutionArray{ AnalyticsSolutionArgs{...} }

type AnalyticsSolutionArrayOutput

type AnalyticsSolutionArrayOutput struct{ *pulumi.OutputState }

func (AnalyticsSolutionArrayOutput) ElementType

func (AnalyticsSolutionArrayOutput) Index

func (AnalyticsSolutionArrayOutput) ToAnalyticsSolutionArrayOutput

func (o AnalyticsSolutionArrayOutput) ToAnalyticsSolutionArrayOutput() AnalyticsSolutionArrayOutput

func (AnalyticsSolutionArrayOutput) ToAnalyticsSolutionArrayOutputWithContext

func (o AnalyticsSolutionArrayOutput) ToAnalyticsSolutionArrayOutputWithContext(ctx context.Context) AnalyticsSolutionArrayOutput

type AnalyticsSolutionInput

type AnalyticsSolutionInput interface {
	pulumi.Input

	ToAnalyticsSolutionOutput() AnalyticsSolutionOutput
	ToAnalyticsSolutionOutputWithContext(ctx context.Context) AnalyticsSolutionOutput
}

type AnalyticsSolutionMap

type AnalyticsSolutionMap map[string]AnalyticsSolutionInput

func (AnalyticsSolutionMap) ElementType

func (AnalyticsSolutionMap) ElementType() reflect.Type

func (AnalyticsSolutionMap) ToAnalyticsSolutionMapOutput

func (i AnalyticsSolutionMap) ToAnalyticsSolutionMapOutput() AnalyticsSolutionMapOutput

func (AnalyticsSolutionMap) ToAnalyticsSolutionMapOutputWithContext

func (i AnalyticsSolutionMap) ToAnalyticsSolutionMapOutputWithContext(ctx context.Context) AnalyticsSolutionMapOutput

type AnalyticsSolutionMapInput

type AnalyticsSolutionMapInput interface {
	pulumi.Input

	ToAnalyticsSolutionMapOutput() AnalyticsSolutionMapOutput
	ToAnalyticsSolutionMapOutputWithContext(context.Context) AnalyticsSolutionMapOutput
}

AnalyticsSolutionMapInput is an input type that accepts AnalyticsSolutionMap and AnalyticsSolutionMapOutput values. You can construct a concrete instance of `AnalyticsSolutionMapInput` via:

AnalyticsSolutionMap{ "key": AnalyticsSolutionArgs{...} }

type AnalyticsSolutionMapOutput

type AnalyticsSolutionMapOutput struct{ *pulumi.OutputState }

func (AnalyticsSolutionMapOutput) ElementType

func (AnalyticsSolutionMapOutput) ElementType() reflect.Type

func (AnalyticsSolutionMapOutput) MapIndex

func (AnalyticsSolutionMapOutput) ToAnalyticsSolutionMapOutput

func (o AnalyticsSolutionMapOutput) ToAnalyticsSolutionMapOutput() AnalyticsSolutionMapOutput

func (AnalyticsSolutionMapOutput) ToAnalyticsSolutionMapOutputWithContext

func (o AnalyticsSolutionMapOutput) ToAnalyticsSolutionMapOutputWithContext(ctx context.Context) AnalyticsSolutionMapOutput

type AnalyticsSolutionOutput

type AnalyticsSolutionOutput struct{ *pulumi.OutputState }

func (AnalyticsSolutionOutput) ElementType

func (AnalyticsSolutionOutput) ElementType() reflect.Type

func (AnalyticsSolutionOutput) Location added in v5.5.0

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

func (AnalyticsSolutionOutput) Plan added in v5.5.0

A `plan` block as documented below.

func (AnalyticsSolutionOutput) ResourceGroupName added in v5.5.0

func (o AnalyticsSolutionOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Log Analytics solution is created. Changing this forces a new resource to be created. Note: The solution and its related workspace can only exist in the same resource group.

func (AnalyticsSolutionOutput) SolutionName added in v5.5.0

func (o AnalyticsSolutionOutput) SolutionName() pulumi.StringOutput

Specifies the name of the solution to be deployed. See [here for options](https://docs.microsoft.com/azure/log-analytics/log-analytics-add-solutions).Changing this forces a new resource to be created.

func (AnalyticsSolutionOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

func (AnalyticsSolutionOutput) ToAnalyticsSolutionOutput

func (o AnalyticsSolutionOutput) ToAnalyticsSolutionOutput() AnalyticsSolutionOutput

func (AnalyticsSolutionOutput) ToAnalyticsSolutionOutputWithContext

func (o AnalyticsSolutionOutput) ToAnalyticsSolutionOutputWithContext(ctx context.Context) AnalyticsSolutionOutput

func (AnalyticsSolutionOutput) WorkspaceName added in v5.5.0

func (o AnalyticsSolutionOutput) WorkspaceName() pulumi.StringOutput

The full name of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.

func (AnalyticsSolutionOutput) WorkspaceResourceId added in v5.5.0

func (o AnalyticsSolutionOutput) WorkspaceResourceId() pulumi.StringOutput

The full resource ID of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.

type AnalyticsSolutionPlan

type AnalyticsSolutionPlan struct {
	Name *string `pulumi:"name"`
	// The product name of the solution. For example `OMSGallery/Containers`. Changing this forces a new resource to be created.
	Product string `pulumi:"product"`
	// A promotion code to be used with the solution. Changing this forces a new resource to be created.
	PromotionCode *string `pulumi:"promotionCode"`
	// The publisher of the solution. For example `Microsoft`. Changing this forces a new resource to be created.
	Publisher string `pulumi:"publisher"`
}

type AnalyticsSolutionPlanArgs

type AnalyticsSolutionPlanArgs struct {
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The product name of the solution. For example `OMSGallery/Containers`. Changing this forces a new resource to be created.
	Product pulumi.StringInput `pulumi:"product"`
	// A promotion code to be used with the solution. Changing this forces a new resource to be created.
	PromotionCode pulumi.StringPtrInput `pulumi:"promotionCode"`
	// The publisher of the solution. For example `Microsoft`. Changing this forces a new resource to be created.
	Publisher pulumi.StringInput `pulumi:"publisher"`
}

func (AnalyticsSolutionPlanArgs) ElementType

func (AnalyticsSolutionPlanArgs) ElementType() reflect.Type

func (AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanOutput

func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanOutput() AnalyticsSolutionPlanOutput

func (AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanOutputWithContext

func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanOutputWithContext(ctx context.Context) AnalyticsSolutionPlanOutput

func (AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanPtrOutput

func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanPtrOutput() AnalyticsSolutionPlanPtrOutput

func (AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanPtrOutputWithContext

func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanPtrOutputWithContext(ctx context.Context) AnalyticsSolutionPlanPtrOutput

type AnalyticsSolutionPlanInput

type AnalyticsSolutionPlanInput interface {
	pulumi.Input

	ToAnalyticsSolutionPlanOutput() AnalyticsSolutionPlanOutput
	ToAnalyticsSolutionPlanOutputWithContext(context.Context) AnalyticsSolutionPlanOutput
}

AnalyticsSolutionPlanInput is an input type that accepts AnalyticsSolutionPlanArgs and AnalyticsSolutionPlanOutput values. You can construct a concrete instance of `AnalyticsSolutionPlanInput` via:

AnalyticsSolutionPlanArgs{...}

type AnalyticsSolutionPlanOutput

type AnalyticsSolutionPlanOutput struct{ *pulumi.OutputState }

func (AnalyticsSolutionPlanOutput) ElementType

func (AnalyticsSolutionPlanOutput) Name

func (AnalyticsSolutionPlanOutput) Product

The product name of the solution. For example `OMSGallery/Containers`. Changing this forces a new resource to be created.

func (AnalyticsSolutionPlanOutput) PromotionCode

A promotion code to be used with the solution. Changing this forces a new resource to be created.

func (AnalyticsSolutionPlanOutput) Publisher

The publisher of the solution. For example `Microsoft`. Changing this forces a new resource to be created.

func (AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanOutput

func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanOutput() AnalyticsSolutionPlanOutput

func (AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanOutputWithContext

func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanOutputWithContext(ctx context.Context) AnalyticsSolutionPlanOutput

func (AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanPtrOutput

func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanPtrOutput() AnalyticsSolutionPlanPtrOutput

func (AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanPtrOutputWithContext

func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanPtrOutputWithContext(ctx context.Context) AnalyticsSolutionPlanPtrOutput

type AnalyticsSolutionPlanPtrInput

type AnalyticsSolutionPlanPtrInput interface {
	pulumi.Input

	ToAnalyticsSolutionPlanPtrOutput() AnalyticsSolutionPlanPtrOutput
	ToAnalyticsSolutionPlanPtrOutputWithContext(context.Context) AnalyticsSolutionPlanPtrOutput
}

AnalyticsSolutionPlanPtrInput is an input type that accepts AnalyticsSolutionPlanArgs, AnalyticsSolutionPlanPtr and AnalyticsSolutionPlanPtrOutput values. You can construct a concrete instance of `AnalyticsSolutionPlanPtrInput` via:

        AnalyticsSolutionPlanArgs{...}

or:

        nil

type AnalyticsSolutionPlanPtrOutput

type AnalyticsSolutionPlanPtrOutput struct{ *pulumi.OutputState }

func (AnalyticsSolutionPlanPtrOutput) Elem

func (AnalyticsSolutionPlanPtrOutput) ElementType

func (AnalyticsSolutionPlanPtrOutput) Name

func (AnalyticsSolutionPlanPtrOutput) Product

The product name of the solution. For example `OMSGallery/Containers`. Changing this forces a new resource to be created.

func (AnalyticsSolutionPlanPtrOutput) PromotionCode

A promotion code to be used with the solution. Changing this forces a new resource to be created.

func (AnalyticsSolutionPlanPtrOutput) Publisher

The publisher of the solution. For example `Microsoft`. Changing this forces a new resource to be created.

func (AnalyticsSolutionPlanPtrOutput) ToAnalyticsSolutionPlanPtrOutput

func (o AnalyticsSolutionPlanPtrOutput) ToAnalyticsSolutionPlanPtrOutput() AnalyticsSolutionPlanPtrOutput

func (AnalyticsSolutionPlanPtrOutput) ToAnalyticsSolutionPlanPtrOutputWithContext

func (o AnalyticsSolutionPlanPtrOutput) ToAnalyticsSolutionPlanPtrOutputWithContext(ctx context.Context) AnalyticsSolutionPlanPtrOutput

type AnalyticsSolutionState

type AnalyticsSolutionState struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A `plan` block as documented below.
	Plan AnalyticsSolutionPlanPtrInput
	// The name of the resource group in which the Log Analytics solution is created. Changing this forces a new resource to be created. Note: The solution and its related workspace can only exist in the same resource group.
	ResourceGroupName pulumi.StringPtrInput
	// Specifies the name of the solution to be deployed. See [here for options](https://docs.microsoft.com/azure/log-analytics/log-analytics-add-solutions).Changing this forces a new resource to be created.
	SolutionName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The full name of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceName pulumi.StringPtrInput
	// The full resource ID of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceResourceId pulumi.StringPtrInput
}

func (AnalyticsSolutionState) ElementType

func (AnalyticsSolutionState) ElementType() reflect.Type

type AnalyticsWorkspace

type AnalyticsWorkspace struct {
	pulumi.CustomResourceState

	// Specifies if the log Analytics Workspace allow users accessing to data associated with resources they have permission to view, without permission to workspace. Defaults to `true`.
	AllowResourceOnlyPermissions pulumi.BoolPtrOutput `pulumi:"allowResourceOnlyPermissions"`
	// Is Customer Managed Storage mandatory for query management?
	CmkForQueryForced pulumi.BoolPtrOutput `pulumi:"cmkForQueryForced"`
	// The workspace daily quota for ingestion in GB. Defaults to -1 (unlimited) if omitted.
	//
	// > **NOTE:** When `sku` is set to `Free` this field should not be set and has a default value of `0.5`.
	DailyQuotaGb pulumi.Float64PtrOutput `pulumi:"dailyQuotaGb"`
	// The ID of the Data Collection Rule to use for this workspace.
	DataCollectionRuleId pulumi.StringPtrOutput `pulumi:"dataCollectionRuleId"`
	// An `identity` block as defined below.
	Identity AnalyticsWorkspaceIdentityPtrOutput `pulumi:"identity"`
	// Whether to remove the data in the Log Analytics Workspace immediately after 30 days.
	ImmediateDataPurgeOn30DaysEnabled pulumi.BoolPtrOutput `pulumi:"immediateDataPurgeOn30DaysEnabled"`
	// Should the Log Analytics Workspace support ingestion over the Public Internet? Defaults to `true`.
	InternetIngestionEnabled pulumi.BoolPtrOutput `pulumi:"internetIngestionEnabled"`
	// Should the Log Analytics Workspace support querying over the Public Internet? Defaults to `true`.
	InternetQueryEnabled pulumi.BoolPtrOutput `pulumi:"internetQueryEnabled"`
	// Specifies if the log Analytics workspace should enforce authentication using Azure AD. 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 Log Analytics Workspace. Workspace name should include 4-63 letters, digits or '-'. The '-' shouldn't be the first or the last symbol. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Primary shared key for the Log Analytics Workspace.
	PrimarySharedKey pulumi.StringOutput `pulumi:"primarySharedKey"`
	// The capacity reservation level in GB for this workspace. Possible values are `100`, `200`, `300`, `400`, `500`, `1000`, `2000` and `5000`.
	//
	// > **NOTE:** `reservationCapacityInGbPerDay` can only be used when the `sku` is set to `CapacityReservation`.
	ReservationCapacityInGbPerDay pulumi.IntPtrOutput `pulumi:"reservationCapacityInGbPerDay"`
	// The name of the resource group in which the Log Analytics workspace is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The workspace data retention in days. Possible values are either 7 (Free Tier only) or range between 30 and 730.
	RetentionInDays pulumi.IntOutput `pulumi:"retentionInDays"`
	// The Secondary shared key for the Log Analytics Workspace.
	SecondarySharedKey pulumi.StringOutput `pulumi:"secondarySharedKey"`
	// Specifies the SKU of the Log Analytics Workspace. Possible values are `PerNode`, `Premium`, `Standard`, `Standalone`, `Unlimited`, `CapacityReservation`, and `PerGB2018` (new SKU as of `2018-04-03`). Defaults to `PerGB2018`.
	//
	// > **NOTE:** A new pricing model took effect on `2018-04-03`, which requires the SKU `PerGB2018`. If you're provisioned resources before this date you have the option of remaining with the previous Pricing SKU and using the other SKUs defined above. More information about [the Pricing SKUs is available at the following URI](https://aka.ms/PricingTierWarning).
	//
	// > **NOTE:** Changing `sku` forces a new Log Analytics Workspace to be created, except when changing between `PerGB2018` and `CapacityReservation`. However, changing `sku` to `CapacityReservation` or changing `reservationCapacityInGbPerDay` to a higher tier will lead to a 31-days commitment period, during which the SKU cannot be changed to a lower one. Please refer to [official documentation](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/cost-logs#commitment-tiers) for further information.
	Sku pulumi.StringOutput `pulumi:"sku"`
	// A mapping of tags to assign to the resource.
	//
	// > **NOTE:** If a `operationalinsights.AnalyticsWorkspace` is connected to a `loganalytics.Cluster` via a `loganalytics.LinkedService` you will not be able to modify the workspaces `sku` field until the link between the workspace and the cluster has been broken by deleting the `loganalytics.LinkedService` resource. All other fields are modifiable while the workspace is linked to a cluster.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The Workspace (or Customer) ID for the Log Analytics Workspace.
	WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"`
}

Manages a Log Analytics (formally Operational Insights) Workspace.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = operationalinsights.NewAnalyticsWorkspace(ctx, "example", &operationalinsights.AnalyticsWorkspaceArgs{
			Name:              pulumi.String("acctest-01"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("PerGB2018"),
			RetentionInDays:   pulumi.Int(30),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log Analytics Workspaces can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:operationalinsights/analyticsWorkspace:AnalyticsWorkspace workspace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.OperationalInsights/workspaces/workspace1 ```

func GetAnalyticsWorkspace

func GetAnalyticsWorkspace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AnalyticsWorkspaceState, opts ...pulumi.ResourceOption) (*AnalyticsWorkspace, error)

GetAnalyticsWorkspace gets an existing AnalyticsWorkspace 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 NewAnalyticsWorkspace

func NewAnalyticsWorkspace(ctx *pulumi.Context,
	name string, args *AnalyticsWorkspaceArgs, opts ...pulumi.ResourceOption) (*AnalyticsWorkspace, error)

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

func (*AnalyticsWorkspace) ElementType

func (*AnalyticsWorkspace) ElementType() reflect.Type

func (*AnalyticsWorkspace) ToAnalyticsWorkspaceOutput

func (i *AnalyticsWorkspace) ToAnalyticsWorkspaceOutput() AnalyticsWorkspaceOutput

func (*AnalyticsWorkspace) ToAnalyticsWorkspaceOutputWithContext

func (i *AnalyticsWorkspace) ToAnalyticsWorkspaceOutputWithContext(ctx context.Context) AnalyticsWorkspaceOutput

type AnalyticsWorkspaceArgs

type AnalyticsWorkspaceArgs struct {
	// Specifies if the log Analytics Workspace allow users accessing to data associated with resources they have permission to view, without permission to workspace. Defaults to `true`.
	AllowResourceOnlyPermissions pulumi.BoolPtrInput
	// Is Customer Managed Storage mandatory for query management?
	CmkForQueryForced pulumi.BoolPtrInput
	// The workspace daily quota for ingestion in GB. Defaults to -1 (unlimited) if omitted.
	//
	// > **NOTE:** When `sku` is set to `Free` this field should not be set and has a default value of `0.5`.
	DailyQuotaGb pulumi.Float64PtrInput
	// The ID of the Data Collection Rule to use for this workspace.
	DataCollectionRuleId pulumi.StringPtrInput
	// An `identity` block as defined below.
	Identity AnalyticsWorkspaceIdentityPtrInput
	// Whether to remove the data in the Log Analytics Workspace immediately after 30 days.
	ImmediateDataPurgeOn30DaysEnabled pulumi.BoolPtrInput
	// Should the Log Analytics Workspace support ingestion over the Public Internet? Defaults to `true`.
	InternetIngestionEnabled pulumi.BoolPtrInput
	// Should the Log Analytics Workspace support querying over the Public Internet? Defaults to `true`.
	InternetQueryEnabled pulumi.BoolPtrInput
	// Specifies if the log Analytics workspace should enforce authentication using Azure AD. 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 Log Analytics Workspace. Workspace name should include 4-63 letters, digits or '-'. The '-' shouldn't be the first or the last symbol. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The capacity reservation level in GB for this workspace. Possible values are `100`, `200`, `300`, `400`, `500`, `1000`, `2000` and `5000`.
	//
	// > **NOTE:** `reservationCapacityInGbPerDay` can only be used when the `sku` is set to `CapacityReservation`.
	ReservationCapacityInGbPerDay pulumi.IntPtrInput
	// The name of the resource group in which the Log Analytics workspace is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The workspace data retention in days. Possible values are either 7 (Free Tier only) or range between 30 and 730.
	RetentionInDays pulumi.IntPtrInput
	// Specifies the SKU of the Log Analytics Workspace. Possible values are `PerNode`, `Premium`, `Standard`, `Standalone`, `Unlimited`, `CapacityReservation`, and `PerGB2018` (new SKU as of `2018-04-03`). Defaults to `PerGB2018`.
	//
	// > **NOTE:** A new pricing model took effect on `2018-04-03`, which requires the SKU `PerGB2018`. If you're provisioned resources before this date you have the option of remaining with the previous Pricing SKU and using the other SKUs defined above. More information about [the Pricing SKUs is available at the following URI](https://aka.ms/PricingTierWarning).
	//
	// > **NOTE:** Changing `sku` forces a new Log Analytics Workspace to be created, except when changing between `PerGB2018` and `CapacityReservation`. However, changing `sku` to `CapacityReservation` or changing `reservationCapacityInGbPerDay` to a higher tier will lead to a 31-days commitment period, during which the SKU cannot be changed to a lower one. Please refer to [official documentation](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/cost-logs#commitment-tiers) for further information.
	Sku pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	//
	// > **NOTE:** If a `operationalinsights.AnalyticsWorkspace` is connected to a `loganalytics.Cluster` via a `loganalytics.LinkedService` you will not be able to modify the workspaces `sku` field until the link between the workspace and the cluster has been broken by deleting the `loganalytics.LinkedService` resource. All other fields are modifiable while the workspace is linked to a cluster.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a AnalyticsWorkspace resource.

func (AnalyticsWorkspaceArgs) ElementType

func (AnalyticsWorkspaceArgs) ElementType() reflect.Type

type AnalyticsWorkspaceArray

type AnalyticsWorkspaceArray []AnalyticsWorkspaceInput

func (AnalyticsWorkspaceArray) ElementType

func (AnalyticsWorkspaceArray) ElementType() reflect.Type

func (AnalyticsWorkspaceArray) ToAnalyticsWorkspaceArrayOutput

func (i AnalyticsWorkspaceArray) ToAnalyticsWorkspaceArrayOutput() AnalyticsWorkspaceArrayOutput

func (AnalyticsWorkspaceArray) ToAnalyticsWorkspaceArrayOutputWithContext

func (i AnalyticsWorkspaceArray) ToAnalyticsWorkspaceArrayOutputWithContext(ctx context.Context) AnalyticsWorkspaceArrayOutput

type AnalyticsWorkspaceArrayInput

type AnalyticsWorkspaceArrayInput interface {
	pulumi.Input

	ToAnalyticsWorkspaceArrayOutput() AnalyticsWorkspaceArrayOutput
	ToAnalyticsWorkspaceArrayOutputWithContext(context.Context) AnalyticsWorkspaceArrayOutput
}

AnalyticsWorkspaceArrayInput is an input type that accepts AnalyticsWorkspaceArray and AnalyticsWorkspaceArrayOutput values. You can construct a concrete instance of `AnalyticsWorkspaceArrayInput` via:

AnalyticsWorkspaceArray{ AnalyticsWorkspaceArgs{...} }

type AnalyticsWorkspaceArrayOutput

type AnalyticsWorkspaceArrayOutput struct{ *pulumi.OutputState }

func (AnalyticsWorkspaceArrayOutput) ElementType

func (AnalyticsWorkspaceArrayOutput) Index

func (AnalyticsWorkspaceArrayOutput) ToAnalyticsWorkspaceArrayOutput

func (o AnalyticsWorkspaceArrayOutput) ToAnalyticsWorkspaceArrayOutput() AnalyticsWorkspaceArrayOutput

func (AnalyticsWorkspaceArrayOutput) ToAnalyticsWorkspaceArrayOutputWithContext

func (o AnalyticsWorkspaceArrayOutput) ToAnalyticsWorkspaceArrayOutputWithContext(ctx context.Context) AnalyticsWorkspaceArrayOutput

type AnalyticsWorkspaceIdentity added in v5.57.0

type AnalyticsWorkspaceIdentity struct {
	// Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`.
	IdentityIds []string `pulumi:"identityIds"`
	PrincipalId *string  `pulumi:"principalId"`
	TenantId    *string  `pulumi:"tenantId"`
	// Specifies the identity type of the Log Analytics Workspace. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you) and `UserAssigned` where you can specify the Service Principal IDs in the `identityIds` field.
	//
	// > **NOTE:** When `type` is set to `SystemAssigned`, The assigned `principalId` and `tenantId` can be retrieved after the Log Analytics Workspace has been created.
	Type string `pulumi:"type"`
}

type AnalyticsWorkspaceIdentityArgs added in v5.57.0

type AnalyticsWorkspaceIdentityArgs struct {
	// Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	PrincipalId pulumi.StringPtrInput   `pulumi:"principalId"`
	TenantId    pulumi.StringPtrInput   `pulumi:"tenantId"`
	// Specifies the identity type of the Log Analytics Workspace. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you) and `UserAssigned` where you can specify the Service Principal IDs in the `identityIds` field.
	//
	// > **NOTE:** When `type` is set to `SystemAssigned`, The assigned `principalId` and `tenantId` can be retrieved after the Log Analytics Workspace has been created.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AnalyticsWorkspaceIdentityArgs) ElementType added in v5.57.0

func (AnalyticsWorkspaceIdentityArgs) ToAnalyticsWorkspaceIdentityOutput added in v5.57.0

func (i AnalyticsWorkspaceIdentityArgs) ToAnalyticsWorkspaceIdentityOutput() AnalyticsWorkspaceIdentityOutput

func (AnalyticsWorkspaceIdentityArgs) ToAnalyticsWorkspaceIdentityOutputWithContext added in v5.57.0

func (i AnalyticsWorkspaceIdentityArgs) ToAnalyticsWorkspaceIdentityOutputWithContext(ctx context.Context) AnalyticsWorkspaceIdentityOutput

func (AnalyticsWorkspaceIdentityArgs) ToAnalyticsWorkspaceIdentityPtrOutput added in v5.57.0

func (i AnalyticsWorkspaceIdentityArgs) ToAnalyticsWorkspaceIdentityPtrOutput() AnalyticsWorkspaceIdentityPtrOutput

func (AnalyticsWorkspaceIdentityArgs) ToAnalyticsWorkspaceIdentityPtrOutputWithContext added in v5.57.0

func (i AnalyticsWorkspaceIdentityArgs) ToAnalyticsWorkspaceIdentityPtrOutputWithContext(ctx context.Context) AnalyticsWorkspaceIdentityPtrOutput

type AnalyticsWorkspaceIdentityInput added in v5.57.0

type AnalyticsWorkspaceIdentityInput interface {
	pulumi.Input

	ToAnalyticsWorkspaceIdentityOutput() AnalyticsWorkspaceIdentityOutput
	ToAnalyticsWorkspaceIdentityOutputWithContext(context.Context) AnalyticsWorkspaceIdentityOutput
}

AnalyticsWorkspaceIdentityInput is an input type that accepts AnalyticsWorkspaceIdentityArgs and AnalyticsWorkspaceIdentityOutput values. You can construct a concrete instance of `AnalyticsWorkspaceIdentityInput` via:

AnalyticsWorkspaceIdentityArgs{...}

type AnalyticsWorkspaceIdentityOutput added in v5.57.0

type AnalyticsWorkspaceIdentityOutput struct{ *pulumi.OutputState }

func (AnalyticsWorkspaceIdentityOutput) ElementType added in v5.57.0

func (AnalyticsWorkspaceIdentityOutput) IdentityIds added in v5.57.0

Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`.

func (AnalyticsWorkspaceIdentityOutput) PrincipalId added in v5.57.0

func (AnalyticsWorkspaceIdentityOutput) TenantId added in v5.57.0

func (AnalyticsWorkspaceIdentityOutput) ToAnalyticsWorkspaceIdentityOutput added in v5.57.0

func (o AnalyticsWorkspaceIdentityOutput) ToAnalyticsWorkspaceIdentityOutput() AnalyticsWorkspaceIdentityOutput

func (AnalyticsWorkspaceIdentityOutput) ToAnalyticsWorkspaceIdentityOutputWithContext added in v5.57.0

func (o AnalyticsWorkspaceIdentityOutput) ToAnalyticsWorkspaceIdentityOutputWithContext(ctx context.Context) AnalyticsWorkspaceIdentityOutput

func (AnalyticsWorkspaceIdentityOutput) ToAnalyticsWorkspaceIdentityPtrOutput added in v5.57.0

func (o AnalyticsWorkspaceIdentityOutput) ToAnalyticsWorkspaceIdentityPtrOutput() AnalyticsWorkspaceIdentityPtrOutput

func (AnalyticsWorkspaceIdentityOutput) ToAnalyticsWorkspaceIdentityPtrOutputWithContext added in v5.57.0

func (o AnalyticsWorkspaceIdentityOutput) ToAnalyticsWorkspaceIdentityPtrOutputWithContext(ctx context.Context) AnalyticsWorkspaceIdentityPtrOutput

func (AnalyticsWorkspaceIdentityOutput) Type added in v5.57.0

Specifies the identity type of the Log Analytics Workspace. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you) and `UserAssigned` where you can specify the Service Principal IDs in the `identityIds` field.

> **NOTE:** When `type` is set to `SystemAssigned`, The assigned `principalId` and `tenantId` can be retrieved after the Log Analytics Workspace has been created.

type AnalyticsWorkspaceIdentityPtrInput added in v5.57.0

type AnalyticsWorkspaceIdentityPtrInput interface {
	pulumi.Input

	ToAnalyticsWorkspaceIdentityPtrOutput() AnalyticsWorkspaceIdentityPtrOutput
	ToAnalyticsWorkspaceIdentityPtrOutputWithContext(context.Context) AnalyticsWorkspaceIdentityPtrOutput
}

AnalyticsWorkspaceIdentityPtrInput is an input type that accepts AnalyticsWorkspaceIdentityArgs, AnalyticsWorkspaceIdentityPtr and AnalyticsWorkspaceIdentityPtrOutput values. You can construct a concrete instance of `AnalyticsWorkspaceIdentityPtrInput` via:

        AnalyticsWorkspaceIdentityArgs{...}

or:

        nil

func AnalyticsWorkspaceIdentityPtr added in v5.57.0

type AnalyticsWorkspaceIdentityPtrOutput added in v5.57.0

type AnalyticsWorkspaceIdentityPtrOutput struct{ *pulumi.OutputState }

func (AnalyticsWorkspaceIdentityPtrOutput) Elem added in v5.57.0

func (AnalyticsWorkspaceIdentityPtrOutput) ElementType added in v5.57.0

func (AnalyticsWorkspaceIdentityPtrOutput) IdentityIds added in v5.57.0

Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`.

func (AnalyticsWorkspaceIdentityPtrOutput) PrincipalId added in v5.57.0

func (AnalyticsWorkspaceIdentityPtrOutput) TenantId added in v5.57.0

func (AnalyticsWorkspaceIdentityPtrOutput) ToAnalyticsWorkspaceIdentityPtrOutput added in v5.57.0

func (o AnalyticsWorkspaceIdentityPtrOutput) ToAnalyticsWorkspaceIdentityPtrOutput() AnalyticsWorkspaceIdentityPtrOutput

func (AnalyticsWorkspaceIdentityPtrOutput) ToAnalyticsWorkspaceIdentityPtrOutputWithContext added in v5.57.0

func (o AnalyticsWorkspaceIdentityPtrOutput) ToAnalyticsWorkspaceIdentityPtrOutputWithContext(ctx context.Context) AnalyticsWorkspaceIdentityPtrOutput

func (AnalyticsWorkspaceIdentityPtrOutput) Type added in v5.57.0

Specifies the identity type of the Log Analytics Workspace. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you) and `UserAssigned` where you can specify the Service Principal IDs in the `identityIds` field.

> **NOTE:** When `type` is set to `SystemAssigned`, The assigned `principalId` and `tenantId` can be retrieved after the Log Analytics Workspace has been created.

type AnalyticsWorkspaceInput

type AnalyticsWorkspaceInput interface {
	pulumi.Input

	ToAnalyticsWorkspaceOutput() AnalyticsWorkspaceOutput
	ToAnalyticsWorkspaceOutputWithContext(ctx context.Context) AnalyticsWorkspaceOutput
}

type AnalyticsWorkspaceMap

type AnalyticsWorkspaceMap map[string]AnalyticsWorkspaceInput

func (AnalyticsWorkspaceMap) ElementType

func (AnalyticsWorkspaceMap) ElementType() reflect.Type

func (AnalyticsWorkspaceMap) ToAnalyticsWorkspaceMapOutput

func (i AnalyticsWorkspaceMap) ToAnalyticsWorkspaceMapOutput() AnalyticsWorkspaceMapOutput

func (AnalyticsWorkspaceMap) ToAnalyticsWorkspaceMapOutputWithContext

func (i AnalyticsWorkspaceMap) ToAnalyticsWorkspaceMapOutputWithContext(ctx context.Context) AnalyticsWorkspaceMapOutput

type AnalyticsWorkspaceMapInput

type AnalyticsWorkspaceMapInput interface {
	pulumi.Input

	ToAnalyticsWorkspaceMapOutput() AnalyticsWorkspaceMapOutput
	ToAnalyticsWorkspaceMapOutputWithContext(context.Context) AnalyticsWorkspaceMapOutput
}

AnalyticsWorkspaceMapInput is an input type that accepts AnalyticsWorkspaceMap and AnalyticsWorkspaceMapOutput values. You can construct a concrete instance of `AnalyticsWorkspaceMapInput` via:

AnalyticsWorkspaceMap{ "key": AnalyticsWorkspaceArgs{...} }

type AnalyticsWorkspaceMapOutput

type AnalyticsWorkspaceMapOutput struct{ *pulumi.OutputState }

func (AnalyticsWorkspaceMapOutput) ElementType

func (AnalyticsWorkspaceMapOutput) MapIndex

func (AnalyticsWorkspaceMapOutput) ToAnalyticsWorkspaceMapOutput

func (o AnalyticsWorkspaceMapOutput) ToAnalyticsWorkspaceMapOutput() AnalyticsWorkspaceMapOutput

func (AnalyticsWorkspaceMapOutput) ToAnalyticsWorkspaceMapOutputWithContext

func (o AnalyticsWorkspaceMapOutput) ToAnalyticsWorkspaceMapOutputWithContext(ctx context.Context) AnalyticsWorkspaceMapOutput

type AnalyticsWorkspaceOutput

type AnalyticsWorkspaceOutput struct{ *pulumi.OutputState }

func (AnalyticsWorkspaceOutput) AllowResourceOnlyPermissions added in v5.28.0

func (o AnalyticsWorkspaceOutput) AllowResourceOnlyPermissions() pulumi.BoolPtrOutput

Specifies if the log Analytics Workspace allow users accessing to data associated with resources they have permission to view, without permission to workspace. Defaults to `true`.

func (AnalyticsWorkspaceOutput) CmkForQueryForced added in v5.16.0

func (o AnalyticsWorkspaceOutput) CmkForQueryForced() pulumi.BoolPtrOutput

Is Customer Managed Storage mandatory for query management?

func (AnalyticsWorkspaceOutput) DailyQuotaGb added in v5.5.0

The workspace daily quota for ingestion in GB. Defaults to -1 (unlimited) if omitted.

> **NOTE:** When `sku` is set to `Free` this field should not be set and has a default value of `0.5`.

func (AnalyticsWorkspaceOutput) DataCollectionRuleId added in v5.52.0

func (o AnalyticsWorkspaceOutput) DataCollectionRuleId() pulumi.StringPtrOutput

The ID of the Data Collection Rule to use for this workspace.

func (AnalyticsWorkspaceOutput) ElementType

func (AnalyticsWorkspaceOutput) ElementType() reflect.Type

func (AnalyticsWorkspaceOutput) Identity added in v5.57.0

An `identity` block as defined below.

func (AnalyticsWorkspaceOutput) ImmediateDataPurgeOn30DaysEnabled added in v5.60.0

func (o AnalyticsWorkspaceOutput) ImmediateDataPurgeOn30DaysEnabled() pulumi.BoolPtrOutput

Whether to remove the data in the Log Analytics Workspace immediately after 30 days.

func (AnalyticsWorkspaceOutput) InternetIngestionEnabled added in v5.5.0

func (o AnalyticsWorkspaceOutput) InternetIngestionEnabled() pulumi.BoolPtrOutput

Should the Log Analytics Workspace support ingestion over the Public Internet? Defaults to `true`.

func (AnalyticsWorkspaceOutput) InternetQueryEnabled added in v5.5.0

func (o AnalyticsWorkspaceOutput) InternetQueryEnabled() pulumi.BoolPtrOutput

Should the Log Analytics Workspace support querying over the Public Internet? Defaults to `true`.

func (AnalyticsWorkspaceOutput) LocalAuthenticationDisabled added in v5.33.0

func (o AnalyticsWorkspaceOutput) LocalAuthenticationDisabled() pulumi.BoolPtrOutput

Specifies if the log Analytics workspace should enforce authentication using Azure AD. Defaults to `false`.

func (AnalyticsWorkspaceOutput) Location added in v5.5.0

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

func (AnalyticsWorkspaceOutput) Name added in v5.5.0

Specifies the name of the Log Analytics Workspace. Workspace name should include 4-63 letters, digits or '-'. The '-' shouldn't be the first or the last symbol. Changing this forces a new resource to be created.

func (AnalyticsWorkspaceOutput) PrimarySharedKey added in v5.5.0

func (o AnalyticsWorkspaceOutput) PrimarySharedKey() pulumi.StringOutput

The Primary shared key for the Log Analytics Workspace.

func (AnalyticsWorkspaceOutput) ReservationCapacityInGbPerDay added in v5.5.0

func (o AnalyticsWorkspaceOutput) ReservationCapacityInGbPerDay() pulumi.IntPtrOutput

The capacity reservation level in GB for this workspace. Possible values are `100`, `200`, `300`, `400`, `500`, `1000`, `2000` and `5000`.

> **NOTE:** `reservationCapacityInGbPerDay` can only be used when the `sku` is set to `CapacityReservation`.

func (AnalyticsWorkspaceOutput) ResourceGroupName added in v5.5.0

func (o AnalyticsWorkspaceOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Log Analytics workspace is created. Changing this forces a new resource to be created.

func (AnalyticsWorkspaceOutput) RetentionInDays added in v5.5.0

func (o AnalyticsWorkspaceOutput) RetentionInDays() pulumi.IntOutput

The workspace data retention in days. Possible values are either 7 (Free Tier only) or range between 30 and 730.

func (AnalyticsWorkspaceOutput) SecondarySharedKey added in v5.5.0

func (o AnalyticsWorkspaceOutput) SecondarySharedKey() pulumi.StringOutput

The Secondary shared key for the Log Analytics Workspace.

func (AnalyticsWorkspaceOutput) Sku added in v5.5.0

Specifies the SKU of the Log Analytics Workspace. Possible values are `PerNode`, `Premium`, `Standard`, `Standalone`, `Unlimited`, `CapacityReservation`, and `PerGB2018` (new SKU as of `2018-04-03`). Defaults to `PerGB2018`.

> **NOTE:** A new pricing model took effect on `2018-04-03`, which requires the SKU `PerGB2018`. If you're provisioned resources before this date you have the option of remaining with the previous Pricing SKU and using the other SKUs defined above. More information about [the Pricing SKUs is available at the following URI](https://aka.ms/PricingTierWarning).

> **NOTE:** Changing `sku` forces a new Log Analytics Workspace to be created, except when changing between `PerGB2018` and `CapacityReservation`. However, changing `sku` to `CapacityReservation` or changing `reservationCapacityInGbPerDay` to a higher tier will lead to a 31-days commitment period, during which the SKU cannot be changed to a lower one. Please refer to [official documentation](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/cost-logs#commitment-tiers) for further information.

func (AnalyticsWorkspaceOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

> **NOTE:** If a `operationalinsights.AnalyticsWorkspace` is connected to a `loganalytics.Cluster` via a `loganalytics.LinkedService` you will not be able to modify the workspaces `sku` field until the link between the workspace and the cluster has been broken by deleting the `loganalytics.LinkedService` resource. All other fields are modifiable while the workspace is linked to a cluster.

func (AnalyticsWorkspaceOutput) ToAnalyticsWorkspaceOutput

func (o AnalyticsWorkspaceOutput) ToAnalyticsWorkspaceOutput() AnalyticsWorkspaceOutput

func (AnalyticsWorkspaceOutput) ToAnalyticsWorkspaceOutputWithContext

func (o AnalyticsWorkspaceOutput) ToAnalyticsWorkspaceOutputWithContext(ctx context.Context) AnalyticsWorkspaceOutput

func (AnalyticsWorkspaceOutput) WorkspaceId added in v5.5.0

The Workspace (or Customer) ID for the Log Analytics Workspace.

type AnalyticsWorkspaceState

type AnalyticsWorkspaceState struct {
	// Specifies if the log Analytics Workspace allow users accessing to data associated with resources they have permission to view, without permission to workspace. Defaults to `true`.
	AllowResourceOnlyPermissions pulumi.BoolPtrInput
	// Is Customer Managed Storage mandatory for query management?
	CmkForQueryForced pulumi.BoolPtrInput
	// The workspace daily quota for ingestion in GB. Defaults to -1 (unlimited) if omitted.
	//
	// > **NOTE:** When `sku` is set to `Free` this field should not be set and has a default value of `0.5`.
	DailyQuotaGb pulumi.Float64PtrInput
	// The ID of the Data Collection Rule to use for this workspace.
	DataCollectionRuleId pulumi.StringPtrInput
	// An `identity` block as defined below.
	Identity AnalyticsWorkspaceIdentityPtrInput
	// Whether to remove the data in the Log Analytics Workspace immediately after 30 days.
	ImmediateDataPurgeOn30DaysEnabled pulumi.BoolPtrInput
	// Should the Log Analytics Workspace support ingestion over the Public Internet? Defaults to `true`.
	InternetIngestionEnabled pulumi.BoolPtrInput
	// Should the Log Analytics Workspace support querying over the Public Internet? Defaults to `true`.
	InternetQueryEnabled pulumi.BoolPtrInput
	// Specifies if the log Analytics workspace should enforce authentication using Azure AD. 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 Log Analytics Workspace. Workspace name should include 4-63 letters, digits or '-'. The '-' shouldn't be the first or the last symbol. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The Primary shared key for the Log Analytics Workspace.
	PrimarySharedKey pulumi.StringPtrInput
	// The capacity reservation level in GB for this workspace. Possible values are `100`, `200`, `300`, `400`, `500`, `1000`, `2000` and `5000`.
	//
	// > **NOTE:** `reservationCapacityInGbPerDay` can only be used when the `sku` is set to `CapacityReservation`.
	ReservationCapacityInGbPerDay pulumi.IntPtrInput
	// The name of the resource group in which the Log Analytics workspace is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The workspace data retention in days. Possible values are either 7 (Free Tier only) or range between 30 and 730.
	RetentionInDays pulumi.IntPtrInput
	// The Secondary shared key for the Log Analytics Workspace.
	SecondarySharedKey pulumi.StringPtrInput
	// Specifies the SKU of the Log Analytics Workspace. Possible values are `PerNode`, `Premium`, `Standard`, `Standalone`, `Unlimited`, `CapacityReservation`, and `PerGB2018` (new SKU as of `2018-04-03`). Defaults to `PerGB2018`.
	//
	// > **NOTE:** A new pricing model took effect on `2018-04-03`, which requires the SKU `PerGB2018`. If you're provisioned resources before this date you have the option of remaining with the previous Pricing SKU and using the other SKUs defined above. More information about [the Pricing SKUs is available at the following URI](https://aka.ms/PricingTierWarning).
	//
	// > **NOTE:** Changing `sku` forces a new Log Analytics Workspace to be created, except when changing between `PerGB2018` and `CapacityReservation`. However, changing `sku` to `CapacityReservation` or changing `reservationCapacityInGbPerDay` to a higher tier will lead to a 31-days commitment period, during which the SKU cannot be changed to a lower one. Please refer to [official documentation](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/cost-logs#commitment-tiers) for further information.
	Sku pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	//
	// > **NOTE:** If a `operationalinsights.AnalyticsWorkspace` is connected to a `loganalytics.Cluster` via a `loganalytics.LinkedService` you will not be able to modify the workspaces `sku` field until the link between the workspace and the cluster has been broken by deleting the `loganalytics.LinkedService` resource. All other fields are modifiable while the workspace is linked to a cluster.
	Tags pulumi.StringMapInput
	// The Workspace (or Customer) ID for the Log Analytics Workspace.
	WorkspaceId pulumi.StringPtrInput
}

func (AnalyticsWorkspaceState) ElementType

func (AnalyticsWorkspaceState) ElementType() reflect.Type

type LookupAnalyticsWorkspaceArgs

type LookupAnalyticsWorkspaceArgs struct {
	// Specifies the name of the Log Analytics Workspace.
	Name string `pulumi:"name"`
	// The name of the resource group in which the Log Analytics workspace is located in.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getAnalyticsWorkspace.

type LookupAnalyticsWorkspaceOutputArgs

type LookupAnalyticsWorkspaceOutputArgs struct {
	// Specifies the name of the Log Analytics Workspace.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the resource group in which the Log Analytics workspace is located in.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getAnalyticsWorkspace.

func (LookupAnalyticsWorkspaceOutputArgs) ElementType

type LookupAnalyticsWorkspaceResult

type LookupAnalyticsWorkspaceResult struct {
	// The workspace daily quota for ingestion in GB.
	DailyQuotaGb float64 `pulumi:"dailyQuotaGb"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Location string `pulumi:"location"`
	Name     string `pulumi:"name"`
	// The Primary shared key for the Log Analytics Workspace.
	PrimarySharedKey  string `pulumi:"primarySharedKey"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The workspace data retention in days.
	RetentionInDays int `pulumi:"retentionInDays"`
	// The Secondary shared key for the Log Analytics Workspace.
	SecondarySharedKey string `pulumi:"secondarySharedKey"`
	// The SKU of the Log Analytics Workspace.
	Sku string `pulumi:"sku"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
	// The Workspace (or Customer) ID for the Log Analytics Workspace.
	WorkspaceId string `pulumi:"workspaceId"`
}

A collection of values returned by getAnalyticsWorkspace.

func LookupAnalyticsWorkspace

func LookupAnalyticsWorkspace(ctx *pulumi.Context, args *LookupAnalyticsWorkspaceArgs, opts ...pulumi.InvokeOption) (*LookupAnalyticsWorkspaceResult, error)

Use this data source to access information about an existing Log Analytics (formally Operational Insights) Workspace.

## Example Usage

```go package main

import (

"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 {
		example, err := operationalinsights.LookupAnalyticsWorkspace(ctx, &operationalinsights.LookupAnalyticsWorkspaceArgs{
			Name:              "acctest-01",
			ResourceGroupName: "acctest",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("logAnalyticsWorkspaceId", example.WorkspaceId)
		return nil
	})
}

```

type LookupAnalyticsWorkspaceResultOutput

type LookupAnalyticsWorkspaceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAnalyticsWorkspace.

func (LookupAnalyticsWorkspaceResultOutput) DailyQuotaGb

The workspace daily quota for ingestion in GB.

func (LookupAnalyticsWorkspaceResultOutput) ElementType

func (LookupAnalyticsWorkspaceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAnalyticsWorkspaceResultOutput) Location

func (LookupAnalyticsWorkspaceResultOutput) Name

func (LookupAnalyticsWorkspaceResultOutput) PrimarySharedKey

The Primary shared key for the Log Analytics Workspace.

func (LookupAnalyticsWorkspaceResultOutput) ResourceGroupName

func (LookupAnalyticsWorkspaceResultOutput) RetentionInDays

The workspace data retention in days.

func (LookupAnalyticsWorkspaceResultOutput) SecondarySharedKey

The Secondary shared key for the Log Analytics Workspace.

func (LookupAnalyticsWorkspaceResultOutput) Sku

The SKU of the Log Analytics Workspace.

func (LookupAnalyticsWorkspaceResultOutput) Tags

A mapping of tags assigned to the resource.

func (LookupAnalyticsWorkspaceResultOutput) ToLookupAnalyticsWorkspaceResultOutput

func (o LookupAnalyticsWorkspaceResultOutput) ToLookupAnalyticsWorkspaceResultOutput() LookupAnalyticsWorkspaceResultOutput

func (LookupAnalyticsWorkspaceResultOutput) ToLookupAnalyticsWorkspaceResultOutputWithContext

func (o LookupAnalyticsWorkspaceResultOutput) ToLookupAnalyticsWorkspaceResultOutputWithContext(ctx context.Context) LookupAnalyticsWorkspaceResultOutput

func (LookupAnalyticsWorkspaceResultOutput) WorkspaceId

The Workspace (or Customer) ID for the Log Analytics Workspace.

type QueryPackQuery added in v5.18.0

type QueryPackQuery struct {
	pulumi.CustomResourceState

	// The additional properties that can be set for the Log Analytics Query Pack Query.
	AdditionalSettingsJson pulumi.StringPtrOutput `pulumi:"additionalSettingsJson"`
	// The body of the Log Analytics Query Pack Query.
	Body pulumi.StringOutput `pulumi:"body"`
	// A list of the related categories for the function. Possible values are `applications`, `audit`, `container`, `databases`, `desktopanalytics`, `management`, `monitor`, `network`, `resources`, `security`, `virtualmachines`, `windowsvirtualdesktop` and `workloads`.
	Categories pulumi.StringArrayOutput `pulumi:"categories"`
	// The description of the Log Analytics Query Pack Query.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The unique display name for the query within the Log Analytics Query Pack.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// An unique UUID/GUID which identifies this Log Analytics Query Pack Query - one will be generated if not specified. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the Log Analytics Query Pack. Changing this forces a new resource to be created.
	QueryPackId pulumi.StringOutput `pulumi:"queryPackId"`
	// A list of the related resource types for the function. Possible values are `default`, `microsoft.aad/domainservices`, `microsoft.aadiam/tenants`, `microsoft.agfoodplatform/farmbeats`, `microsoft.analysisservices/servers`, `microsoft.apimanagement/service`, `microsoft.appconfiguration/configurationstores`, `microsoft.appplatform/spring`, `microsoft.attestation/attestationproviders`, `microsoft.authorization/tenants`, `microsoft.automation/automationaccounts`, `microsoft.autonomousdevelopmentplatform/accounts`, `microsoft.azurestackhci/virtualmachines`, `microsoft.batch/batchaccounts`, `microsoft.blockchain/blockchainmembers`, `microsoft.botservice/botservices`, `microsoft.cache/redis`, `microsoft.cdn/profiles`, `microsoft.cognitiveservices/accounts`, `microsoft.communication/communicationservices`, `microsoft.compute/virtualmachines`, `microsoft.compute/virtualmachinescalesets`, `microsoft.connectedcache/cachenodes`, `microsoft.connectedvehicle/platformaccounts`, `microsoft.conenctedvmwarevsphere/virtualmachines`, `microsoft.containerregistry/registries`, `microsoft.containerservice/managedclusters`, `microsoft.d365customerinsights/instances`, `microsoft.dashboard/grafana`, `microsoft.databricks/workspaces`, `microsoft.datacollaboration/workspaces`, `microsoft.datafactory/factories`, `microsoft.datalakeanalytics/accounts`, `microsoft.datalakestore/accounts`, `microsoft.datashare/accounts`, `microsoft.dbformariadb/servers`, `microsoft.dbformysql/servers`, `microsoft.dbforpostgresql/flexibleservers`, `microsoft.dbforpostgresql/servers`, `microsoft.dbforpostgresql/serversv2`, `microsoft.digitaltwins/digitaltwinsinstances`, `microsoft.documentdb/cassandraclusters`, `microsoft.documentdb/databaseaccounts`, `microsoft.desktopvirtualization/applicationgroups`, `microsoft.desktopvirtualization/hostpools`, `microsoft.desktopvirtualization/workspaces`, `microsoft.devices/iothubs`, `microsoft.devices/provisioningservices`, `microsoft.dynamics/fraudprotection/purchase`, `microsoft.eventgrid/domains`, `microsoft.eventgrid/topics`, `microsoft.eventgrid/partnernamespaces`, `microsoft.eventgrid/partnertopics`, `microsoft.eventgrid/systemtopics`, `microsoft.eventhub/namespaces`, `microsoft.experimentation/experimentworkspaces`, `microsoft.hdinsight/clusters`, `microsoft.healthcareapis/services`, `microsoft.informationprotection/datasecuritymanagement`, `microsoft.intune/operations`, `microsoft.insights/autoscalesettings`, `microsoft.insights/components`, `microsoft.insights/workloadmonitoring`, `microsoft.keyvault/vaults`, `microsoft.kubernetes/connectedclusters`, `microsoft.kusto/clusters`, `microsoft.loadtestservice/loadtests`, `microsoft.logic/workflows`, `microsoft.machinelearningservices/workspaces`, `microsoft.media/mediaservices`, `microsoft.netapp/netappaccounts/capacitypools`, `microsoft.network/applicationgateways`, `microsoft.network/azurefirewalls`, `microsoft.network/bastionhosts`, `microsoft.network/expressroutecircuits`, `microsoft.network/frontdoors`, `microsoft.network/loadbalancers`, `microsoft.network/networkinterfaces`, `microsoft.network/networksecuritygroups`, `microsoft.network/networksecurityperimeters`, `microsoft.network/networkwatchers/connectionmonitors`, `microsoft.network/networkwatchers/trafficanalytics`, `microsoft.network/publicipaddresses`, `microsoft.network/trafficmanagerprofiles`, `microsoft.network/virtualnetworks`, `microsoft.network/virtualnetworkgateways`, `microsoft.network/vpngateways`, `microsoft.networkfunction/azuretrafficcollectors`, `microsoft.openenergyplatform/energyservices`, `microsoft.openlogisticsplatform/workspaces`, `microsoft.operationalinsights/workspaces`, `microsoft.powerbi/tenants`, `microsoft.powerbi/tenants/workspaces`, `microsoft.powerbidedicated/capacities`, `microsoft.purview/accounts`, `microsoft.recoveryservices/vaults`, `microsoft.resources/azureactivity`, `microsoft.scvmm/virtualmachines`, `microsoft.search/searchservices`, `microsoft.security/antimalwaresettings`, `microsoft.securityinsights/amazon`, `microsoft.securityinsights/anomalies`, `microsoft.securityinsights/cef`, `microsoft.securityinsights/datacollection`, `microsoft.securityinsights/dnsnormalized`, `microsoft.securityinsights/mda`, `microsoft.securityinsights/mde`, `microsoft.securityinsights/mdi`, `microsoft.securityinsights/mdo`, `microsoft.securityinsights/networksessionnormalized`, `microsoft.securityinsights/office365`, `microsoft.securityinsights/purview`, `microsoft.securityinsights/securityinsights`, `microsoft.securityinsights/securityinsights/mcas`, `microsoft.securityinsights/tvm`, `microsoft.securityinsights/watchlists`, `microsoft.servicebus/namespaces`, `microsoft.servicefabric/clusters`, `microsoft.signalrservice/signalr`, `microsoft.signalrservice/webpubsub`, `microsoft.sql/managedinstances`, `microsoft.sql/servers`, `microsoft.sql/servers/databases`, `microsoft.storage/storageaccounts`, `microsoft.storagecache/caches`, `microsoft.streamanalytics/streamingjobs`, `microsoft.synapse/workspaces`, `microsoft.timeseriesinsights/environments`, `microsoft.videoindexer/accounts`, `microsoft.web/sites`, `microsoft.workloadmonitor/monitors`, `resourcegroup` and `subscription`.
	ResourceTypes pulumi.StringArrayOutput `pulumi:"resourceTypes"`
	// A list of the related Log Analytics solutions for the function. Possible values are `AADDomainServices`, `ADAssessment`, `ADAssessmentPlus`, `ADReplication`, `ADSecurityAssessment`, `AlertManagement`, `AntiMalware`, `ApplicationInsights`, `AzureAssessment`, `AzureSecurityOfThings`, `AzureSentinelDSRE`, `AzureSentinelPrivatePreview`, `BehaviorAnalyticsInsights`, `ChangeTracking`, `CompatibilityAssessment`, `ContainerInsights`, `Containers`, `CustomizedWindowsEventsFiltering`, `DeviceHealthProd`, `DnsAnalytics`, `ExchangeAssessment`, `ExchangeOnlineAssessment`, `IISAssessmentPlus`, `InfrastructureInsights`, `InternalWindowsEvent`, `LogManagement`, `Microsoft365Analytics`, `NetworkMonitoring`, `SCCMAssessmentPlus`, `SCOMAssessment`, `SCOMAssessmentPlus`, `Security`, `SecurityCenter`, `SecurityCenterFree`, `SecurityInsights`, `ServiceMap`, `SfBAssessment`, `SfBOnlineAssessment`, `SharePointOnlineAssessment`, `SPAssessment`, `SQLAdvancedThreatProtection`, `SQLAssessment`, `SQLAssessmentPlus`, `SQLDataClassification`, `SQLThreatDetection`, `SQLVulnerabilityAssessment`, `SurfaceHub`, `Updates`, `VMInsights`, `WEFInternalUat`, `WEF_10x`, `WEF_10xDSRE`, `WaaSUpdateInsights`, `WinLog`, `WindowsClientAssessmentPlus`, `WindowsEventForwarding`, `WindowsFirewall`, `WindowsServerAssessment`, `WireData` and `WireData2`.
	Solutions pulumi.StringArrayOutput `pulumi:"solutions"`
	// A mapping of tags which should be assigned to the Log Analytics Query Pack Query.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Log Analytics Query Pack Query.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/loganalytics"
"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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleQueryPack, err := loganalytics.NewQueryPack(ctx, "example", &loganalytics.QueryPackArgs{
			Name:              pulumi.String("example-laqp"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
		})
		if err != nil {
			return err
		}
		_, err = operationalinsights.NewQueryPackQuery(ctx, "example", &operationalinsights.QueryPackQueryArgs{
			Name:        pulumi.String("19952bc3-0bf9-49eb-b713-6b80e7a41847"),
			QueryPackId: exampleQueryPack.ID(),
			Body: pulumi.String(`let newExceptionsTimeRange = 1d;

let timeRangeToCheckBefore = 7d; exceptions | where timestamp < ago(timeRangeToCheckBefore) | summarize count() by problemId | join kind= rightanti ( exceptions | where timestamp >= ago(newExceptionsTimeRange) | extend stack = tostring(details[0].rawStack) | summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId ) on problemId | order by count_ desc `),

			DisplayName: pulumi.String("Exceptions - New in the last 24 hours"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log Analytics Query Pack Queries can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:operationalinsights/queryPackQuery:QueryPackQuery example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.OperationalInsights/queryPacks/queryPack1/queries/15b49e87-8555-4d92-8a7b-2014b469a9df ```

func GetQueryPackQuery added in v5.18.0

func GetQueryPackQuery(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *QueryPackQueryState, opts ...pulumi.ResourceOption) (*QueryPackQuery, error)

GetQueryPackQuery gets an existing QueryPackQuery 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 NewQueryPackQuery added in v5.18.0

func NewQueryPackQuery(ctx *pulumi.Context,
	name string, args *QueryPackQueryArgs, opts ...pulumi.ResourceOption) (*QueryPackQuery, error)

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

func (*QueryPackQuery) ElementType added in v5.18.0

func (*QueryPackQuery) ElementType() reflect.Type

func (*QueryPackQuery) ToQueryPackQueryOutput added in v5.18.0

func (i *QueryPackQuery) ToQueryPackQueryOutput() QueryPackQueryOutput

func (*QueryPackQuery) ToQueryPackQueryOutputWithContext added in v5.18.0

func (i *QueryPackQuery) ToQueryPackQueryOutputWithContext(ctx context.Context) QueryPackQueryOutput

type QueryPackQueryArgs added in v5.18.0

type QueryPackQueryArgs struct {
	// The additional properties that can be set for the Log Analytics Query Pack Query.
	AdditionalSettingsJson pulumi.StringPtrInput
	// The body of the Log Analytics Query Pack Query.
	Body pulumi.StringInput
	// A list of the related categories for the function. Possible values are `applications`, `audit`, `container`, `databases`, `desktopanalytics`, `management`, `monitor`, `network`, `resources`, `security`, `virtualmachines`, `windowsvirtualdesktop` and `workloads`.
	Categories pulumi.StringArrayInput
	// The description of the Log Analytics Query Pack Query.
	Description pulumi.StringPtrInput
	// The unique display name for the query within the Log Analytics Query Pack.
	DisplayName pulumi.StringInput
	// An unique UUID/GUID which identifies this Log Analytics Query Pack Query - one will be generated if not specified. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The ID of the Log Analytics Query Pack. Changing this forces a new resource to be created.
	QueryPackId pulumi.StringInput
	// A list of the related resource types for the function. Possible values are `default`, `microsoft.aad/domainservices`, `microsoft.aadiam/tenants`, `microsoft.agfoodplatform/farmbeats`, `microsoft.analysisservices/servers`, `microsoft.apimanagement/service`, `microsoft.appconfiguration/configurationstores`, `microsoft.appplatform/spring`, `microsoft.attestation/attestationproviders`, `microsoft.authorization/tenants`, `microsoft.automation/automationaccounts`, `microsoft.autonomousdevelopmentplatform/accounts`, `microsoft.azurestackhci/virtualmachines`, `microsoft.batch/batchaccounts`, `microsoft.blockchain/blockchainmembers`, `microsoft.botservice/botservices`, `microsoft.cache/redis`, `microsoft.cdn/profiles`, `microsoft.cognitiveservices/accounts`, `microsoft.communication/communicationservices`, `microsoft.compute/virtualmachines`, `microsoft.compute/virtualmachinescalesets`, `microsoft.connectedcache/cachenodes`, `microsoft.connectedvehicle/platformaccounts`, `microsoft.conenctedvmwarevsphere/virtualmachines`, `microsoft.containerregistry/registries`, `microsoft.containerservice/managedclusters`, `microsoft.d365customerinsights/instances`, `microsoft.dashboard/grafana`, `microsoft.databricks/workspaces`, `microsoft.datacollaboration/workspaces`, `microsoft.datafactory/factories`, `microsoft.datalakeanalytics/accounts`, `microsoft.datalakestore/accounts`, `microsoft.datashare/accounts`, `microsoft.dbformariadb/servers`, `microsoft.dbformysql/servers`, `microsoft.dbforpostgresql/flexibleservers`, `microsoft.dbforpostgresql/servers`, `microsoft.dbforpostgresql/serversv2`, `microsoft.digitaltwins/digitaltwinsinstances`, `microsoft.documentdb/cassandraclusters`, `microsoft.documentdb/databaseaccounts`, `microsoft.desktopvirtualization/applicationgroups`, `microsoft.desktopvirtualization/hostpools`, `microsoft.desktopvirtualization/workspaces`, `microsoft.devices/iothubs`, `microsoft.devices/provisioningservices`, `microsoft.dynamics/fraudprotection/purchase`, `microsoft.eventgrid/domains`, `microsoft.eventgrid/topics`, `microsoft.eventgrid/partnernamespaces`, `microsoft.eventgrid/partnertopics`, `microsoft.eventgrid/systemtopics`, `microsoft.eventhub/namespaces`, `microsoft.experimentation/experimentworkspaces`, `microsoft.hdinsight/clusters`, `microsoft.healthcareapis/services`, `microsoft.informationprotection/datasecuritymanagement`, `microsoft.intune/operations`, `microsoft.insights/autoscalesettings`, `microsoft.insights/components`, `microsoft.insights/workloadmonitoring`, `microsoft.keyvault/vaults`, `microsoft.kubernetes/connectedclusters`, `microsoft.kusto/clusters`, `microsoft.loadtestservice/loadtests`, `microsoft.logic/workflows`, `microsoft.machinelearningservices/workspaces`, `microsoft.media/mediaservices`, `microsoft.netapp/netappaccounts/capacitypools`, `microsoft.network/applicationgateways`, `microsoft.network/azurefirewalls`, `microsoft.network/bastionhosts`, `microsoft.network/expressroutecircuits`, `microsoft.network/frontdoors`, `microsoft.network/loadbalancers`, `microsoft.network/networkinterfaces`, `microsoft.network/networksecuritygroups`, `microsoft.network/networksecurityperimeters`, `microsoft.network/networkwatchers/connectionmonitors`, `microsoft.network/networkwatchers/trafficanalytics`, `microsoft.network/publicipaddresses`, `microsoft.network/trafficmanagerprofiles`, `microsoft.network/virtualnetworks`, `microsoft.network/virtualnetworkgateways`, `microsoft.network/vpngateways`, `microsoft.networkfunction/azuretrafficcollectors`, `microsoft.openenergyplatform/energyservices`, `microsoft.openlogisticsplatform/workspaces`, `microsoft.operationalinsights/workspaces`, `microsoft.powerbi/tenants`, `microsoft.powerbi/tenants/workspaces`, `microsoft.powerbidedicated/capacities`, `microsoft.purview/accounts`, `microsoft.recoveryservices/vaults`, `microsoft.resources/azureactivity`, `microsoft.scvmm/virtualmachines`, `microsoft.search/searchservices`, `microsoft.security/antimalwaresettings`, `microsoft.securityinsights/amazon`, `microsoft.securityinsights/anomalies`, `microsoft.securityinsights/cef`, `microsoft.securityinsights/datacollection`, `microsoft.securityinsights/dnsnormalized`, `microsoft.securityinsights/mda`, `microsoft.securityinsights/mde`, `microsoft.securityinsights/mdi`, `microsoft.securityinsights/mdo`, `microsoft.securityinsights/networksessionnormalized`, `microsoft.securityinsights/office365`, `microsoft.securityinsights/purview`, `microsoft.securityinsights/securityinsights`, `microsoft.securityinsights/securityinsights/mcas`, `microsoft.securityinsights/tvm`, `microsoft.securityinsights/watchlists`, `microsoft.servicebus/namespaces`, `microsoft.servicefabric/clusters`, `microsoft.signalrservice/signalr`, `microsoft.signalrservice/webpubsub`, `microsoft.sql/managedinstances`, `microsoft.sql/servers`, `microsoft.sql/servers/databases`, `microsoft.storage/storageaccounts`, `microsoft.storagecache/caches`, `microsoft.streamanalytics/streamingjobs`, `microsoft.synapse/workspaces`, `microsoft.timeseriesinsights/environments`, `microsoft.videoindexer/accounts`, `microsoft.web/sites`, `microsoft.workloadmonitor/monitors`, `resourcegroup` and `subscription`.
	ResourceTypes pulumi.StringArrayInput
	// A list of the related Log Analytics solutions for the function. Possible values are `AADDomainServices`, `ADAssessment`, `ADAssessmentPlus`, `ADReplication`, `ADSecurityAssessment`, `AlertManagement`, `AntiMalware`, `ApplicationInsights`, `AzureAssessment`, `AzureSecurityOfThings`, `AzureSentinelDSRE`, `AzureSentinelPrivatePreview`, `BehaviorAnalyticsInsights`, `ChangeTracking`, `CompatibilityAssessment`, `ContainerInsights`, `Containers`, `CustomizedWindowsEventsFiltering`, `DeviceHealthProd`, `DnsAnalytics`, `ExchangeAssessment`, `ExchangeOnlineAssessment`, `IISAssessmentPlus`, `InfrastructureInsights`, `InternalWindowsEvent`, `LogManagement`, `Microsoft365Analytics`, `NetworkMonitoring`, `SCCMAssessmentPlus`, `SCOMAssessment`, `SCOMAssessmentPlus`, `Security`, `SecurityCenter`, `SecurityCenterFree`, `SecurityInsights`, `ServiceMap`, `SfBAssessment`, `SfBOnlineAssessment`, `SharePointOnlineAssessment`, `SPAssessment`, `SQLAdvancedThreatProtection`, `SQLAssessment`, `SQLAssessmentPlus`, `SQLDataClassification`, `SQLThreatDetection`, `SQLVulnerabilityAssessment`, `SurfaceHub`, `Updates`, `VMInsights`, `WEFInternalUat`, `WEF_10x`, `WEF_10xDSRE`, `WaaSUpdateInsights`, `WinLog`, `WindowsClientAssessmentPlus`, `WindowsEventForwarding`, `WindowsFirewall`, `WindowsServerAssessment`, `WireData` and `WireData2`.
	Solutions pulumi.StringArrayInput
	// A mapping of tags which should be assigned to the Log Analytics Query Pack Query.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a QueryPackQuery resource.

func (QueryPackQueryArgs) ElementType added in v5.18.0

func (QueryPackQueryArgs) ElementType() reflect.Type

type QueryPackQueryArray added in v5.18.0

type QueryPackQueryArray []QueryPackQueryInput

func (QueryPackQueryArray) ElementType added in v5.18.0

func (QueryPackQueryArray) ElementType() reflect.Type

func (QueryPackQueryArray) ToQueryPackQueryArrayOutput added in v5.18.0

func (i QueryPackQueryArray) ToQueryPackQueryArrayOutput() QueryPackQueryArrayOutput

func (QueryPackQueryArray) ToQueryPackQueryArrayOutputWithContext added in v5.18.0

func (i QueryPackQueryArray) ToQueryPackQueryArrayOutputWithContext(ctx context.Context) QueryPackQueryArrayOutput

type QueryPackQueryArrayInput added in v5.18.0

type QueryPackQueryArrayInput interface {
	pulumi.Input

	ToQueryPackQueryArrayOutput() QueryPackQueryArrayOutput
	ToQueryPackQueryArrayOutputWithContext(context.Context) QueryPackQueryArrayOutput
}

QueryPackQueryArrayInput is an input type that accepts QueryPackQueryArray and QueryPackQueryArrayOutput values. You can construct a concrete instance of `QueryPackQueryArrayInput` via:

QueryPackQueryArray{ QueryPackQueryArgs{...} }

type QueryPackQueryArrayOutput added in v5.18.0

type QueryPackQueryArrayOutput struct{ *pulumi.OutputState }

func (QueryPackQueryArrayOutput) ElementType added in v5.18.0

func (QueryPackQueryArrayOutput) ElementType() reflect.Type

func (QueryPackQueryArrayOutput) Index added in v5.18.0

func (QueryPackQueryArrayOutput) ToQueryPackQueryArrayOutput added in v5.18.0

func (o QueryPackQueryArrayOutput) ToQueryPackQueryArrayOutput() QueryPackQueryArrayOutput

func (QueryPackQueryArrayOutput) ToQueryPackQueryArrayOutputWithContext added in v5.18.0

func (o QueryPackQueryArrayOutput) ToQueryPackQueryArrayOutputWithContext(ctx context.Context) QueryPackQueryArrayOutput

type QueryPackQueryInput added in v5.18.0

type QueryPackQueryInput interface {
	pulumi.Input

	ToQueryPackQueryOutput() QueryPackQueryOutput
	ToQueryPackQueryOutputWithContext(ctx context.Context) QueryPackQueryOutput
}

type QueryPackQueryMap added in v5.18.0

type QueryPackQueryMap map[string]QueryPackQueryInput

func (QueryPackQueryMap) ElementType added in v5.18.0

func (QueryPackQueryMap) ElementType() reflect.Type

func (QueryPackQueryMap) ToQueryPackQueryMapOutput added in v5.18.0

func (i QueryPackQueryMap) ToQueryPackQueryMapOutput() QueryPackQueryMapOutput

func (QueryPackQueryMap) ToQueryPackQueryMapOutputWithContext added in v5.18.0

func (i QueryPackQueryMap) ToQueryPackQueryMapOutputWithContext(ctx context.Context) QueryPackQueryMapOutput

type QueryPackQueryMapInput added in v5.18.0

type QueryPackQueryMapInput interface {
	pulumi.Input

	ToQueryPackQueryMapOutput() QueryPackQueryMapOutput
	ToQueryPackQueryMapOutputWithContext(context.Context) QueryPackQueryMapOutput
}

QueryPackQueryMapInput is an input type that accepts QueryPackQueryMap and QueryPackQueryMapOutput values. You can construct a concrete instance of `QueryPackQueryMapInput` via:

QueryPackQueryMap{ "key": QueryPackQueryArgs{...} }

type QueryPackQueryMapOutput added in v5.18.0

type QueryPackQueryMapOutput struct{ *pulumi.OutputState }

func (QueryPackQueryMapOutput) ElementType added in v5.18.0

func (QueryPackQueryMapOutput) ElementType() reflect.Type

func (QueryPackQueryMapOutput) MapIndex added in v5.18.0

func (QueryPackQueryMapOutput) ToQueryPackQueryMapOutput added in v5.18.0

func (o QueryPackQueryMapOutput) ToQueryPackQueryMapOutput() QueryPackQueryMapOutput

func (QueryPackQueryMapOutput) ToQueryPackQueryMapOutputWithContext added in v5.18.0

func (o QueryPackQueryMapOutput) ToQueryPackQueryMapOutputWithContext(ctx context.Context) QueryPackQueryMapOutput

type QueryPackQueryOutput added in v5.18.0

type QueryPackQueryOutput struct{ *pulumi.OutputState }

func (QueryPackQueryOutput) AdditionalSettingsJson added in v5.18.0

func (o QueryPackQueryOutput) AdditionalSettingsJson() pulumi.StringPtrOutput

The additional properties that can be set for the Log Analytics Query Pack Query.

func (QueryPackQueryOutput) Body added in v5.18.0

The body of the Log Analytics Query Pack Query.

func (QueryPackQueryOutput) Categories added in v5.18.0

A list of the related categories for the function. Possible values are `applications`, `audit`, `container`, `databases`, `desktopanalytics`, `management`, `monitor`, `network`, `resources`, `security`, `virtualmachines`, `windowsvirtualdesktop` and `workloads`.

func (QueryPackQueryOutput) Description added in v5.18.0

The description of the Log Analytics Query Pack Query.

func (QueryPackQueryOutput) DisplayName added in v5.18.0

func (o QueryPackQueryOutput) DisplayName() pulumi.StringOutput

The unique display name for the query within the Log Analytics Query Pack.

func (QueryPackQueryOutput) ElementType added in v5.18.0

func (QueryPackQueryOutput) ElementType() reflect.Type

func (QueryPackQueryOutput) Name added in v5.18.0

An unique UUID/GUID which identifies this Log Analytics Query Pack Query - one will be generated if not specified. Changing this forces a new resource to be created.

func (QueryPackQueryOutput) QueryPackId added in v5.18.0

func (o QueryPackQueryOutput) QueryPackId() pulumi.StringOutput

The ID of the Log Analytics Query Pack. Changing this forces a new resource to be created.

func (QueryPackQueryOutput) ResourceTypes added in v5.18.0

func (o QueryPackQueryOutput) ResourceTypes() pulumi.StringArrayOutput

A list of the related resource types for the function. Possible values are `default`, `microsoft.aad/domainservices`, `microsoft.aadiam/tenants`, `microsoft.agfoodplatform/farmbeats`, `microsoft.analysisservices/servers`, `microsoft.apimanagement/service`, `microsoft.appconfiguration/configurationstores`, `microsoft.appplatform/spring`, `microsoft.attestation/attestationproviders`, `microsoft.authorization/tenants`, `microsoft.automation/automationaccounts`, `microsoft.autonomousdevelopmentplatform/accounts`, `microsoft.azurestackhci/virtualmachines`, `microsoft.batch/batchaccounts`, `microsoft.blockchain/blockchainmembers`, `microsoft.botservice/botservices`, `microsoft.cache/redis`, `microsoft.cdn/profiles`, `microsoft.cognitiveservices/accounts`, `microsoft.communication/communicationservices`, `microsoft.compute/virtualmachines`, `microsoft.compute/virtualmachinescalesets`, `microsoft.connectedcache/cachenodes`, `microsoft.connectedvehicle/platformaccounts`, `microsoft.conenctedvmwarevsphere/virtualmachines`, `microsoft.containerregistry/registries`, `microsoft.containerservice/managedclusters`, `microsoft.d365customerinsights/instances`, `microsoft.dashboard/grafana`, `microsoft.databricks/workspaces`, `microsoft.datacollaboration/workspaces`, `microsoft.datafactory/factories`, `microsoft.datalakeanalytics/accounts`, `microsoft.datalakestore/accounts`, `microsoft.datashare/accounts`, `microsoft.dbformariadb/servers`, `microsoft.dbformysql/servers`, `microsoft.dbforpostgresql/flexibleservers`, `microsoft.dbforpostgresql/servers`, `microsoft.dbforpostgresql/serversv2`, `microsoft.digitaltwins/digitaltwinsinstances`, `microsoft.documentdb/cassandraclusters`, `microsoft.documentdb/databaseaccounts`, `microsoft.desktopvirtualization/applicationgroups`, `microsoft.desktopvirtualization/hostpools`, `microsoft.desktopvirtualization/workspaces`, `microsoft.devices/iothubs`, `microsoft.devices/provisioningservices`, `microsoft.dynamics/fraudprotection/purchase`, `microsoft.eventgrid/domains`, `microsoft.eventgrid/topics`, `microsoft.eventgrid/partnernamespaces`, `microsoft.eventgrid/partnertopics`, `microsoft.eventgrid/systemtopics`, `microsoft.eventhub/namespaces`, `microsoft.experimentation/experimentworkspaces`, `microsoft.hdinsight/clusters`, `microsoft.healthcareapis/services`, `microsoft.informationprotection/datasecuritymanagement`, `microsoft.intune/operations`, `microsoft.insights/autoscalesettings`, `microsoft.insights/components`, `microsoft.insights/workloadmonitoring`, `microsoft.keyvault/vaults`, `microsoft.kubernetes/connectedclusters`, `microsoft.kusto/clusters`, `microsoft.loadtestservice/loadtests`, `microsoft.logic/workflows`, `microsoft.machinelearningservices/workspaces`, `microsoft.media/mediaservices`, `microsoft.netapp/netappaccounts/capacitypools`, `microsoft.network/applicationgateways`, `microsoft.network/azurefirewalls`, `microsoft.network/bastionhosts`, `microsoft.network/expressroutecircuits`, `microsoft.network/frontdoors`, `microsoft.network/loadbalancers`, `microsoft.network/networkinterfaces`, `microsoft.network/networksecuritygroups`, `microsoft.network/networksecurityperimeters`, `microsoft.network/networkwatchers/connectionmonitors`, `microsoft.network/networkwatchers/trafficanalytics`, `microsoft.network/publicipaddresses`, `microsoft.network/trafficmanagerprofiles`, `microsoft.network/virtualnetworks`, `microsoft.network/virtualnetworkgateways`, `microsoft.network/vpngateways`, `microsoft.networkfunction/azuretrafficcollectors`, `microsoft.openenergyplatform/energyservices`, `microsoft.openlogisticsplatform/workspaces`, `microsoft.operationalinsights/workspaces`, `microsoft.powerbi/tenants`, `microsoft.powerbi/tenants/workspaces`, `microsoft.powerbidedicated/capacities`, `microsoft.purview/accounts`, `microsoft.recoveryservices/vaults`, `microsoft.resources/azureactivity`, `microsoft.scvmm/virtualmachines`, `microsoft.search/searchservices`, `microsoft.security/antimalwaresettings`, `microsoft.securityinsights/amazon`, `microsoft.securityinsights/anomalies`, `microsoft.securityinsights/cef`, `microsoft.securityinsights/datacollection`, `microsoft.securityinsights/dnsnormalized`, `microsoft.securityinsights/mda`, `microsoft.securityinsights/mde`, `microsoft.securityinsights/mdi`, `microsoft.securityinsights/mdo`, `microsoft.securityinsights/networksessionnormalized`, `microsoft.securityinsights/office365`, `microsoft.securityinsights/purview`, `microsoft.securityinsights/securityinsights`, `microsoft.securityinsights/securityinsights/mcas`, `microsoft.securityinsights/tvm`, `microsoft.securityinsights/watchlists`, `microsoft.servicebus/namespaces`, `microsoft.servicefabric/clusters`, `microsoft.signalrservice/signalr`, `microsoft.signalrservice/webpubsub`, `microsoft.sql/managedinstances`, `microsoft.sql/servers`, `microsoft.sql/servers/databases`, `microsoft.storage/storageaccounts`, `microsoft.storagecache/caches`, `microsoft.streamanalytics/streamingjobs`, `microsoft.synapse/workspaces`, `microsoft.timeseriesinsights/environments`, `microsoft.videoindexer/accounts`, `microsoft.web/sites`, `microsoft.workloadmonitor/monitors`, `resourcegroup` and `subscription`.

func (QueryPackQueryOutput) Solutions added in v5.18.0

A list of the related Log Analytics solutions for the function. Possible values are `AADDomainServices`, `ADAssessment`, `ADAssessmentPlus`, `ADReplication`, `ADSecurityAssessment`, `AlertManagement`, `AntiMalware`, `ApplicationInsights`, `AzureAssessment`, `AzureSecurityOfThings`, `AzureSentinelDSRE`, `AzureSentinelPrivatePreview`, `BehaviorAnalyticsInsights`, `ChangeTracking`, `CompatibilityAssessment`, `ContainerInsights`, `Containers`, `CustomizedWindowsEventsFiltering`, `DeviceHealthProd`, `DnsAnalytics`, `ExchangeAssessment`, `ExchangeOnlineAssessment`, `IISAssessmentPlus`, `InfrastructureInsights`, `InternalWindowsEvent`, `LogManagement`, `Microsoft365Analytics`, `NetworkMonitoring`, `SCCMAssessmentPlus`, `SCOMAssessment`, `SCOMAssessmentPlus`, `Security`, `SecurityCenter`, `SecurityCenterFree`, `SecurityInsights`, `ServiceMap`, `SfBAssessment`, `SfBOnlineAssessment`, `SharePointOnlineAssessment`, `SPAssessment`, `SQLAdvancedThreatProtection`, `SQLAssessment`, `SQLAssessmentPlus`, `SQLDataClassification`, `SQLThreatDetection`, `SQLVulnerabilityAssessment`, `SurfaceHub`, `Updates`, `VMInsights`, `WEFInternalUat`, `WEF_10x`, `WEF_10xDSRE`, `WaaSUpdateInsights`, `WinLog`, `WindowsClientAssessmentPlus`, `WindowsEventForwarding`, `WindowsFirewall`, `WindowsServerAssessment`, `WireData` and `WireData2`.

func (QueryPackQueryOutput) Tags added in v5.18.0

A mapping of tags which should be assigned to the Log Analytics Query Pack Query.

func (QueryPackQueryOutput) ToQueryPackQueryOutput added in v5.18.0

func (o QueryPackQueryOutput) ToQueryPackQueryOutput() QueryPackQueryOutput

func (QueryPackQueryOutput) ToQueryPackQueryOutputWithContext added in v5.18.0

func (o QueryPackQueryOutput) ToQueryPackQueryOutputWithContext(ctx context.Context) QueryPackQueryOutput

type QueryPackQueryState added in v5.18.0

type QueryPackQueryState struct {
	// The additional properties that can be set for the Log Analytics Query Pack Query.
	AdditionalSettingsJson pulumi.StringPtrInput
	// The body of the Log Analytics Query Pack Query.
	Body pulumi.StringPtrInput
	// A list of the related categories for the function. Possible values are `applications`, `audit`, `container`, `databases`, `desktopanalytics`, `management`, `monitor`, `network`, `resources`, `security`, `virtualmachines`, `windowsvirtualdesktop` and `workloads`.
	Categories pulumi.StringArrayInput
	// The description of the Log Analytics Query Pack Query.
	Description pulumi.StringPtrInput
	// The unique display name for the query within the Log Analytics Query Pack.
	DisplayName pulumi.StringPtrInput
	// An unique UUID/GUID which identifies this Log Analytics Query Pack Query - one will be generated if not specified. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The ID of the Log Analytics Query Pack. Changing this forces a new resource to be created.
	QueryPackId pulumi.StringPtrInput
	// A list of the related resource types for the function. Possible values are `default`, `microsoft.aad/domainservices`, `microsoft.aadiam/tenants`, `microsoft.agfoodplatform/farmbeats`, `microsoft.analysisservices/servers`, `microsoft.apimanagement/service`, `microsoft.appconfiguration/configurationstores`, `microsoft.appplatform/spring`, `microsoft.attestation/attestationproviders`, `microsoft.authorization/tenants`, `microsoft.automation/automationaccounts`, `microsoft.autonomousdevelopmentplatform/accounts`, `microsoft.azurestackhci/virtualmachines`, `microsoft.batch/batchaccounts`, `microsoft.blockchain/blockchainmembers`, `microsoft.botservice/botservices`, `microsoft.cache/redis`, `microsoft.cdn/profiles`, `microsoft.cognitiveservices/accounts`, `microsoft.communication/communicationservices`, `microsoft.compute/virtualmachines`, `microsoft.compute/virtualmachinescalesets`, `microsoft.connectedcache/cachenodes`, `microsoft.connectedvehicle/platformaccounts`, `microsoft.conenctedvmwarevsphere/virtualmachines`, `microsoft.containerregistry/registries`, `microsoft.containerservice/managedclusters`, `microsoft.d365customerinsights/instances`, `microsoft.dashboard/grafana`, `microsoft.databricks/workspaces`, `microsoft.datacollaboration/workspaces`, `microsoft.datafactory/factories`, `microsoft.datalakeanalytics/accounts`, `microsoft.datalakestore/accounts`, `microsoft.datashare/accounts`, `microsoft.dbformariadb/servers`, `microsoft.dbformysql/servers`, `microsoft.dbforpostgresql/flexibleservers`, `microsoft.dbforpostgresql/servers`, `microsoft.dbforpostgresql/serversv2`, `microsoft.digitaltwins/digitaltwinsinstances`, `microsoft.documentdb/cassandraclusters`, `microsoft.documentdb/databaseaccounts`, `microsoft.desktopvirtualization/applicationgroups`, `microsoft.desktopvirtualization/hostpools`, `microsoft.desktopvirtualization/workspaces`, `microsoft.devices/iothubs`, `microsoft.devices/provisioningservices`, `microsoft.dynamics/fraudprotection/purchase`, `microsoft.eventgrid/domains`, `microsoft.eventgrid/topics`, `microsoft.eventgrid/partnernamespaces`, `microsoft.eventgrid/partnertopics`, `microsoft.eventgrid/systemtopics`, `microsoft.eventhub/namespaces`, `microsoft.experimentation/experimentworkspaces`, `microsoft.hdinsight/clusters`, `microsoft.healthcareapis/services`, `microsoft.informationprotection/datasecuritymanagement`, `microsoft.intune/operations`, `microsoft.insights/autoscalesettings`, `microsoft.insights/components`, `microsoft.insights/workloadmonitoring`, `microsoft.keyvault/vaults`, `microsoft.kubernetes/connectedclusters`, `microsoft.kusto/clusters`, `microsoft.loadtestservice/loadtests`, `microsoft.logic/workflows`, `microsoft.machinelearningservices/workspaces`, `microsoft.media/mediaservices`, `microsoft.netapp/netappaccounts/capacitypools`, `microsoft.network/applicationgateways`, `microsoft.network/azurefirewalls`, `microsoft.network/bastionhosts`, `microsoft.network/expressroutecircuits`, `microsoft.network/frontdoors`, `microsoft.network/loadbalancers`, `microsoft.network/networkinterfaces`, `microsoft.network/networksecuritygroups`, `microsoft.network/networksecurityperimeters`, `microsoft.network/networkwatchers/connectionmonitors`, `microsoft.network/networkwatchers/trafficanalytics`, `microsoft.network/publicipaddresses`, `microsoft.network/trafficmanagerprofiles`, `microsoft.network/virtualnetworks`, `microsoft.network/virtualnetworkgateways`, `microsoft.network/vpngateways`, `microsoft.networkfunction/azuretrafficcollectors`, `microsoft.openenergyplatform/energyservices`, `microsoft.openlogisticsplatform/workspaces`, `microsoft.operationalinsights/workspaces`, `microsoft.powerbi/tenants`, `microsoft.powerbi/tenants/workspaces`, `microsoft.powerbidedicated/capacities`, `microsoft.purview/accounts`, `microsoft.recoveryservices/vaults`, `microsoft.resources/azureactivity`, `microsoft.scvmm/virtualmachines`, `microsoft.search/searchservices`, `microsoft.security/antimalwaresettings`, `microsoft.securityinsights/amazon`, `microsoft.securityinsights/anomalies`, `microsoft.securityinsights/cef`, `microsoft.securityinsights/datacollection`, `microsoft.securityinsights/dnsnormalized`, `microsoft.securityinsights/mda`, `microsoft.securityinsights/mde`, `microsoft.securityinsights/mdi`, `microsoft.securityinsights/mdo`, `microsoft.securityinsights/networksessionnormalized`, `microsoft.securityinsights/office365`, `microsoft.securityinsights/purview`, `microsoft.securityinsights/securityinsights`, `microsoft.securityinsights/securityinsights/mcas`, `microsoft.securityinsights/tvm`, `microsoft.securityinsights/watchlists`, `microsoft.servicebus/namespaces`, `microsoft.servicefabric/clusters`, `microsoft.signalrservice/signalr`, `microsoft.signalrservice/webpubsub`, `microsoft.sql/managedinstances`, `microsoft.sql/servers`, `microsoft.sql/servers/databases`, `microsoft.storage/storageaccounts`, `microsoft.storagecache/caches`, `microsoft.streamanalytics/streamingjobs`, `microsoft.synapse/workspaces`, `microsoft.timeseriesinsights/environments`, `microsoft.videoindexer/accounts`, `microsoft.web/sites`, `microsoft.workloadmonitor/monitors`, `resourcegroup` and `subscription`.
	ResourceTypes pulumi.StringArrayInput
	// A list of the related Log Analytics solutions for the function. Possible values are `AADDomainServices`, `ADAssessment`, `ADAssessmentPlus`, `ADReplication`, `ADSecurityAssessment`, `AlertManagement`, `AntiMalware`, `ApplicationInsights`, `AzureAssessment`, `AzureSecurityOfThings`, `AzureSentinelDSRE`, `AzureSentinelPrivatePreview`, `BehaviorAnalyticsInsights`, `ChangeTracking`, `CompatibilityAssessment`, `ContainerInsights`, `Containers`, `CustomizedWindowsEventsFiltering`, `DeviceHealthProd`, `DnsAnalytics`, `ExchangeAssessment`, `ExchangeOnlineAssessment`, `IISAssessmentPlus`, `InfrastructureInsights`, `InternalWindowsEvent`, `LogManagement`, `Microsoft365Analytics`, `NetworkMonitoring`, `SCCMAssessmentPlus`, `SCOMAssessment`, `SCOMAssessmentPlus`, `Security`, `SecurityCenter`, `SecurityCenterFree`, `SecurityInsights`, `ServiceMap`, `SfBAssessment`, `SfBOnlineAssessment`, `SharePointOnlineAssessment`, `SPAssessment`, `SQLAdvancedThreatProtection`, `SQLAssessment`, `SQLAssessmentPlus`, `SQLDataClassification`, `SQLThreatDetection`, `SQLVulnerabilityAssessment`, `SurfaceHub`, `Updates`, `VMInsights`, `WEFInternalUat`, `WEF_10x`, `WEF_10xDSRE`, `WaaSUpdateInsights`, `WinLog`, `WindowsClientAssessmentPlus`, `WindowsEventForwarding`, `WindowsFirewall`, `WindowsServerAssessment`, `WireData` and `WireData2`.
	Solutions pulumi.StringArrayInput
	// A mapping of tags which should be assigned to the Log Analytics Query Pack Query.
	Tags pulumi.StringMapInput
}

func (QueryPackQueryState) ElementType added in v5.18.0

func (QueryPackQueryState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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