loganalytics

package
v3.56.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 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 Cluster added in v3.32.0

type Cluster struct {
	pulumi.CustomResourceState

	// The GUID of the cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// A `identity` block as defined below. Changing this forces a new Log Analytics Cluster to be created.
	Identity ClusterIdentityOutput `pulumi:"identity"`
	// The Azure Region where the Log Analytics Cluster should exist. Changing this forces a new Log Analytics Cluster to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for this Log Analytics Cluster. Changing this forces a new Log Analytics Cluster to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Log Analytics Cluster should exist. Changing this forces a new Log Analytics Cluster to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The capacity of the Log Analytics Cluster specified in GB/day. Defaults to 1000.
	SizeGb pulumi.IntPtrOutput `pulumi:"sizeGb"`
	// A mapping of tags which should be assigned to the Log Analytics Cluster.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

!> **Important** Due to capacity constraints, Microsoft requires you to pre-register your subscription IDs before you are allowed to create a Log Analytics cluster. Contact Microsoft, or open a support request to register your subscription IDs.

> **Note:** Log Analytics Clusters are subject to 14-day soft delete policy. Clusters created with the same resource group & name as a previously deleted cluster will be recovered rather than creating anew.

Manages a Log Analytics Cluster.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/loganalytics"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = loganalytics.NewCluster(ctx, "exampleCluster", &loganalytics.ClusterArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			Identity: &loganalytics.ClusterIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:loganalytics/cluster:Cluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.OperationalInsights/clusters/cluster1

```

func GetCluster added in v3.32.0

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster 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 NewCluster added in v3.32.0

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

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

func (*Cluster) ElementType added in v3.32.0

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput added in v3.32.0

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext added in v3.32.0

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (*Cluster) ToClusterPtrOutput added in v3.47.1

func (i *Cluster) ToClusterPtrOutput() ClusterPtrOutput

func (*Cluster) ToClusterPtrOutputWithContext added in v3.47.1

func (i *Cluster) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterArgs added in v3.32.0

type ClusterArgs struct {
	// A `identity` block as defined below. Changing this forces a new Log Analytics Cluster to be created.
	Identity ClusterIdentityInput
	// The Azure Region where the Log Analytics Cluster should exist. Changing this forces a new Log Analytics Cluster to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Log Analytics Cluster. Changing this forces a new Log Analytics Cluster to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Log Analytics Cluster should exist. Changing this forces a new Log Analytics Cluster to be created.
	ResourceGroupName pulumi.StringInput
	// The capacity of the Log Analytics Cluster specified in GB/day. Defaults to 1000.
	SizeGb pulumi.IntPtrInput
	// A mapping of tags which should be assigned to the Log Analytics Cluster.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType added in v3.32.0

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray added in v3.47.1

type ClusterArray []ClusterInput

func (ClusterArray) ElementType added in v3.47.1

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput added in v3.47.1

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext added in v3.47.1

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput added in v3.47.1

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput added in v3.47.1

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType added in v3.47.1

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index added in v3.47.1

func (ClusterArrayOutput) ToClusterArrayOutput added in v3.47.1

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext added in v3.47.1

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterCustomerManagedKey added in v3.32.0

type ClusterCustomerManagedKey struct {
	pulumi.CustomResourceState

	// The ID of the Key Vault Key to use for encryption.
	KeyVaultKeyId pulumi.StringOutput `pulumi:"keyVaultKeyId"`
	// The ID of the Log Analytics Cluster. Changing this forces a new Log Analytics Cluster Customer Managed Key to be created.
	LogAnalyticsClusterId pulumi.StringOutput `pulumi:"logAnalyticsClusterId"`
}

Manages a Log Analytics Cluster Customer Managed Key.

## Import

Log Analytics Cluster Customer Managed Keys can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:loganalytics/clusterCustomerManagedKey:ClusterCustomerManagedKey example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.OperationalInsights/clusters/cluster1/CMK

```

func GetClusterCustomerManagedKey added in v3.32.0

func GetClusterCustomerManagedKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterCustomerManagedKeyState, opts ...pulumi.ResourceOption) (*ClusterCustomerManagedKey, error)

GetClusterCustomerManagedKey gets an existing ClusterCustomerManagedKey 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 NewClusterCustomerManagedKey added in v3.32.0

func NewClusterCustomerManagedKey(ctx *pulumi.Context,
	name string, args *ClusterCustomerManagedKeyArgs, opts ...pulumi.ResourceOption) (*ClusterCustomerManagedKey, error)

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

func (*ClusterCustomerManagedKey) ElementType added in v3.32.0

func (*ClusterCustomerManagedKey) ElementType() reflect.Type

func (*ClusterCustomerManagedKey) ToClusterCustomerManagedKeyOutput added in v3.32.0

func (i *ClusterCustomerManagedKey) ToClusterCustomerManagedKeyOutput() ClusterCustomerManagedKeyOutput

func (*ClusterCustomerManagedKey) ToClusterCustomerManagedKeyOutputWithContext added in v3.32.0

func (i *ClusterCustomerManagedKey) ToClusterCustomerManagedKeyOutputWithContext(ctx context.Context) ClusterCustomerManagedKeyOutput

func (*ClusterCustomerManagedKey) ToClusterCustomerManagedKeyPtrOutput added in v3.47.1

func (i *ClusterCustomerManagedKey) ToClusterCustomerManagedKeyPtrOutput() ClusterCustomerManagedKeyPtrOutput

func (*ClusterCustomerManagedKey) ToClusterCustomerManagedKeyPtrOutputWithContext added in v3.47.1

func (i *ClusterCustomerManagedKey) ToClusterCustomerManagedKeyPtrOutputWithContext(ctx context.Context) ClusterCustomerManagedKeyPtrOutput

type ClusterCustomerManagedKeyArgs added in v3.32.0

type ClusterCustomerManagedKeyArgs struct {
	// The ID of the Key Vault Key to use for encryption.
	KeyVaultKeyId pulumi.StringInput
	// The ID of the Log Analytics Cluster. Changing this forces a new Log Analytics Cluster Customer Managed Key to be created.
	LogAnalyticsClusterId pulumi.StringInput
}

The set of arguments for constructing a ClusterCustomerManagedKey resource.

func (ClusterCustomerManagedKeyArgs) ElementType added in v3.32.0

type ClusterCustomerManagedKeyArray added in v3.47.1

type ClusterCustomerManagedKeyArray []ClusterCustomerManagedKeyInput

func (ClusterCustomerManagedKeyArray) ElementType added in v3.47.1

func (ClusterCustomerManagedKeyArray) ToClusterCustomerManagedKeyArrayOutput added in v3.47.1

func (i ClusterCustomerManagedKeyArray) ToClusterCustomerManagedKeyArrayOutput() ClusterCustomerManagedKeyArrayOutput

func (ClusterCustomerManagedKeyArray) ToClusterCustomerManagedKeyArrayOutputWithContext added in v3.47.1

func (i ClusterCustomerManagedKeyArray) ToClusterCustomerManagedKeyArrayOutputWithContext(ctx context.Context) ClusterCustomerManagedKeyArrayOutput

type ClusterCustomerManagedKeyArrayInput added in v3.47.1

type ClusterCustomerManagedKeyArrayInput interface {
	pulumi.Input

	ToClusterCustomerManagedKeyArrayOutput() ClusterCustomerManagedKeyArrayOutput
	ToClusterCustomerManagedKeyArrayOutputWithContext(context.Context) ClusterCustomerManagedKeyArrayOutput
}

ClusterCustomerManagedKeyArrayInput is an input type that accepts ClusterCustomerManagedKeyArray and ClusterCustomerManagedKeyArrayOutput values. You can construct a concrete instance of `ClusterCustomerManagedKeyArrayInput` via:

ClusterCustomerManagedKeyArray{ ClusterCustomerManagedKeyArgs{...} }

type ClusterCustomerManagedKeyArrayOutput added in v3.47.1

type ClusterCustomerManagedKeyArrayOutput struct{ *pulumi.OutputState }

func (ClusterCustomerManagedKeyArrayOutput) ElementType added in v3.47.1

func (ClusterCustomerManagedKeyArrayOutput) Index added in v3.47.1

func (ClusterCustomerManagedKeyArrayOutput) ToClusterCustomerManagedKeyArrayOutput added in v3.47.1

func (o ClusterCustomerManagedKeyArrayOutput) ToClusterCustomerManagedKeyArrayOutput() ClusterCustomerManagedKeyArrayOutput

func (ClusterCustomerManagedKeyArrayOutput) ToClusterCustomerManagedKeyArrayOutputWithContext added in v3.47.1

func (o ClusterCustomerManagedKeyArrayOutput) ToClusterCustomerManagedKeyArrayOutputWithContext(ctx context.Context) ClusterCustomerManagedKeyArrayOutput

type ClusterCustomerManagedKeyInput added in v3.32.0

type ClusterCustomerManagedKeyInput interface {
	pulumi.Input

	ToClusterCustomerManagedKeyOutput() ClusterCustomerManagedKeyOutput
	ToClusterCustomerManagedKeyOutputWithContext(ctx context.Context) ClusterCustomerManagedKeyOutput
}

type ClusterCustomerManagedKeyMap added in v3.47.1

type ClusterCustomerManagedKeyMap map[string]ClusterCustomerManagedKeyInput

func (ClusterCustomerManagedKeyMap) ElementType added in v3.47.1

func (ClusterCustomerManagedKeyMap) ToClusterCustomerManagedKeyMapOutput added in v3.47.1

func (i ClusterCustomerManagedKeyMap) ToClusterCustomerManagedKeyMapOutput() ClusterCustomerManagedKeyMapOutput

func (ClusterCustomerManagedKeyMap) ToClusterCustomerManagedKeyMapOutputWithContext added in v3.47.1

func (i ClusterCustomerManagedKeyMap) ToClusterCustomerManagedKeyMapOutputWithContext(ctx context.Context) ClusterCustomerManagedKeyMapOutput

type ClusterCustomerManagedKeyMapInput added in v3.47.1

type ClusterCustomerManagedKeyMapInput interface {
	pulumi.Input

	ToClusterCustomerManagedKeyMapOutput() ClusterCustomerManagedKeyMapOutput
	ToClusterCustomerManagedKeyMapOutputWithContext(context.Context) ClusterCustomerManagedKeyMapOutput
}

ClusterCustomerManagedKeyMapInput is an input type that accepts ClusterCustomerManagedKeyMap and ClusterCustomerManagedKeyMapOutput values. You can construct a concrete instance of `ClusterCustomerManagedKeyMapInput` via:

ClusterCustomerManagedKeyMap{ "key": ClusterCustomerManagedKeyArgs{...} }

type ClusterCustomerManagedKeyMapOutput added in v3.47.1

type ClusterCustomerManagedKeyMapOutput struct{ *pulumi.OutputState }

func (ClusterCustomerManagedKeyMapOutput) ElementType added in v3.47.1

func (ClusterCustomerManagedKeyMapOutput) MapIndex added in v3.47.1

func (ClusterCustomerManagedKeyMapOutput) ToClusterCustomerManagedKeyMapOutput added in v3.47.1

func (o ClusterCustomerManagedKeyMapOutput) ToClusterCustomerManagedKeyMapOutput() ClusterCustomerManagedKeyMapOutput

func (ClusterCustomerManagedKeyMapOutput) ToClusterCustomerManagedKeyMapOutputWithContext added in v3.47.1

func (o ClusterCustomerManagedKeyMapOutput) ToClusterCustomerManagedKeyMapOutputWithContext(ctx context.Context) ClusterCustomerManagedKeyMapOutput

type ClusterCustomerManagedKeyOutput added in v3.32.0

type ClusterCustomerManagedKeyOutput struct {
	*pulumi.OutputState
}

func (ClusterCustomerManagedKeyOutput) ElementType added in v3.32.0

func (ClusterCustomerManagedKeyOutput) ToClusterCustomerManagedKeyOutput added in v3.32.0

func (o ClusterCustomerManagedKeyOutput) ToClusterCustomerManagedKeyOutput() ClusterCustomerManagedKeyOutput

func (ClusterCustomerManagedKeyOutput) ToClusterCustomerManagedKeyOutputWithContext added in v3.32.0

func (o ClusterCustomerManagedKeyOutput) ToClusterCustomerManagedKeyOutputWithContext(ctx context.Context) ClusterCustomerManagedKeyOutput

func (ClusterCustomerManagedKeyOutput) ToClusterCustomerManagedKeyPtrOutput added in v3.47.1

func (o ClusterCustomerManagedKeyOutput) ToClusterCustomerManagedKeyPtrOutput() ClusterCustomerManagedKeyPtrOutput

func (ClusterCustomerManagedKeyOutput) ToClusterCustomerManagedKeyPtrOutputWithContext added in v3.47.1

func (o ClusterCustomerManagedKeyOutput) ToClusterCustomerManagedKeyPtrOutputWithContext(ctx context.Context) ClusterCustomerManagedKeyPtrOutput

type ClusterCustomerManagedKeyPtrInput added in v3.47.1

type ClusterCustomerManagedKeyPtrInput interface {
	pulumi.Input

	ToClusterCustomerManagedKeyPtrOutput() ClusterCustomerManagedKeyPtrOutput
	ToClusterCustomerManagedKeyPtrOutputWithContext(ctx context.Context) ClusterCustomerManagedKeyPtrOutput
}

type ClusterCustomerManagedKeyPtrOutput added in v3.47.1

type ClusterCustomerManagedKeyPtrOutput struct {
	*pulumi.OutputState
}

func (ClusterCustomerManagedKeyPtrOutput) ElementType added in v3.47.1

func (ClusterCustomerManagedKeyPtrOutput) ToClusterCustomerManagedKeyPtrOutput added in v3.47.1

func (o ClusterCustomerManagedKeyPtrOutput) ToClusterCustomerManagedKeyPtrOutput() ClusterCustomerManagedKeyPtrOutput

func (ClusterCustomerManagedKeyPtrOutput) ToClusterCustomerManagedKeyPtrOutputWithContext added in v3.47.1

func (o ClusterCustomerManagedKeyPtrOutput) ToClusterCustomerManagedKeyPtrOutputWithContext(ctx context.Context) ClusterCustomerManagedKeyPtrOutput

type ClusterCustomerManagedKeyState added in v3.32.0

type ClusterCustomerManagedKeyState struct {
	// The ID of the Key Vault Key to use for encryption.
	KeyVaultKeyId pulumi.StringPtrInput
	// The ID of the Log Analytics Cluster. Changing this forces a new Log Analytics Cluster Customer Managed Key to be created.
	LogAnalyticsClusterId pulumi.StringPtrInput
}

func (ClusterCustomerManagedKeyState) ElementType added in v3.32.0

type ClusterIdentity added in v3.32.0

type ClusterIdentity struct {
	// The Principal ID for the Service Principal associated with the Identity of this Log Analytics Cluster.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Identity of this Log Analytics Cluster.
	TenantId *string `pulumi:"tenantId"`
	// Specifies the identity type of the Log Analytics Cluster. At this time the only allowed value is `SystemAssigned`.
	Type string `pulumi:"type"`
}

type ClusterIdentityArgs added in v3.32.0

type ClusterIdentityArgs struct {
	// The Principal ID for the Service Principal associated with the Identity of this Log Analytics Cluster.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Identity of this Log Analytics Cluster.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the identity type of the Log Analytics Cluster. At this time the only allowed value is `SystemAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ClusterIdentityArgs) ElementType added in v3.32.0

func (ClusterIdentityArgs) ElementType() reflect.Type

func (ClusterIdentityArgs) ToClusterIdentityOutput added in v3.32.0

func (i ClusterIdentityArgs) ToClusterIdentityOutput() ClusterIdentityOutput

func (ClusterIdentityArgs) ToClusterIdentityOutputWithContext added in v3.32.0

func (i ClusterIdentityArgs) ToClusterIdentityOutputWithContext(ctx context.Context) ClusterIdentityOutput

func (ClusterIdentityArgs) ToClusterIdentityPtrOutput added in v3.32.0

func (i ClusterIdentityArgs) ToClusterIdentityPtrOutput() ClusterIdentityPtrOutput

func (ClusterIdentityArgs) ToClusterIdentityPtrOutputWithContext added in v3.32.0

func (i ClusterIdentityArgs) ToClusterIdentityPtrOutputWithContext(ctx context.Context) ClusterIdentityPtrOutput

type ClusterIdentityInput added in v3.32.0

type ClusterIdentityInput interface {
	pulumi.Input

	ToClusterIdentityOutput() ClusterIdentityOutput
	ToClusterIdentityOutputWithContext(context.Context) ClusterIdentityOutput
}

ClusterIdentityInput is an input type that accepts ClusterIdentityArgs and ClusterIdentityOutput values. You can construct a concrete instance of `ClusterIdentityInput` via:

ClusterIdentityArgs{...}

type ClusterIdentityOutput added in v3.32.0

type ClusterIdentityOutput struct{ *pulumi.OutputState }

func (ClusterIdentityOutput) ElementType added in v3.32.0

func (ClusterIdentityOutput) ElementType() reflect.Type

func (ClusterIdentityOutput) PrincipalId added in v3.32.0

The Principal ID for the Service Principal associated with the Identity of this Log Analytics Cluster.

func (ClusterIdentityOutput) TenantId added in v3.32.0

The Tenant ID for the Service Principal associated with the Identity of this Log Analytics Cluster.

func (ClusterIdentityOutput) ToClusterIdentityOutput added in v3.32.0

func (o ClusterIdentityOutput) ToClusterIdentityOutput() ClusterIdentityOutput

func (ClusterIdentityOutput) ToClusterIdentityOutputWithContext added in v3.32.0

func (o ClusterIdentityOutput) ToClusterIdentityOutputWithContext(ctx context.Context) ClusterIdentityOutput

func (ClusterIdentityOutput) ToClusterIdentityPtrOutput added in v3.32.0

func (o ClusterIdentityOutput) ToClusterIdentityPtrOutput() ClusterIdentityPtrOutput

func (ClusterIdentityOutput) ToClusterIdentityPtrOutputWithContext added in v3.32.0

func (o ClusterIdentityOutput) ToClusterIdentityPtrOutputWithContext(ctx context.Context) ClusterIdentityPtrOutput

func (ClusterIdentityOutput) Type added in v3.32.0

Specifies the identity type of the Log Analytics Cluster. At this time the only allowed value is `SystemAssigned`.

type ClusterIdentityPtrInput added in v3.32.0

type ClusterIdentityPtrInput interface {
	pulumi.Input

	ToClusterIdentityPtrOutput() ClusterIdentityPtrOutput
	ToClusterIdentityPtrOutputWithContext(context.Context) ClusterIdentityPtrOutput
}

ClusterIdentityPtrInput is an input type that accepts ClusterIdentityArgs, ClusterIdentityPtr and ClusterIdentityPtrOutput values. You can construct a concrete instance of `ClusterIdentityPtrInput` via:

        ClusterIdentityArgs{...}

or:

        nil

func ClusterIdentityPtr added in v3.32.0

func ClusterIdentityPtr(v *ClusterIdentityArgs) ClusterIdentityPtrInput

type ClusterIdentityPtrOutput added in v3.32.0

type ClusterIdentityPtrOutput struct{ *pulumi.OutputState }

func (ClusterIdentityPtrOutput) Elem added in v3.32.0

func (ClusterIdentityPtrOutput) ElementType added in v3.32.0

func (ClusterIdentityPtrOutput) ElementType() reflect.Type

func (ClusterIdentityPtrOutput) PrincipalId added in v3.32.0

The Principal ID for the Service Principal associated with the Identity of this Log Analytics Cluster.

func (ClusterIdentityPtrOutput) TenantId added in v3.32.0

The Tenant ID for the Service Principal associated with the Identity of this Log Analytics Cluster.

func (ClusterIdentityPtrOutput) ToClusterIdentityPtrOutput added in v3.32.0

func (o ClusterIdentityPtrOutput) ToClusterIdentityPtrOutput() ClusterIdentityPtrOutput

func (ClusterIdentityPtrOutput) ToClusterIdentityPtrOutputWithContext added in v3.32.0

func (o ClusterIdentityPtrOutput) ToClusterIdentityPtrOutputWithContext(ctx context.Context) ClusterIdentityPtrOutput

func (ClusterIdentityPtrOutput) Type added in v3.32.0

Specifies the identity type of the Log Analytics Cluster. At this time the only allowed value is `SystemAssigned`.

type ClusterInput added in v3.32.0

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap added in v3.47.1

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType added in v3.47.1

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput added in v3.47.1

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext added in v3.47.1

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput added in v3.47.1

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput added in v3.47.1

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType added in v3.47.1

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex added in v3.47.1

func (ClusterMapOutput) ToClusterMapOutput added in v3.47.1

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext added in v3.47.1

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterOutput added in v3.32.0

type ClusterOutput struct {
	*pulumi.OutputState
}

func (ClusterOutput) ElementType added in v3.32.0

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) ToClusterOutput added in v3.32.0

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext added in v3.32.0

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) ToClusterPtrOutput added in v3.47.1

func (o ClusterOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterOutput) ToClusterPtrOutputWithContext added in v3.47.1

func (o ClusterOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterPtrInput added in v3.47.1

type ClusterPtrInput interface {
	pulumi.Input

	ToClusterPtrOutput() ClusterPtrOutput
	ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput
}

type ClusterPtrOutput added in v3.47.1

type ClusterPtrOutput struct {
	*pulumi.OutputState
}

func (ClusterPtrOutput) ElementType added in v3.47.1

func (ClusterPtrOutput) ElementType() reflect.Type

func (ClusterPtrOutput) ToClusterPtrOutput added in v3.47.1

func (o ClusterPtrOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterPtrOutput) ToClusterPtrOutputWithContext added in v3.47.1

func (o ClusterPtrOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterState added in v3.32.0

type ClusterState struct {
	// The GUID of the cluster.
	ClusterId pulumi.StringPtrInput
	// A `identity` block as defined below. Changing this forces a new Log Analytics Cluster to be created.
	Identity ClusterIdentityPtrInput
	// The Azure Region where the Log Analytics Cluster should exist. Changing this forces a new Log Analytics Cluster to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Log Analytics Cluster. Changing this forces a new Log Analytics Cluster to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Log Analytics Cluster should exist. Changing this forces a new Log Analytics Cluster to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The capacity of the Log Analytics Cluster specified in GB/day. Defaults to 1000.
	SizeGb pulumi.IntPtrInput
	// A mapping of tags which should be assigned to the Log Analytics Cluster.
	Tags pulumi.StringMapInput
}

func (ClusterState) ElementType added in v3.32.0

func (ClusterState) ElementType() reflect.Type

type DataExportRule added in v3.29.0

type DataExportRule struct {
	pulumi.CustomResourceState

	// The destination resource ID. It should be a storage account, an event hub namespace or an event hub. If the destination is an event hub namespace, an event hub would be created for each table automatically.
	DestinationResourceId pulumi.StringOutput `pulumi:"destinationResourceId"`
	// Is this Log Analytics Data Export Rule enabled? Possible values include `true` or `false`. Defaults to `false`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The ID of the created Data Export Rule.
	ExportRuleId pulumi.StringOutput `pulumi:"exportRuleId"`
	// The name of the Log Analytics Data Export Rule. Changing this forces a new Log Analytics Data Export Rule to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Log Analytics Data Export should exist. Changing this forces a new Log Analytics Data Export Rule to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A list of table names to export to the destination resource, for example: `["Heartbeat", "SecurityEvent"]`.
	TableNames pulumi.StringArrayOutput `pulumi:"tableNames"`
	// The resource ID of the workspace. Changing this forces a new Log Analytics Data Export Rule to be created.
	WorkspaceResourceId pulumi.StringOutput `pulumi:"workspaceResourceId"`
}

Manages a Log Analytics Data Export Rule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/loganalytics"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/operationalinsights"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("PerGB2018"),
			RetentionInDays:   pulumi.Int(30),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = loganalytics.NewDataExportRule(ctx, "exampleDataExportRule", &loganalytics.DataExportRuleArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			WorkspaceResourceId:   exampleAnalyticsWorkspace.ID(),
			DestinationResourceId: exampleAccount.ID(),
			TableNames: pulumi.StringArray{
				pulumi.String("Heartbeat"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log Analytics Data Export Rule can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:loganalytics/dataExportRule:DataExportRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.OperationalInsights/workspaces/workspace1/dataExports/dataExport1

```

func GetDataExportRule added in v3.29.0

func GetDataExportRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataExportRuleState, opts ...pulumi.ResourceOption) (*DataExportRule, error)

GetDataExportRule gets an existing DataExportRule 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 NewDataExportRule added in v3.29.0

func NewDataExportRule(ctx *pulumi.Context,
	name string, args *DataExportRuleArgs, opts ...pulumi.ResourceOption) (*DataExportRule, error)

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

func (*DataExportRule) ElementType added in v3.31.1

func (*DataExportRule) ElementType() reflect.Type

func (*DataExportRule) ToDataExportRuleOutput added in v3.31.1

func (i *DataExportRule) ToDataExportRuleOutput() DataExportRuleOutput

func (*DataExportRule) ToDataExportRuleOutputWithContext added in v3.31.1

func (i *DataExportRule) ToDataExportRuleOutputWithContext(ctx context.Context) DataExportRuleOutput

func (*DataExportRule) ToDataExportRulePtrOutput added in v3.47.1

func (i *DataExportRule) ToDataExportRulePtrOutput() DataExportRulePtrOutput

func (*DataExportRule) ToDataExportRulePtrOutputWithContext added in v3.47.1

func (i *DataExportRule) ToDataExportRulePtrOutputWithContext(ctx context.Context) DataExportRulePtrOutput

type DataExportRuleArgs added in v3.29.0

type DataExportRuleArgs struct {
	// The destination resource ID. It should be a storage account, an event hub namespace or an event hub. If the destination is an event hub namespace, an event hub would be created for each table automatically.
	DestinationResourceId pulumi.StringInput
	// Is this Log Analytics Data Export Rule enabled? Possible values include `true` or `false`. Defaults to `false`.
	Enabled pulumi.BoolPtrInput
	// The name of the Log Analytics Data Export Rule. Changing this forces a new Log Analytics Data Export Rule to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Log Analytics Data Export should exist. Changing this forces a new Log Analytics Data Export Rule to be created.
	ResourceGroupName pulumi.StringInput
	// A list of table names to export to the destination resource, for example: `["Heartbeat", "SecurityEvent"]`.
	TableNames pulumi.StringArrayInput
	// The resource ID of the workspace. Changing this forces a new Log Analytics Data Export Rule to be created.
	WorkspaceResourceId pulumi.StringInput
}

The set of arguments for constructing a DataExportRule resource.

func (DataExportRuleArgs) ElementType added in v3.29.0

func (DataExportRuleArgs) ElementType() reflect.Type

type DataExportRuleArray added in v3.47.1

type DataExportRuleArray []DataExportRuleInput

func (DataExportRuleArray) ElementType added in v3.47.1

func (DataExportRuleArray) ElementType() reflect.Type

func (DataExportRuleArray) ToDataExportRuleArrayOutput added in v3.47.1

func (i DataExportRuleArray) ToDataExportRuleArrayOutput() DataExportRuleArrayOutput

func (DataExportRuleArray) ToDataExportRuleArrayOutputWithContext added in v3.47.1

func (i DataExportRuleArray) ToDataExportRuleArrayOutputWithContext(ctx context.Context) DataExportRuleArrayOutput

type DataExportRuleArrayInput added in v3.47.1

type DataExportRuleArrayInput interface {
	pulumi.Input

	ToDataExportRuleArrayOutput() DataExportRuleArrayOutput
	ToDataExportRuleArrayOutputWithContext(context.Context) DataExportRuleArrayOutput
}

DataExportRuleArrayInput is an input type that accepts DataExportRuleArray and DataExportRuleArrayOutput values. You can construct a concrete instance of `DataExportRuleArrayInput` via:

DataExportRuleArray{ DataExportRuleArgs{...} }

type DataExportRuleArrayOutput added in v3.47.1

type DataExportRuleArrayOutput struct{ *pulumi.OutputState }

func (DataExportRuleArrayOutput) ElementType added in v3.47.1

func (DataExportRuleArrayOutput) ElementType() reflect.Type

func (DataExportRuleArrayOutput) Index added in v3.47.1

func (DataExportRuleArrayOutput) ToDataExportRuleArrayOutput added in v3.47.1

func (o DataExportRuleArrayOutput) ToDataExportRuleArrayOutput() DataExportRuleArrayOutput

func (DataExportRuleArrayOutput) ToDataExportRuleArrayOutputWithContext added in v3.47.1

func (o DataExportRuleArrayOutput) ToDataExportRuleArrayOutputWithContext(ctx context.Context) DataExportRuleArrayOutput

type DataExportRuleInput added in v3.31.1

type DataExportRuleInput interface {
	pulumi.Input

	ToDataExportRuleOutput() DataExportRuleOutput
	ToDataExportRuleOutputWithContext(ctx context.Context) DataExportRuleOutput
}

type DataExportRuleMap added in v3.47.1

type DataExportRuleMap map[string]DataExportRuleInput

func (DataExportRuleMap) ElementType added in v3.47.1

func (DataExportRuleMap) ElementType() reflect.Type

func (DataExportRuleMap) ToDataExportRuleMapOutput added in v3.47.1

func (i DataExportRuleMap) ToDataExportRuleMapOutput() DataExportRuleMapOutput

func (DataExportRuleMap) ToDataExportRuleMapOutputWithContext added in v3.47.1

func (i DataExportRuleMap) ToDataExportRuleMapOutputWithContext(ctx context.Context) DataExportRuleMapOutput

type DataExportRuleMapInput added in v3.47.1

type DataExportRuleMapInput interface {
	pulumi.Input

	ToDataExportRuleMapOutput() DataExportRuleMapOutput
	ToDataExportRuleMapOutputWithContext(context.Context) DataExportRuleMapOutput
}

DataExportRuleMapInput is an input type that accepts DataExportRuleMap and DataExportRuleMapOutput values. You can construct a concrete instance of `DataExportRuleMapInput` via:

DataExportRuleMap{ "key": DataExportRuleArgs{...} }

type DataExportRuleMapOutput added in v3.47.1

type DataExportRuleMapOutput struct{ *pulumi.OutputState }

func (DataExportRuleMapOutput) ElementType added in v3.47.1

func (DataExportRuleMapOutput) ElementType() reflect.Type

func (DataExportRuleMapOutput) MapIndex added in v3.47.1

func (DataExportRuleMapOutput) ToDataExportRuleMapOutput added in v3.47.1

func (o DataExportRuleMapOutput) ToDataExportRuleMapOutput() DataExportRuleMapOutput

func (DataExportRuleMapOutput) ToDataExportRuleMapOutputWithContext added in v3.47.1

func (o DataExportRuleMapOutput) ToDataExportRuleMapOutputWithContext(ctx context.Context) DataExportRuleMapOutput

type DataExportRuleOutput added in v3.31.1

type DataExportRuleOutput struct {
	*pulumi.OutputState
}

func (DataExportRuleOutput) ElementType added in v3.31.1

func (DataExportRuleOutput) ElementType() reflect.Type

func (DataExportRuleOutput) ToDataExportRuleOutput added in v3.31.1

func (o DataExportRuleOutput) ToDataExportRuleOutput() DataExportRuleOutput

func (DataExportRuleOutput) ToDataExportRuleOutputWithContext added in v3.31.1

func (o DataExportRuleOutput) ToDataExportRuleOutputWithContext(ctx context.Context) DataExportRuleOutput

func (DataExportRuleOutput) ToDataExportRulePtrOutput added in v3.47.1

func (o DataExportRuleOutput) ToDataExportRulePtrOutput() DataExportRulePtrOutput

func (DataExportRuleOutput) ToDataExportRulePtrOutputWithContext added in v3.47.1

func (o DataExportRuleOutput) ToDataExportRulePtrOutputWithContext(ctx context.Context) DataExportRulePtrOutput

type DataExportRulePtrInput added in v3.47.1

type DataExportRulePtrInput interface {
	pulumi.Input

	ToDataExportRulePtrOutput() DataExportRulePtrOutput
	ToDataExportRulePtrOutputWithContext(ctx context.Context) DataExportRulePtrOutput
}

type DataExportRulePtrOutput added in v3.47.1

type DataExportRulePtrOutput struct {
	*pulumi.OutputState
}

func (DataExportRulePtrOutput) ElementType added in v3.47.1

func (DataExportRulePtrOutput) ElementType() reflect.Type

func (DataExportRulePtrOutput) ToDataExportRulePtrOutput added in v3.47.1

func (o DataExportRulePtrOutput) ToDataExportRulePtrOutput() DataExportRulePtrOutput

func (DataExportRulePtrOutput) ToDataExportRulePtrOutputWithContext added in v3.47.1

func (o DataExportRulePtrOutput) ToDataExportRulePtrOutputWithContext(ctx context.Context) DataExportRulePtrOutput

type DataExportRuleState added in v3.29.0

type DataExportRuleState struct {
	// The destination resource ID. It should be a storage account, an event hub namespace or an event hub. If the destination is an event hub namespace, an event hub would be created for each table automatically.
	DestinationResourceId pulumi.StringPtrInput
	// Is this Log Analytics Data Export Rule enabled? Possible values include `true` or `false`. Defaults to `false`.
	Enabled pulumi.BoolPtrInput
	// The ID of the created Data Export Rule.
	ExportRuleId pulumi.StringPtrInput
	// The name of the Log Analytics Data Export Rule. Changing this forces a new Log Analytics Data Export Rule to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Log Analytics Data Export should exist. Changing this forces a new Log Analytics Data Export Rule to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A list of table names to export to the destination resource, for example: `["Heartbeat", "SecurityEvent"]`.
	TableNames pulumi.StringArrayInput
	// The resource ID of the workspace. Changing this forces a new Log Analytics Data Export Rule to be created.
	WorkspaceResourceId pulumi.StringPtrInput
}

func (DataExportRuleState) ElementType added in v3.29.0

func (DataExportRuleState) ElementType() reflect.Type

type DataSourceWindowsEvent

type DataSourceWindowsEvent struct {
	pulumi.CustomResourceState

	// Specifies the name of the Windows Event Log to collect events from.
	EventLogName pulumi.StringOutput `pulumi:"eventLogName"`
	// Specifies an array of event types applied to the specified event log. Possible values include `error`, `warning` and `information`.
	EventTypes pulumi.StringArrayOutput `pulumi:"eventTypes"`
	// The name which should be used for this Log Analytics Windows Event DataSource. Changing this forces a new Log Analytics Windows Event DataSource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Log Analytics Windows Event DataSource should exist. Changing this forces a new Log Analytics Windows Event DataSource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The name of the Log Analytics Workspace where the Log Analytics Windows Event DataSource should exist. Changing this forces a new Log Analytics Windows Event DataSource to be created.
	WorkspaceName pulumi.StringOutput `pulumi:"workspaceName"`
}

Manages a Log Analytics Windows Event DataSource.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("PerGB2018"),
		})
		if err != nil {
			return err
		}
		_, err = loganalytics.NewDataSourceWindowsEvent(ctx, "exampleDataSourceWindowsEvent", &loganalytics.DataSourceWindowsEventArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			WorkspaceName:     exampleAnalyticsWorkspace.Name,
			EventLogName:      pulumi.String("Application"),
			EventTypes: pulumi.StringArray{
				pulumi.String("error"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log Analytics Windows Event DataSources can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:loganalytics/dataSourceWindowsEvent:DataSourceWindowsEvent example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.OperationalInsights/workspaces/workspace1/datasources/datasource1

```

func GetDataSourceWindowsEvent

func GetDataSourceWindowsEvent(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataSourceWindowsEventState, opts ...pulumi.ResourceOption) (*DataSourceWindowsEvent, error)

GetDataSourceWindowsEvent gets an existing DataSourceWindowsEvent 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 NewDataSourceWindowsEvent

func NewDataSourceWindowsEvent(ctx *pulumi.Context,
	name string, args *DataSourceWindowsEventArgs, opts ...pulumi.ResourceOption) (*DataSourceWindowsEvent, error)

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

func (*DataSourceWindowsEvent) ElementType added in v3.31.1

func (*DataSourceWindowsEvent) ElementType() reflect.Type

func (*DataSourceWindowsEvent) ToDataSourceWindowsEventOutput added in v3.31.1

func (i *DataSourceWindowsEvent) ToDataSourceWindowsEventOutput() DataSourceWindowsEventOutput

func (*DataSourceWindowsEvent) ToDataSourceWindowsEventOutputWithContext added in v3.31.1

func (i *DataSourceWindowsEvent) ToDataSourceWindowsEventOutputWithContext(ctx context.Context) DataSourceWindowsEventOutput

func (*DataSourceWindowsEvent) ToDataSourceWindowsEventPtrOutput added in v3.47.1

func (i *DataSourceWindowsEvent) ToDataSourceWindowsEventPtrOutput() DataSourceWindowsEventPtrOutput

func (*DataSourceWindowsEvent) ToDataSourceWindowsEventPtrOutputWithContext added in v3.47.1

func (i *DataSourceWindowsEvent) ToDataSourceWindowsEventPtrOutputWithContext(ctx context.Context) DataSourceWindowsEventPtrOutput

type DataSourceWindowsEventArgs

type DataSourceWindowsEventArgs struct {
	// Specifies the name of the Windows Event Log to collect events from.
	EventLogName pulumi.StringInput
	// Specifies an array of event types applied to the specified event log. Possible values include `error`, `warning` and `information`.
	EventTypes pulumi.StringArrayInput
	// The name which should be used for this Log Analytics Windows Event DataSource. Changing this forces a new Log Analytics Windows Event DataSource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Log Analytics Windows Event DataSource should exist. Changing this forces a new Log Analytics Windows Event DataSource to be created.
	ResourceGroupName pulumi.StringInput
	// The name of the Log Analytics Workspace where the Log Analytics Windows Event DataSource should exist. Changing this forces a new Log Analytics Windows Event DataSource to be created.
	WorkspaceName pulumi.StringInput
}

The set of arguments for constructing a DataSourceWindowsEvent resource.

func (DataSourceWindowsEventArgs) ElementType

func (DataSourceWindowsEventArgs) ElementType() reflect.Type

type DataSourceWindowsEventArray added in v3.47.1

type DataSourceWindowsEventArray []DataSourceWindowsEventInput

func (DataSourceWindowsEventArray) ElementType added in v3.47.1

func (DataSourceWindowsEventArray) ToDataSourceWindowsEventArrayOutput added in v3.47.1

func (i DataSourceWindowsEventArray) ToDataSourceWindowsEventArrayOutput() DataSourceWindowsEventArrayOutput

func (DataSourceWindowsEventArray) ToDataSourceWindowsEventArrayOutputWithContext added in v3.47.1

func (i DataSourceWindowsEventArray) ToDataSourceWindowsEventArrayOutputWithContext(ctx context.Context) DataSourceWindowsEventArrayOutput

type DataSourceWindowsEventArrayInput added in v3.47.1

type DataSourceWindowsEventArrayInput interface {
	pulumi.Input

	ToDataSourceWindowsEventArrayOutput() DataSourceWindowsEventArrayOutput
	ToDataSourceWindowsEventArrayOutputWithContext(context.Context) DataSourceWindowsEventArrayOutput
}

DataSourceWindowsEventArrayInput is an input type that accepts DataSourceWindowsEventArray and DataSourceWindowsEventArrayOutput values. You can construct a concrete instance of `DataSourceWindowsEventArrayInput` via:

DataSourceWindowsEventArray{ DataSourceWindowsEventArgs{...} }

type DataSourceWindowsEventArrayOutput added in v3.47.1

type DataSourceWindowsEventArrayOutput struct{ *pulumi.OutputState }

func (DataSourceWindowsEventArrayOutput) ElementType added in v3.47.1

func (DataSourceWindowsEventArrayOutput) Index added in v3.47.1

func (DataSourceWindowsEventArrayOutput) ToDataSourceWindowsEventArrayOutput added in v3.47.1

func (o DataSourceWindowsEventArrayOutput) ToDataSourceWindowsEventArrayOutput() DataSourceWindowsEventArrayOutput

func (DataSourceWindowsEventArrayOutput) ToDataSourceWindowsEventArrayOutputWithContext added in v3.47.1

func (o DataSourceWindowsEventArrayOutput) ToDataSourceWindowsEventArrayOutputWithContext(ctx context.Context) DataSourceWindowsEventArrayOutput

type DataSourceWindowsEventInput added in v3.31.1

type DataSourceWindowsEventInput interface {
	pulumi.Input

	ToDataSourceWindowsEventOutput() DataSourceWindowsEventOutput
	ToDataSourceWindowsEventOutputWithContext(ctx context.Context) DataSourceWindowsEventOutput
}

type DataSourceWindowsEventMap added in v3.47.1

type DataSourceWindowsEventMap map[string]DataSourceWindowsEventInput

func (DataSourceWindowsEventMap) ElementType added in v3.47.1

func (DataSourceWindowsEventMap) ElementType() reflect.Type

func (DataSourceWindowsEventMap) ToDataSourceWindowsEventMapOutput added in v3.47.1

func (i DataSourceWindowsEventMap) ToDataSourceWindowsEventMapOutput() DataSourceWindowsEventMapOutput

func (DataSourceWindowsEventMap) ToDataSourceWindowsEventMapOutputWithContext added in v3.47.1

func (i DataSourceWindowsEventMap) ToDataSourceWindowsEventMapOutputWithContext(ctx context.Context) DataSourceWindowsEventMapOutput

type DataSourceWindowsEventMapInput added in v3.47.1

type DataSourceWindowsEventMapInput interface {
	pulumi.Input

	ToDataSourceWindowsEventMapOutput() DataSourceWindowsEventMapOutput
	ToDataSourceWindowsEventMapOutputWithContext(context.Context) DataSourceWindowsEventMapOutput
}

DataSourceWindowsEventMapInput is an input type that accepts DataSourceWindowsEventMap and DataSourceWindowsEventMapOutput values. You can construct a concrete instance of `DataSourceWindowsEventMapInput` via:

DataSourceWindowsEventMap{ "key": DataSourceWindowsEventArgs{...} }

type DataSourceWindowsEventMapOutput added in v3.47.1

type DataSourceWindowsEventMapOutput struct{ *pulumi.OutputState }

func (DataSourceWindowsEventMapOutput) ElementType added in v3.47.1

func (DataSourceWindowsEventMapOutput) MapIndex added in v3.47.1

func (DataSourceWindowsEventMapOutput) ToDataSourceWindowsEventMapOutput added in v3.47.1

func (o DataSourceWindowsEventMapOutput) ToDataSourceWindowsEventMapOutput() DataSourceWindowsEventMapOutput

func (DataSourceWindowsEventMapOutput) ToDataSourceWindowsEventMapOutputWithContext added in v3.47.1

func (o DataSourceWindowsEventMapOutput) ToDataSourceWindowsEventMapOutputWithContext(ctx context.Context) DataSourceWindowsEventMapOutput

type DataSourceWindowsEventOutput added in v3.31.1

type DataSourceWindowsEventOutput struct {
	*pulumi.OutputState
}

func (DataSourceWindowsEventOutput) ElementType added in v3.31.1

func (DataSourceWindowsEventOutput) ToDataSourceWindowsEventOutput added in v3.31.1

func (o DataSourceWindowsEventOutput) ToDataSourceWindowsEventOutput() DataSourceWindowsEventOutput

func (DataSourceWindowsEventOutput) ToDataSourceWindowsEventOutputWithContext added in v3.31.1

func (o DataSourceWindowsEventOutput) ToDataSourceWindowsEventOutputWithContext(ctx context.Context) DataSourceWindowsEventOutput

func (DataSourceWindowsEventOutput) ToDataSourceWindowsEventPtrOutput added in v3.47.1

func (o DataSourceWindowsEventOutput) ToDataSourceWindowsEventPtrOutput() DataSourceWindowsEventPtrOutput

func (DataSourceWindowsEventOutput) ToDataSourceWindowsEventPtrOutputWithContext added in v3.47.1

func (o DataSourceWindowsEventOutput) ToDataSourceWindowsEventPtrOutputWithContext(ctx context.Context) DataSourceWindowsEventPtrOutput

type DataSourceWindowsEventPtrInput added in v3.47.1

type DataSourceWindowsEventPtrInput interface {
	pulumi.Input

	ToDataSourceWindowsEventPtrOutput() DataSourceWindowsEventPtrOutput
	ToDataSourceWindowsEventPtrOutputWithContext(ctx context.Context) DataSourceWindowsEventPtrOutput
}

type DataSourceWindowsEventPtrOutput added in v3.47.1

type DataSourceWindowsEventPtrOutput struct {
	*pulumi.OutputState
}

func (DataSourceWindowsEventPtrOutput) ElementType added in v3.47.1

func (DataSourceWindowsEventPtrOutput) ToDataSourceWindowsEventPtrOutput added in v3.47.1

func (o DataSourceWindowsEventPtrOutput) ToDataSourceWindowsEventPtrOutput() DataSourceWindowsEventPtrOutput

func (DataSourceWindowsEventPtrOutput) ToDataSourceWindowsEventPtrOutputWithContext added in v3.47.1

func (o DataSourceWindowsEventPtrOutput) ToDataSourceWindowsEventPtrOutputWithContext(ctx context.Context) DataSourceWindowsEventPtrOutput

type DataSourceWindowsEventState

type DataSourceWindowsEventState struct {
	// Specifies the name of the Windows Event Log to collect events from.
	EventLogName pulumi.StringPtrInput
	// Specifies an array of event types applied to the specified event log. Possible values include `error`, `warning` and `information`.
	EventTypes pulumi.StringArrayInput
	// The name which should be used for this Log Analytics Windows Event DataSource. Changing this forces a new Log Analytics Windows Event DataSource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Log Analytics Windows Event DataSource should exist. Changing this forces a new Log Analytics Windows Event DataSource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the Log Analytics Workspace where the Log Analytics Windows Event DataSource should exist. Changing this forces a new Log Analytics Windows Event DataSource to be created.
	WorkspaceName pulumi.StringPtrInput
}

func (DataSourceWindowsEventState) ElementType

type DataSourceWindowsPerformanceCounter

type DataSourceWindowsPerformanceCounter struct {
	pulumi.CustomResourceState

	// The friendly name of the performance counter.
	CounterName pulumi.StringOutput `pulumi:"counterName"`
	// The name of the virtual machine instance to which the Windows Performance Counter DataSource be applied. Specify a `*` will apply to all instances.
	InstanceName pulumi.StringOutput `pulumi:"instanceName"`
	// The time of sample interval in seconds. Supports values between 10 and 2147483647.
	IntervalSeconds pulumi.IntOutput `pulumi:"intervalSeconds"`
	// The Name which should be used for this Log Analytics Windows Performance Counter DataSource. Changing this forces a new Log Analytics Windows Performance Counter DataSource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The object name of the Log Analytics Windows Performance Counter DataSource.
	ObjectName pulumi.StringOutput `pulumi:"objectName"`
	// The name of the Resource Group where the Log Analytics Windows Performance Counter DataSource should exist. Changing this forces a new Log Analytics Windows Performance Counter DataSource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The name of the Log Analytics Workspace where the Log Analytics Windows Performance Counter DataSource should exist. Changing this forces a new Log Analytics Windows Performance Counter DataSource to be created.
	WorkspaceName pulumi.StringOutput `pulumi:"workspaceName"`
}

Manages a Log Analytics (formally Operational Insights) Windows Performance Counter DataSource.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("PerGB2018"),
		})
		if err != nil {
			return err
		}
		_, err = loganalytics.NewDataSourceWindowsPerformanceCounter(ctx, "exampleDataSourceWindowsPerformanceCounter", &loganalytics.DataSourceWindowsPerformanceCounterArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			WorkspaceName:     exampleAnalyticsWorkspace.Name,
			ObjectName:        pulumi.String("CPU"),
			InstanceName:      pulumi.String("*"),
			CounterName:       pulumi.String("CPU"),
			IntervalSeconds:   pulumi.Int(10),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log Analytics Windows Performance Counter DataSources can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:loganalytics/dataSourceWindowsPerformanceCounter:DataSourceWindowsPerformanceCounter example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.OperationalInsights/workspaces/workspace1/datasources/datasource1

```

func GetDataSourceWindowsPerformanceCounter

func GetDataSourceWindowsPerformanceCounter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataSourceWindowsPerformanceCounterState, opts ...pulumi.ResourceOption) (*DataSourceWindowsPerformanceCounter, error)

GetDataSourceWindowsPerformanceCounter gets an existing DataSourceWindowsPerformanceCounter 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 NewDataSourceWindowsPerformanceCounter

func NewDataSourceWindowsPerformanceCounter(ctx *pulumi.Context,
	name string, args *DataSourceWindowsPerformanceCounterArgs, opts ...pulumi.ResourceOption) (*DataSourceWindowsPerformanceCounter, error)

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

func (*DataSourceWindowsPerformanceCounter) ElementType added in v3.31.1

func (*DataSourceWindowsPerformanceCounter) ToDataSourceWindowsPerformanceCounterOutput added in v3.31.1

func (i *DataSourceWindowsPerformanceCounter) ToDataSourceWindowsPerformanceCounterOutput() DataSourceWindowsPerformanceCounterOutput

func (*DataSourceWindowsPerformanceCounter) ToDataSourceWindowsPerformanceCounterOutputWithContext added in v3.31.1

func (i *DataSourceWindowsPerformanceCounter) ToDataSourceWindowsPerformanceCounterOutputWithContext(ctx context.Context) DataSourceWindowsPerformanceCounterOutput

func (*DataSourceWindowsPerformanceCounter) ToDataSourceWindowsPerformanceCounterPtrOutput added in v3.47.1

func (i *DataSourceWindowsPerformanceCounter) ToDataSourceWindowsPerformanceCounterPtrOutput() DataSourceWindowsPerformanceCounterPtrOutput

func (*DataSourceWindowsPerformanceCounter) ToDataSourceWindowsPerformanceCounterPtrOutputWithContext added in v3.47.1

func (i *DataSourceWindowsPerformanceCounter) ToDataSourceWindowsPerformanceCounterPtrOutputWithContext(ctx context.Context) DataSourceWindowsPerformanceCounterPtrOutput

type DataSourceWindowsPerformanceCounterArgs

type DataSourceWindowsPerformanceCounterArgs struct {
	// The friendly name of the performance counter.
	CounterName pulumi.StringInput
	// The name of the virtual machine instance to which the Windows Performance Counter DataSource be applied. Specify a `*` will apply to all instances.
	InstanceName pulumi.StringInput
	// The time of sample interval in seconds. Supports values between 10 and 2147483647.
	IntervalSeconds pulumi.IntInput
	// The Name which should be used for this Log Analytics Windows Performance Counter DataSource. Changing this forces a new Log Analytics Windows Performance Counter DataSource to be created.
	Name pulumi.StringPtrInput
	// The object name of the Log Analytics Windows Performance Counter DataSource.
	ObjectName pulumi.StringInput
	// The name of the Resource Group where the Log Analytics Windows Performance Counter DataSource should exist. Changing this forces a new Log Analytics Windows Performance Counter DataSource to be created.
	ResourceGroupName pulumi.StringInput
	// The name of the Log Analytics Workspace where the Log Analytics Windows Performance Counter DataSource should exist. Changing this forces a new Log Analytics Windows Performance Counter DataSource to be created.
	WorkspaceName pulumi.StringInput
}

The set of arguments for constructing a DataSourceWindowsPerformanceCounter resource.

func (DataSourceWindowsPerformanceCounterArgs) ElementType

type DataSourceWindowsPerformanceCounterArray added in v3.47.1

type DataSourceWindowsPerformanceCounterArray []DataSourceWindowsPerformanceCounterInput

func (DataSourceWindowsPerformanceCounterArray) ElementType added in v3.47.1

func (DataSourceWindowsPerformanceCounterArray) ToDataSourceWindowsPerformanceCounterArrayOutput added in v3.47.1

func (i DataSourceWindowsPerformanceCounterArray) ToDataSourceWindowsPerformanceCounterArrayOutput() DataSourceWindowsPerformanceCounterArrayOutput

func (DataSourceWindowsPerformanceCounterArray) ToDataSourceWindowsPerformanceCounterArrayOutputWithContext added in v3.47.1

func (i DataSourceWindowsPerformanceCounterArray) ToDataSourceWindowsPerformanceCounterArrayOutputWithContext(ctx context.Context) DataSourceWindowsPerformanceCounterArrayOutput

type DataSourceWindowsPerformanceCounterArrayInput added in v3.47.1

type DataSourceWindowsPerformanceCounterArrayInput interface {
	pulumi.Input

	ToDataSourceWindowsPerformanceCounterArrayOutput() DataSourceWindowsPerformanceCounterArrayOutput
	ToDataSourceWindowsPerformanceCounterArrayOutputWithContext(context.Context) DataSourceWindowsPerformanceCounterArrayOutput
}

DataSourceWindowsPerformanceCounterArrayInput is an input type that accepts DataSourceWindowsPerformanceCounterArray and DataSourceWindowsPerformanceCounterArrayOutput values. You can construct a concrete instance of `DataSourceWindowsPerformanceCounterArrayInput` via:

DataSourceWindowsPerformanceCounterArray{ DataSourceWindowsPerformanceCounterArgs{...} }

type DataSourceWindowsPerformanceCounterArrayOutput added in v3.47.1

type DataSourceWindowsPerformanceCounterArrayOutput struct{ *pulumi.OutputState }

func (DataSourceWindowsPerformanceCounterArrayOutput) ElementType added in v3.47.1

func (DataSourceWindowsPerformanceCounterArrayOutput) Index added in v3.47.1

func (DataSourceWindowsPerformanceCounterArrayOutput) ToDataSourceWindowsPerformanceCounterArrayOutput added in v3.47.1

func (o DataSourceWindowsPerformanceCounterArrayOutput) ToDataSourceWindowsPerformanceCounterArrayOutput() DataSourceWindowsPerformanceCounterArrayOutput

func (DataSourceWindowsPerformanceCounterArrayOutput) ToDataSourceWindowsPerformanceCounterArrayOutputWithContext added in v3.47.1

func (o DataSourceWindowsPerformanceCounterArrayOutput) ToDataSourceWindowsPerformanceCounterArrayOutputWithContext(ctx context.Context) DataSourceWindowsPerformanceCounterArrayOutput

type DataSourceWindowsPerformanceCounterInput added in v3.31.1

type DataSourceWindowsPerformanceCounterInput interface {
	pulumi.Input

	ToDataSourceWindowsPerformanceCounterOutput() DataSourceWindowsPerformanceCounterOutput
	ToDataSourceWindowsPerformanceCounterOutputWithContext(ctx context.Context) DataSourceWindowsPerformanceCounterOutput
}

type DataSourceWindowsPerformanceCounterMap added in v3.47.1

type DataSourceWindowsPerformanceCounterMap map[string]DataSourceWindowsPerformanceCounterInput

func (DataSourceWindowsPerformanceCounterMap) ElementType added in v3.47.1

func (DataSourceWindowsPerformanceCounterMap) ToDataSourceWindowsPerformanceCounterMapOutput added in v3.47.1

func (i DataSourceWindowsPerformanceCounterMap) ToDataSourceWindowsPerformanceCounterMapOutput() DataSourceWindowsPerformanceCounterMapOutput

func (DataSourceWindowsPerformanceCounterMap) ToDataSourceWindowsPerformanceCounterMapOutputWithContext added in v3.47.1

func (i DataSourceWindowsPerformanceCounterMap) ToDataSourceWindowsPerformanceCounterMapOutputWithContext(ctx context.Context) DataSourceWindowsPerformanceCounterMapOutput

type DataSourceWindowsPerformanceCounterMapInput added in v3.47.1

type DataSourceWindowsPerformanceCounterMapInput interface {
	pulumi.Input

	ToDataSourceWindowsPerformanceCounterMapOutput() DataSourceWindowsPerformanceCounterMapOutput
	ToDataSourceWindowsPerformanceCounterMapOutputWithContext(context.Context) DataSourceWindowsPerformanceCounterMapOutput
}

DataSourceWindowsPerformanceCounterMapInput is an input type that accepts DataSourceWindowsPerformanceCounterMap and DataSourceWindowsPerformanceCounterMapOutput values. You can construct a concrete instance of `DataSourceWindowsPerformanceCounterMapInput` via:

DataSourceWindowsPerformanceCounterMap{ "key": DataSourceWindowsPerformanceCounterArgs{...} }

type DataSourceWindowsPerformanceCounterMapOutput added in v3.47.1

type DataSourceWindowsPerformanceCounterMapOutput struct{ *pulumi.OutputState }

func (DataSourceWindowsPerformanceCounterMapOutput) ElementType added in v3.47.1

func (DataSourceWindowsPerformanceCounterMapOutput) MapIndex added in v3.47.1

func (DataSourceWindowsPerformanceCounterMapOutput) ToDataSourceWindowsPerformanceCounterMapOutput added in v3.47.1

func (o DataSourceWindowsPerformanceCounterMapOutput) ToDataSourceWindowsPerformanceCounterMapOutput() DataSourceWindowsPerformanceCounterMapOutput

func (DataSourceWindowsPerformanceCounterMapOutput) ToDataSourceWindowsPerformanceCounterMapOutputWithContext added in v3.47.1

func (o DataSourceWindowsPerformanceCounterMapOutput) ToDataSourceWindowsPerformanceCounterMapOutputWithContext(ctx context.Context) DataSourceWindowsPerformanceCounterMapOutput

type DataSourceWindowsPerformanceCounterOutput added in v3.31.1

type DataSourceWindowsPerformanceCounterOutput struct {
	*pulumi.OutputState
}

func (DataSourceWindowsPerformanceCounterOutput) ElementType added in v3.31.1

func (DataSourceWindowsPerformanceCounterOutput) ToDataSourceWindowsPerformanceCounterOutput added in v3.31.1

func (o DataSourceWindowsPerformanceCounterOutput) ToDataSourceWindowsPerformanceCounterOutput() DataSourceWindowsPerformanceCounterOutput

func (DataSourceWindowsPerformanceCounterOutput) ToDataSourceWindowsPerformanceCounterOutputWithContext added in v3.31.1

func (o DataSourceWindowsPerformanceCounterOutput) ToDataSourceWindowsPerformanceCounterOutputWithContext(ctx context.Context) DataSourceWindowsPerformanceCounterOutput

func (DataSourceWindowsPerformanceCounterOutput) ToDataSourceWindowsPerformanceCounterPtrOutput added in v3.47.1

func (o DataSourceWindowsPerformanceCounterOutput) ToDataSourceWindowsPerformanceCounterPtrOutput() DataSourceWindowsPerformanceCounterPtrOutput

func (DataSourceWindowsPerformanceCounterOutput) ToDataSourceWindowsPerformanceCounterPtrOutputWithContext added in v3.47.1

func (o DataSourceWindowsPerformanceCounterOutput) ToDataSourceWindowsPerformanceCounterPtrOutputWithContext(ctx context.Context) DataSourceWindowsPerformanceCounterPtrOutput

type DataSourceWindowsPerformanceCounterPtrInput added in v3.47.1

type DataSourceWindowsPerformanceCounterPtrInput interface {
	pulumi.Input

	ToDataSourceWindowsPerformanceCounterPtrOutput() DataSourceWindowsPerformanceCounterPtrOutput
	ToDataSourceWindowsPerformanceCounterPtrOutputWithContext(ctx context.Context) DataSourceWindowsPerformanceCounterPtrOutput
}

type DataSourceWindowsPerformanceCounterPtrOutput added in v3.47.1

type DataSourceWindowsPerformanceCounterPtrOutput struct {
	*pulumi.OutputState
}

func (DataSourceWindowsPerformanceCounterPtrOutput) ElementType added in v3.47.1

func (DataSourceWindowsPerformanceCounterPtrOutput) ToDataSourceWindowsPerformanceCounterPtrOutput added in v3.47.1

func (o DataSourceWindowsPerformanceCounterPtrOutput) ToDataSourceWindowsPerformanceCounterPtrOutput() DataSourceWindowsPerformanceCounterPtrOutput

func (DataSourceWindowsPerformanceCounterPtrOutput) ToDataSourceWindowsPerformanceCounterPtrOutputWithContext added in v3.47.1

func (o DataSourceWindowsPerformanceCounterPtrOutput) ToDataSourceWindowsPerformanceCounterPtrOutputWithContext(ctx context.Context) DataSourceWindowsPerformanceCounterPtrOutput

type DataSourceWindowsPerformanceCounterState

type DataSourceWindowsPerformanceCounterState struct {
	// The friendly name of the performance counter.
	CounterName pulumi.StringPtrInput
	// The name of the virtual machine instance to which the Windows Performance Counter DataSource be applied. Specify a `*` will apply to all instances.
	InstanceName pulumi.StringPtrInput
	// The time of sample interval in seconds. Supports values between 10 and 2147483647.
	IntervalSeconds pulumi.IntPtrInput
	// The Name which should be used for this Log Analytics Windows Performance Counter DataSource. Changing this forces a new Log Analytics Windows Performance Counter DataSource to be created.
	Name pulumi.StringPtrInput
	// The object name of the Log Analytics Windows Performance Counter DataSource.
	ObjectName pulumi.StringPtrInput
	// The name of the Resource Group where the Log Analytics Windows Performance Counter DataSource should exist. Changing this forces a new Log Analytics Windows Performance Counter DataSource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the Log Analytics Workspace where the Log Analytics Windows Performance Counter DataSource should exist. Changing this forces a new Log Analytics Windows Performance Counter DataSource to be created.
	WorkspaceName pulumi.StringPtrInput
}

func (DataSourceWindowsPerformanceCounterState) ElementType

type LinkedService

type LinkedService struct {
	pulumi.CustomResourceState

	// Name of the type of linkedServices resource to connect to the Log Analytics Workspace specified in workspace_name. Accepted values are `automation` and `cluster`. Defaults to `automation`. Changing this forces a new resource to be created.
	//
	// Deprecated: This field has been deprecated and will be removed in a future version of the provider
	LinkedServiceName pulumi.StringOutput `pulumi:"linkedServiceName"`
	// The generated name of the Linked Service. The format for this attribute is always `<workspace name>/<linked service type>`(e.g. `workspace1/Automation` or `workspace1/Cluster`)
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the readable Resource that will be linked to the workspace. This should be used for linking to an Automation Account resource.
	ReadAccessId pulumi.StringOutput `pulumi:"readAccessId"`
	// The name of the resource group in which the Log Analytics Linked Service is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The ID of the Resource that will be linked to the workspace. This should be used for linking to an Automation Account resource.
	//
	// Deprecated: This field has been deprecated in favour of `read_access_id` and will be removed in a future version of the provider
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The ID of the Log Analytics Workspace that will contain the Log Analytics Linked Service resource. Changing this forces a new resource to be created.
	WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"`
	// The name of the Log Analytics Workspace that will contain the Log Analytics Linked Service resource. Changing this forces a new resource to be created.
	//
	// Deprecated: This field has been deprecated in favour of `workspace_id` and will be removed in a future version of the provider
	WorkspaceName pulumi.StringOutput `pulumi:"workspaceName"`
	// The ID of the writable Resource that will be linked to the workspace. This should be used for linking to a Log Analytics Cluster resource.
	WriteAccessId pulumi.StringPtrOutput `pulumi:"writeAccessId"`
}

Manages a Log Analytics Linked Service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/loganalytics"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/operationalinsights"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("development"),
			},
		})
		if err != nil {
			return err
		}
		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("PerGB2018"),
			RetentionInDays:   pulumi.Int(30),
		})
		if err != nil {
			return err
		}
		_, err = loganalytics.NewLinkedService(ctx, "exampleLinkedService", &loganalytics.LinkedServiceArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			WorkspaceId:       exampleAnalyticsWorkspace.ID(),
			ReadAccessId:      exampleAccount.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:loganalytics/linkedService:LinkedService example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.OperationalInsights/workspaces/workspace1/linkedServices/Automation

```

func GetLinkedService

func GetLinkedService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LinkedServiceState, opts ...pulumi.ResourceOption) (*LinkedService, error)

GetLinkedService gets an existing LinkedService 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 NewLinkedService

func NewLinkedService(ctx *pulumi.Context,
	name string, args *LinkedServiceArgs, opts ...pulumi.ResourceOption) (*LinkedService, error)

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

func (*LinkedService) ElementType added in v3.31.1

func (*LinkedService) ElementType() reflect.Type

func (*LinkedService) ToLinkedServiceOutput added in v3.31.1

func (i *LinkedService) ToLinkedServiceOutput() LinkedServiceOutput

func (*LinkedService) ToLinkedServiceOutputWithContext added in v3.31.1

func (i *LinkedService) ToLinkedServiceOutputWithContext(ctx context.Context) LinkedServiceOutput

func (*LinkedService) ToLinkedServicePtrOutput added in v3.47.1

func (i *LinkedService) ToLinkedServicePtrOutput() LinkedServicePtrOutput

func (*LinkedService) ToLinkedServicePtrOutputWithContext added in v3.47.1

func (i *LinkedService) ToLinkedServicePtrOutputWithContext(ctx context.Context) LinkedServicePtrOutput

type LinkedServiceArgs

type LinkedServiceArgs struct {
	// Name of the type of linkedServices resource to connect to the Log Analytics Workspace specified in workspace_name. Accepted values are `automation` and `cluster`. Defaults to `automation`. Changing this forces a new resource to be created.
	//
	// Deprecated: This field has been deprecated and will be removed in a future version of the provider
	LinkedServiceName pulumi.StringPtrInput
	// The ID of the readable Resource that will be linked to the workspace. This should be used for linking to an Automation Account resource.
	ReadAccessId pulumi.StringPtrInput
	// The name of the resource group in which the Log Analytics Linked Service is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The ID of the Resource that will be linked to the workspace. This should be used for linking to an Automation Account resource.
	//
	// Deprecated: This field has been deprecated in favour of `read_access_id` and will be removed in a future version of the provider
	ResourceId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The ID of the Log Analytics Workspace that will contain the Log Analytics Linked Service resource. Changing this forces a new resource to be created.
	WorkspaceId pulumi.StringPtrInput
	// The name of the Log Analytics Workspace that will contain the Log Analytics Linked Service resource. Changing this forces a new resource to be created.
	//
	// Deprecated: This field has been deprecated in favour of `workspace_id` and will be removed in a future version of the provider
	WorkspaceName pulumi.StringPtrInput
	// The ID of the writable Resource that will be linked to the workspace. This should be used for linking to a Log Analytics Cluster resource.
	WriteAccessId pulumi.StringPtrInput
}

The set of arguments for constructing a LinkedService resource.

func (LinkedServiceArgs) ElementType

func (LinkedServiceArgs) ElementType() reflect.Type

type LinkedServiceArray added in v3.47.1

type LinkedServiceArray []LinkedServiceInput

func (LinkedServiceArray) ElementType added in v3.47.1

func (LinkedServiceArray) ElementType() reflect.Type

func (LinkedServiceArray) ToLinkedServiceArrayOutput added in v3.47.1

func (i LinkedServiceArray) ToLinkedServiceArrayOutput() LinkedServiceArrayOutput

func (LinkedServiceArray) ToLinkedServiceArrayOutputWithContext added in v3.47.1

func (i LinkedServiceArray) ToLinkedServiceArrayOutputWithContext(ctx context.Context) LinkedServiceArrayOutput

type LinkedServiceArrayInput added in v3.47.1

type LinkedServiceArrayInput interface {
	pulumi.Input

	ToLinkedServiceArrayOutput() LinkedServiceArrayOutput
	ToLinkedServiceArrayOutputWithContext(context.Context) LinkedServiceArrayOutput
}

LinkedServiceArrayInput is an input type that accepts LinkedServiceArray and LinkedServiceArrayOutput values. You can construct a concrete instance of `LinkedServiceArrayInput` via:

LinkedServiceArray{ LinkedServiceArgs{...} }

type LinkedServiceArrayOutput added in v3.47.1

type LinkedServiceArrayOutput struct{ *pulumi.OutputState }

func (LinkedServiceArrayOutput) ElementType added in v3.47.1

func (LinkedServiceArrayOutput) ElementType() reflect.Type

func (LinkedServiceArrayOutput) Index added in v3.47.1

func (LinkedServiceArrayOutput) ToLinkedServiceArrayOutput added in v3.47.1

func (o LinkedServiceArrayOutput) ToLinkedServiceArrayOutput() LinkedServiceArrayOutput

func (LinkedServiceArrayOutput) ToLinkedServiceArrayOutputWithContext added in v3.47.1

func (o LinkedServiceArrayOutput) ToLinkedServiceArrayOutputWithContext(ctx context.Context) LinkedServiceArrayOutput

type LinkedServiceInput added in v3.31.1

type LinkedServiceInput interface {
	pulumi.Input

	ToLinkedServiceOutput() LinkedServiceOutput
	ToLinkedServiceOutputWithContext(ctx context.Context) LinkedServiceOutput
}

type LinkedServiceMap added in v3.47.1

type LinkedServiceMap map[string]LinkedServiceInput

func (LinkedServiceMap) ElementType added in v3.47.1

func (LinkedServiceMap) ElementType() reflect.Type

func (LinkedServiceMap) ToLinkedServiceMapOutput added in v3.47.1

func (i LinkedServiceMap) ToLinkedServiceMapOutput() LinkedServiceMapOutput

func (LinkedServiceMap) ToLinkedServiceMapOutputWithContext added in v3.47.1

func (i LinkedServiceMap) ToLinkedServiceMapOutputWithContext(ctx context.Context) LinkedServiceMapOutput

type LinkedServiceMapInput added in v3.47.1

type LinkedServiceMapInput interface {
	pulumi.Input

	ToLinkedServiceMapOutput() LinkedServiceMapOutput
	ToLinkedServiceMapOutputWithContext(context.Context) LinkedServiceMapOutput
}

LinkedServiceMapInput is an input type that accepts LinkedServiceMap and LinkedServiceMapOutput values. You can construct a concrete instance of `LinkedServiceMapInput` via:

LinkedServiceMap{ "key": LinkedServiceArgs{...} }

type LinkedServiceMapOutput added in v3.47.1

type LinkedServiceMapOutput struct{ *pulumi.OutputState }

func (LinkedServiceMapOutput) ElementType added in v3.47.1

func (LinkedServiceMapOutput) ElementType() reflect.Type

func (LinkedServiceMapOutput) MapIndex added in v3.47.1

func (LinkedServiceMapOutput) ToLinkedServiceMapOutput added in v3.47.1

func (o LinkedServiceMapOutput) ToLinkedServiceMapOutput() LinkedServiceMapOutput

func (LinkedServiceMapOutput) ToLinkedServiceMapOutputWithContext added in v3.47.1

func (o LinkedServiceMapOutput) ToLinkedServiceMapOutputWithContext(ctx context.Context) LinkedServiceMapOutput

type LinkedServiceOutput added in v3.31.1

type LinkedServiceOutput struct {
	*pulumi.OutputState
}

func (LinkedServiceOutput) ElementType added in v3.31.1

func (LinkedServiceOutput) ElementType() reflect.Type

func (LinkedServiceOutput) ToLinkedServiceOutput added in v3.31.1

func (o LinkedServiceOutput) ToLinkedServiceOutput() LinkedServiceOutput

func (LinkedServiceOutput) ToLinkedServiceOutputWithContext added in v3.31.1

func (o LinkedServiceOutput) ToLinkedServiceOutputWithContext(ctx context.Context) LinkedServiceOutput

func (LinkedServiceOutput) ToLinkedServicePtrOutput added in v3.47.1

func (o LinkedServiceOutput) ToLinkedServicePtrOutput() LinkedServicePtrOutput

func (LinkedServiceOutput) ToLinkedServicePtrOutputWithContext added in v3.47.1

func (o LinkedServiceOutput) ToLinkedServicePtrOutputWithContext(ctx context.Context) LinkedServicePtrOutput

type LinkedServicePtrInput added in v3.47.1

type LinkedServicePtrInput interface {
	pulumi.Input

	ToLinkedServicePtrOutput() LinkedServicePtrOutput
	ToLinkedServicePtrOutputWithContext(ctx context.Context) LinkedServicePtrOutput
}

type LinkedServicePtrOutput added in v3.47.1

type LinkedServicePtrOutput struct {
	*pulumi.OutputState
}

func (LinkedServicePtrOutput) ElementType added in v3.47.1

func (LinkedServicePtrOutput) ElementType() reflect.Type

func (LinkedServicePtrOutput) ToLinkedServicePtrOutput added in v3.47.1

func (o LinkedServicePtrOutput) ToLinkedServicePtrOutput() LinkedServicePtrOutput

func (LinkedServicePtrOutput) ToLinkedServicePtrOutputWithContext added in v3.47.1

func (o LinkedServicePtrOutput) ToLinkedServicePtrOutputWithContext(ctx context.Context) LinkedServicePtrOutput

type LinkedServiceState

type LinkedServiceState struct {
	// Name of the type of linkedServices resource to connect to the Log Analytics Workspace specified in workspace_name. Accepted values are `automation` and `cluster`. Defaults to `automation`. Changing this forces a new resource to be created.
	//
	// Deprecated: This field has been deprecated and will be removed in a future version of the provider
	LinkedServiceName pulumi.StringPtrInput
	// The generated name of the Linked Service. The format for this attribute is always `<workspace name>/<linked service type>`(e.g. `workspace1/Automation` or `workspace1/Cluster`)
	Name pulumi.StringPtrInput
	// The ID of the readable Resource that will be linked to the workspace. This should be used for linking to an Automation Account resource.
	ReadAccessId pulumi.StringPtrInput
	// The name of the resource group in which the Log Analytics Linked Service is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The ID of the Resource that will be linked to the workspace. This should be used for linking to an Automation Account resource.
	//
	// Deprecated: This field has been deprecated in favour of `read_access_id` and will be removed in a future version of the provider
	ResourceId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The ID of the Log Analytics Workspace that will contain the Log Analytics Linked Service resource. Changing this forces a new resource to be created.
	WorkspaceId pulumi.StringPtrInput
	// The name of the Log Analytics Workspace that will contain the Log Analytics Linked Service resource. Changing this forces a new resource to be created.
	//
	// Deprecated: This field has been deprecated in favour of `workspace_id` and will be removed in a future version of the provider
	WorkspaceName pulumi.StringPtrInput
	// The ID of the writable Resource that will be linked to the workspace. This should be used for linking to a Log Analytics Cluster resource.
	WriteAccessId pulumi.StringPtrInput
}

func (LinkedServiceState) ElementType

func (LinkedServiceState) ElementType() reflect.Type

type LinkedStorageAccount added in v3.29.0

type LinkedStorageAccount struct {
	pulumi.CustomResourceState

	// The data source type which should be used for this Log Analytics Linked Storage Account. Possible values are "customlogs", "azurewatson", "query", "ingestion" and "alerts". Changing this forces a new Log Analytics Linked Storage Account to be created.
	DataSourceType pulumi.StringOutput `pulumi:"dataSourceType"`
	// The name of the Resource Group where the Log Analytics Linked Storage Account should exist. Changing this forces a new Log Analytics Linked Storage Account to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The storage account resource ids to be linked.
	StorageAccountIds pulumi.StringArrayOutput `pulumi:"storageAccountIds"`
	// The resource ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Linked Storage Account to be created.
	WorkspaceResourceId pulumi.StringOutput `pulumi:"workspaceResourceId"`
}

Manages a Log Analytics Linked Storage Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/loganalytics"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/operationalinsights"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("PerGB2018"),
		})
		if err != nil {
			return err
		}
		_, err = loganalytics.NewLinkedStorageAccount(ctx, "exampleLinkedStorageAccount", &loganalytics.LinkedStorageAccountArgs{
			DataSourceType:      pulumi.String("customlogs"),
			ResourceGroupName:   exampleResourceGroup.Name,
			WorkspaceResourceId: exampleAnalyticsWorkspace.ID(),
			StorageAccountIds: pulumi.StringArray{
				exampleAccount.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log Analytics Linked Storage Accounts can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:loganalytics/linkedStorageAccount:LinkedStorageAccount example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.OperationalInsights/workspaces/workspace1/linkedStorageAccounts/{dataSourceType}

```

func GetLinkedStorageAccount added in v3.29.0

func GetLinkedStorageAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LinkedStorageAccountState, opts ...pulumi.ResourceOption) (*LinkedStorageAccount, error)

GetLinkedStorageAccount gets an existing LinkedStorageAccount 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 NewLinkedStorageAccount added in v3.29.0

func NewLinkedStorageAccount(ctx *pulumi.Context,
	name string, args *LinkedStorageAccountArgs, opts ...pulumi.ResourceOption) (*LinkedStorageAccount, error)

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

func (*LinkedStorageAccount) ElementType added in v3.31.1

func (*LinkedStorageAccount) ElementType() reflect.Type

func (*LinkedStorageAccount) ToLinkedStorageAccountOutput added in v3.31.1

func (i *LinkedStorageAccount) ToLinkedStorageAccountOutput() LinkedStorageAccountOutput

func (*LinkedStorageAccount) ToLinkedStorageAccountOutputWithContext added in v3.31.1

func (i *LinkedStorageAccount) ToLinkedStorageAccountOutputWithContext(ctx context.Context) LinkedStorageAccountOutput

func (*LinkedStorageAccount) ToLinkedStorageAccountPtrOutput added in v3.47.1

func (i *LinkedStorageAccount) ToLinkedStorageAccountPtrOutput() LinkedStorageAccountPtrOutput

func (*LinkedStorageAccount) ToLinkedStorageAccountPtrOutputWithContext added in v3.47.1

func (i *LinkedStorageAccount) ToLinkedStorageAccountPtrOutputWithContext(ctx context.Context) LinkedStorageAccountPtrOutput

type LinkedStorageAccountArgs added in v3.29.0

type LinkedStorageAccountArgs struct {
	// The data source type which should be used for this Log Analytics Linked Storage Account. Possible values are "customlogs", "azurewatson", "query", "ingestion" and "alerts". Changing this forces a new Log Analytics Linked Storage Account to be created.
	DataSourceType pulumi.StringInput
	// The name of the Resource Group where the Log Analytics Linked Storage Account should exist. Changing this forces a new Log Analytics Linked Storage Account to be created.
	ResourceGroupName pulumi.StringInput
	// The storage account resource ids to be linked.
	StorageAccountIds pulumi.StringArrayInput
	// The resource ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Linked Storage Account to be created.
	WorkspaceResourceId pulumi.StringInput
}

The set of arguments for constructing a LinkedStorageAccount resource.

func (LinkedStorageAccountArgs) ElementType added in v3.29.0

func (LinkedStorageAccountArgs) ElementType() reflect.Type

type LinkedStorageAccountArray added in v3.47.1

type LinkedStorageAccountArray []LinkedStorageAccountInput

func (LinkedStorageAccountArray) ElementType added in v3.47.1

func (LinkedStorageAccountArray) ElementType() reflect.Type

func (LinkedStorageAccountArray) ToLinkedStorageAccountArrayOutput added in v3.47.1

func (i LinkedStorageAccountArray) ToLinkedStorageAccountArrayOutput() LinkedStorageAccountArrayOutput

func (LinkedStorageAccountArray) ToLinkedStorageAccountArrayOutputWithContext added in v3.47.1

func (i LinkedStorageAccountArray) ToLinkedStorageAccountArrayOutputWithContext(ctx context.Context) LinkedStorageAccountArrayOutput

type LinkedStorageAccountArrayInput added in v3.47.1

type LinkedStorageAccountArrayInput interface {
	pulumi.Input

	ToLinkedStorageAccountArrayOutput() LinkedStorageAccountArrayOutput
	ToLinkedStorageAccountArrayOutputWithContext(context.Context) LinkedStorageAccountArrayOutput
}

LinkedStorageAccountArrayInput is an input type that accepts LinkedStorageAccountArray and LinkedStorageAccountArrayOutput values. You can construct a concrete instance of `LinkedStorageAccountArrayInput` via:

LinkedStorageAccountArray{ LinkedStorageAccountArgs{...} }

type LinkedStorageAccountArrayOutput added in v3.47.1

type LinkedStorageAccountArrayOutput struct{ *pulumi.OutputState }

func (LinkedStorageAccountArrayOutput) ElementType added in v3.47.1

func (LinkedStorageAccountArrayOutput) Index added in v3.47.1

func (LinkedStorageAccountArrayOutput) ToLinkedStorageAccountArrayOutput added in v3.47.1

func (o LinkedStorageAccountArrayOutput) ToLinkedStorageAccountArrayOutput() LinkedStorageAccountArrayOutput

func (LinkedStorageAccountArrayOutput) ToLinkedStorageAccountArrayOutputWithContext added in v3.47.1

func (o LinkedStorageAccountArrayOutput) ToLinkedStorageAccountArrayOutputWithContext(ctx context.Context) LinkedStorageAccountArrayOutput

type LinkedStorageAccountInput added in v3.31.1

type LinkedStorageAccountInput interface {
	pulumi.Input

	ToLinkedStorageAccountOutput() LinkedStorageAccountOutput
	ToLinkedStorageAccountOutputWithContext(ctx context.Context) LinkedStorageAccountOutput
}

type LinkedStorageAccountMap added in v3.47.1

type LinkedStorageAccountMap map[string]LinkedStorageAccountInput

func (LinkedStorageAccountMap) ElementType added in v3.47.1

func (LinkedStorageAccountMap) ElementType() reflect.Type

func (LinkedStorageAccountMap) ToLinkedStorageAccountMapOutput added in v3.47.1

func (i LinkedStorageAccountMap) ToLinkedStorageAccountMapOutput() LinkedStorageAccountMapOutput

func (LinkedStorageAccountMap) ToLinkedStorageAccountMapOutputWithContext added in v3.47.1

func (i LinkedStorageAccountMap) ToLinkedStorageAccountMapOutputWithContext(ctx context.Context) LinkedStorageAccountMapOutput

type LinkedStorageAccountMapInput added in v3.47.1

type LinkedStorageAccountMapInput interface {
	pulumi.Input

	ToLinkedStorageAccountMapOutput() LinkedStorageAccountMapOutput
	ToLinkedStorageAccountMapOutputWithContext(context.Context) LinkedStorageAccountMapOutput
}

LinkedStorageAccountMapInput is an input type that accepts LinkedStorageAccountMap and LinkedStorageAccountMapOutput values. You can construct a concrete instance of `LinkedStorageAccountMapInput` via:

LinkedStorageAccountMap{ "key": LinkedStorageAccountArgs{...} }

type LinkedStorageAccountMapOutput added in v3.47.1

type LinkedStorageAccountMapOutput struct{ *pulumi.OutputState }

func (LinkedStorageAccountMapOutput) ElementType added in v3.47.1

func (LinkedStorageAccountMapOutput) MapIndex added in v3.47.1

func (LinkedStorageAccountMapOutput) ToLinkedStorageAccountMapOutput added in v3.47.1

func (o LinkedStorageAccountMapOutput) ToLinkedStorageAccountMapOutput() LinkedStorageAccountMapOutput

func (LinkedStorageAccountMapOutput) ToLinkedStorageAccountMapOutputWithContext added in v3.47.1

func (o LinkedStorageAccountMapOutput) ToLinkedStorageAccountMapOutputWithContext(ctx context.Context) LinkedStorageAccountMapOutput

type LinkedStorageAccountOutput added in v3.31.1

type LinkedStorageAccountOutput struct {
	*pulumi.OutputState
}

func (LinkedStorageAccountOutput) ElementType added in v3.31.1

func (LinkedStorageAccountOutput) ElementType() reflect.Type

func (LinkedStorageAccountOutput) ToLinkedStorageAccountOutput added in v3.31.1

func (o LinkedStorageAccountOutput) ToLinkedStorageAccountOutput() LinkedStorageAccountOutput

func (LinkedStorageAccountOutput) ToLinkedStorageAccountOutputWithContext added in v3.31.1

func (o LinkedStorageAccountOutput) ToLinkedStorageAccountOutputWithContext(ctx context.Context) LinkedStorageAccountOutput

func (LinkedStorageAccountOutput) ToLinkedStorageAccountPtrOutput added in v3.47.1

func (o LinkedStorageAccountOutput) ToLinkedStorageAccountPtrOutput() LinkedStorageAccountPtrOutput

func (LinkedStorageAccountOutput) ToLinkedStorageAccountPtrOutputWithContext added in v3.47.1

func (o LinkedStorageAccountOutput) ToLinkedStorageAccountPtrOutputWithContext(ctx context.Context) LinkedStorageAccountPtrOutput

type LinkedStorageAccountPtrInput added in v3.47.1

type LinkedStorageAccountPtrInput interface {
	pulumi.Input

	ToLinkedStorageAccountPtrOutput() LinkedStorageAccountPtrOutput
	ToLinkedStorageAccountPtrOutputWithContext(ctx context.Context) LinkedStorageAccountPtrOutput
}

type LinkedStorageAccountPtrOutput added in v3.47.1

type LinkedStorageAccountPtrOutput struct {
	*pulumi.OutputState
}

func (LinkedStorageAccountPtrOutput) ElementType added in v3.47.1

func (LinkedStorageAccountPtrOutput) ToLinkedStorageAccountPtrOutput added in v3.47.1

func (o LinkedStorageAccountPtrOutput) ToLinkedStorageAccountPtrOutput() LinkedStorageAccountPtrOutput

func (LinkedStorageAccountPtrOutput) ToLinkedStorageAccountPtrOutputWithContext added in v3.47.1

func (o LinkedStorageAccountPtrOutput) ToLinkedStorageAccountPtrOutputWithContext(ctx context.Context) LinkedStorageAccountPtrOutput

type LinkedStorageAccountState added in v3.29.0

type LinkedStorageAccountState struct {
	// The data source type which should be used for this Log Analytics Linked Storage Account. Possible values are "customlogs", "azurewatson", "query", "ingestion" and "alerts". Changing this forces a new Log Analytics Linked Storage Account to be created.
	DataSourceType pulumi.StringPtrInput
	// The name of the Resource Group where the Log Analytics Linked Storage Account should exist. Changing this forces a new Log Analytics Linked Storage Account to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The storage account resource ids to be linked.
	StorageAccountIds pulumi.StringArrayInput
	// The resource ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Linked Storage Account to be created.
	WorkspaceResourceId pulumi.StringPtrInput
}

func (LinkedStorageAccountState) ElementType added in v3.29.0

func (LinkedStorageAccountState) ElementType() reflect.Type

type SavedSearch added in v3.20.0

type SavedSearch struct {
	pulumi.CustomResourceState

	// The category that the Saved Search will be listed under. Changing this forces a new resource to be created.
	Category pulumi.StringOutput `pulumi:"category"`
	// The name that Saved Search will be displayed as. Changing this forces a new resource to be created.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The function alias if the query serves as a function. Changing this forces a new resource to be created.
	FunctionAlias pulumi.StringPtrOutput `pulumi:"functionAlias"`
	// The function parameters if the query serves as a function. Changing this forces a new resource to be created.
	FunctionParameters pulumi.StringArrayOutput `pulumi:"functionParameters"`
	// Specifies the ID of the Log Analytics Workspace that the Saved Search will be associated with. Changing this forces a new resource to be created.
	LogAnalyticsWorkspaceId pulumi.StringOutput `pulumi:"logAnalyticsWorkspaceId"`
	// Specifies the name of the Log Analytics Saved Search. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The query expression for the saved search. Changing this forces a new resource to be created.
	Query pulumi.StringOutput `pulumi:"query"`
	// A mapping of tags which should be assigned to the Logs Analytics Saved Search.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Log Analytics (formally Operational Insights) Saved Search.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("PerGB2018"),
			RetentionInDays:   pulumi.Int(30),
		})
		if err != nil {
			return err
		}
		_, err = loganalytics.NewSavedSearch(ctx, "exampleSavedSearch", &loganalytics.SavedSearchArgs{
			LogAnalyticsWorkspaceId: pulumi.Any(azurerm_log_analytics_workspace.Test.Id),
			Category:                pulumi.String("exampleCategory"),
			DisplayName:             pulumi.String("exampleDisplayName"),
			Query:                   pulumi.String("exampleQuery"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:loganalytics/savedSearch:SavedSearch search1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.OperationalInsights/workspaces/workspace1/savedSearches/search1

```

func GetSavedSearch added in v3.20.0

func GetSavedSearch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SavedSearchState, opts ...pulumi.ResourceOption) (*SavedSearch, error)

GetSavedSearch gets an existing SavedSearch 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 NewSavedSearch added in v3.20.0

func NewSavedSearch(ctx *pulumi.Context,
	name string, args *SavedSearchArgs, opts ...pulumi.ResourceOption) (*SavedSearch, error)

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

func (*SavedSearch) ElementType added in v3.31.1

func (*SavedSearch) ElementType() reflect.Type

func (*SavedSearch) ToSavedSearchOutput added in v3.31.1

func (i *SavedSearch) ToSavedSearchOutput() SavedSearchOutput

func (*SavedSearch) ToSavedSearchOutputWithContext added in v3.31.1

func (i *SavedSearch) ToSavedSearchOutputWithContext(ctx context.Context) SavedSearchOutput

func (*SavedSearch) ToSavedSearchPtrOutput added in v3.47.1

func (i *SavedSearch) ToSavedSearchPtrOutput() SavedSearchPtrOutput

func (*SavedSearch) ToSavedSearchPtrOutputWithContext added in v3.47.1

func (i *SavedSearch) ToSavedSearchPtrOutputWithContext(ctx context.Context) SavedSearchPtrOutput

type SavedSearchArgs added in v3.20.0

type SavedSearchArgs struct {
	// The category that the Saved Search will be listed under. Changing this forces a new resource to be created.
	Category pulumi.StringInput
	// The name that Saved Search will be displayed as. Changing this forces a new resource to be created.
	DisplayName pulumi.StringInput
	// The function alias if the query serves as a function. Changing this forces a new resource to be created.
	FunctionAlias pulumi.StringPtrInput
	// The function parameters if the query serves as a function. Changing this forces a new resource to be created.
	FunctionParameters pulumi.StringArrayInput
	// Specifies the ID of the Log Analytics Workspace that the Saved Search will be associated with. Changing this forces a new resource to be created.
	LogAnalyticsWorkspaceId pulumi.StringInput
	// Specifies the name of the Log Analytics Saved Search. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The query expression for the saved search. Changing this forces a new resource to be created.
	Query pulumi.StringInput
	// A mapping of tags which should be assigned to the Logs Analytics Saved Search.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a SavedSearch resource.

func (SavedSearchArgs) ElementType added in v3.20.0

func (SavedSearchArgs) ElementType() reflect.Type

type SavedSearchArray added in v3.47.1

type SavedSearchArray []SavedSearchInput

func (SavedSearchArray) ElementType added in v3.47.1

func (SavedSearchArray) ElementType() reflect.Type

func (SavedSearchArray) ToSavedSearchArrayOutput added in v3.47.1

func (i SavedSearchArray) ToSavedSearchArrayOutput() SavedSearchArrayOutput

func (SavedSearchArray) ToSavedSearchArrayOutputWithContext added in v3.47.1

func (i SavedSearchArray) ToSavedSearchArrayOutputWithContext(ctx context.Context) SavedSearchArrayOutput

type SavedSearchArrayInput added in v3.47.1

type SavedSearchArrayInput interface {
	pulumi.Input

	ToSavedSearchArrayOutput() SavedSearchArrayOutput
	ToSavedSearchArrayOutputWithContext(context.Context) SavedSearchArrayOutput
}

SavedSearchArrayInput is an input type that accepts SavedSearchArray and SavedSearchArrayOutput values. You can construct a concrete instance of `SavedSearchArrayInput` via:

SavedSearchArray{ SavedSearchArgs{...} }

type SavedSearchArrayOutput added in v3.47.1

type SavedSearchArrayOutput struct{ *pulumi.OutputState }

func (SavedSearchArrayOutput) ElementType added in v3.47.1

func (SavedSearchArrayOutput) ElementType() reflect.Type

func (SavedSearchArrayOutput) Index added in v3.47.1

func (SavedSearchArrayOutput) ToSavedSearchArrayOutput added in v3.47.1

func (o SavedSearchArrayOutput) ToSavedSearchArrayOutput() SavedSearchArrayOutput

func (SavedSearchArrayOutput) ToSavedSearchArrayOutputWithContext added in v3.47.1

func (o SavedSearchArrayOutput) ToSavedSearchArrayOutputWithContext(ctx context.Context) SavedSearchArrayOutput

type SavedSearchInput added in v3.31.1

type SavedSearchInput interface {
	pulumi.Input

	ToSavedSearchOutput() SavedSearchOutput
	ToSavedSearchOutputWithContext(ctx context.Context) SavedSearchOutput
}

type SavedSearchMap added in v3.47.1

type SavedSearchMap map[string]SavedSearchInput

func (SavedSearchMap) ElementType added in v3.47.1

func (SavedSearchMap) ElementType() reflect.Type

func (SavedSearchMap) ToSavedSearchMapOutput added in v3.47.1

func (i SavedSearchMap) ToSavedSearchMapOutput() SavedSearchMapOutput

func (SavedSearchMap) ToSavedSearchMapOutputWithContext added in v3.47.1

func (i SavedSearchMap) ToSavedSearchMapOutputWithContext(ctx context.Context) SavedSearchMapOutput

type SavedSearchMapInput added in v3.47.1

type SavedSearchMapInput interface {
	pulumi.Input

	ToSavedSearchMapOutput() SavedSearchMapOutput
	ToSavedSearchMapOutputWithContext(context.Context) SavedSearchMapOutput
}

SavedSearchMapInput is an input type that accepts SavedSearchMap and SavedSearchMapOutput values. You can construct a concrete instance of `SavedSearchMapInput` via:

SavedSearchMap{ "key": SavedSearchArgs{...} }

type SavedSearchMapOutput added in v3.47.1

type SavedSearchMapOutput struct{ *pulumi.OutputState }

func (SavedSearchMapOutput) ElementType added in v3.47.1

func (SavedSearchMapOutput) ElementType() reflect.Type

func (SavedSearchMapOutput) MapIndex added in v3.47.1

func (SavedSearchMapOutput) ToSavedSearchMapOutput added in v3.47.1

func (o SavedSearchMapOutput) ToSavedSearchMapOutput() SavedSearchMapOutput

func (SavedSearchMapOutput) ToSavedSearchMapOutputWithContext added in v3.47.1

func (o SavedSearchMapOutput) ToSavedSearchMapOutputWithContext(ctx context.Context) SavedSearchMapOutput

type SavedSearchOutput added in v3.31.1

type SavedSearchOutput struct {
	*pulumi.OutputState
}

func (SavedSearchOutput) ElementType added in v3.31.1

func (SavedSearchOutput) ElementType() reflect.Type

func (SavedSearchOutput) ToSavedSearchOutput added in v3.31.1

func (o SavedSearchOutput) ToSavedSearchOutput() SavedSearchOutput

func (SavedSearchOutput) ToSavedSearchOutputWithContext added in v3.31.1

func (o SavedSearchOutput) ToSavedSearchOutputWithContext(ctx context.Context) SavedSearchOutput

func (SavedSearchOutput) ToSavedSearchPtrOutput added in v3.47.1

func (o SavedSearchOutput) ToSavedSearchPtrOutput() SavedSearchPtrOutput

func (SavedSearchOutput) ToSavedSearchPtrOutputWithContext added in v3.47.1

func (o SavedSearchOutput) ToSavedSearchPtrOutputWithContext(ctx context.Context) SavedSearchPtrOutput

type SavedSearchPtrInput added in v3.47.1

type SavedSearchPtrInput interface {
	pulumi.Input

	ToSavedSearchPtrOutput() SavedSearchPtrOutput
	ToSavedSearchPtrOutputWithContext(ctx context.Context) SavedSearchPtrOutput
}

type SavedSearchPtrOutput added in v3.47.1

type SavedSearchPtrOutput struct {
	*pulumi.OutputState
}

func (SavedSearchPtrOutput) ElementType added in v3.47.1

func (SavedSearchPtrOutput) ElementType() reflect.Type

func (SavedSearchPtrOutput) ToSavedSearchPtrOutput added in v3.47.1

func (o SavedSearchPtrOutput) ToSavedSearchPtrOutput() SavedSearchPtrOutput

func (SavedSearchPtrOutput) ToSavedSearchPtrOutputWithContext added in v3.47.1

func (o SavedSearchPtrOutput) ToSavedSearchPtrOutputWithContext(ctx context.Context) SavedSearchPtrOutput

type SavedSearchState added in v3.20.0

type SavedSearchState struct {
	// The category that the Saved Search will be listed under. Changing this forces a new resource to be created.
	Category pulumi.StringPtrInput
	// The name that Saved Search will be displayed as. Changing this forces a new resource to be created.
	DisplayName pulumi.StringPtrInput
	// The function alias if the query serves as a function. Changing this forces a new resource to be created.
	FunctionAlias pulumi.StringPtrInput
	// The function parameters if the query serves as a function. Changing this forces a new resource to be created.
	FunctionParameters pulumi.StringArrayInput
	// Specifies the ID of the Log Analytics Workspace that the Saved Search will be associated with. Changing this forces a new resource to be created.
	LogAnalyticsWorkspaceId pulumi.StringPtrInput
	// Specifies the name of the Log Analytics Saved Search. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The query expression for the saved search. Changing this forces a new resource to be created.
	Query pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Logs Analytics Saved Search.
	Tags pulumi.StringMapInput
}

func (SavedSearchState) ElementType added in v3.20.0

func (SavedSearchState) ElementType() reflect.Type

type StorageInsights added in v3.31.0

type StorageInsights struct {
	pulumi.CustomResourceState

	// The names of the blob containers that the workspace should read.
	BlobContainerNames pulumi.StringArrayOutput `pulumi:"blobContainerNames"`
	// The name which should be used for this Log Analytics Storage Insights. Changing this forces a new Log Analytics Storage Insights to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Log Analytics Storage Insights should exist. Changing this forces a new Log Analytics Storage Insights to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The ID of the Storage Account used by this Log Analytics Storage Insights.
	StorageAccountId pulumi.StringOutput `pulumi:"storageAccountId"`
	// The storage access key to be used to connect to the storage account.
	StorageAccountKey pulumi.StringOutput `pulumi:"storageAccountKey"`
	// The names of the Azure tables that the workspace should read.
	TableNames pulumi.StringArrayOutput `pulumi:"tableNames"`
	// A mapping of tags which should be assigned to the Log Analytics Storage Insights.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The ID of the Log Analytics Workspace within which the Storage Insights should exist. Changing this forces a new Log Analytics Storage Insights to be created.
	WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"`
}

Manages a Log Analytics Storage Insights resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/loganalytics"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/operationalinsights"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("PerGB2018"),
			RetentionInDays:   pulumi.Int(30),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = loganalytics.NewStorageInsights(ctx, "exampleStorageInsights", &loganalytics.StorageInsightsArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			WorkspaceId:       exampleAnalyticsWorkspace.ID(),
			StorageAccountId:  exampleAccount.ID(),
			StorageAccountKey: exampleAccount.PrimaryAccessKey,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log Analytics Storage Insight Configs can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:loganalytics/storageInsights:StorageInsights example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.OperationalInsights/workspaces/workspace1/storageInsightConfigs/storageInsight1

```

func GetStorageInsights added in v3.31.0

func GetStorageInsights(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StorageInsightsState, opts ...pulumi.ResourceOption) (*StorageInsights, error)

GetStorageInsights gets an existing StorageInsights 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 NewStorageInsights added in v3.31.0

func NewStorageInsights(ctx *pulumi.Context,
	name string, args *StorageInsightsArgs, opts ...pulumi.ResourceOption) (*StorageInsights, error)

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

func (*StorageInsights) ElementType added in v3.31.1

func (*StorageInsights) ElementType() reflect.Type

func (*StorageInsights) ToStorageInsightsOutput added in v3.31.1

func (i *StorageInsights) ToStorageInsightsOutput() StorageInsightsOutput

func (*StorageInsights) ToStorageInsightsOutputWithContext added in v3.31.1

func (i *StorageInsights) ToStorageInsightsOutputWithContext(ctx context.Context) StorageInsightsOutput

func (*StorageInsights) ToStorageInsightsPtrOutput added in v3.47.1

func (i *StorageInsights) ToStorageInsightsPtrOutput() StorageInsightsPtrOutput

func (*StorageInsights) ToStorageInsightsPtrOutputWithContext added in v3.47.1

func (i *StorageInsights) ToStorageInsightsPtrOutputWithContext(ctx context.Context) StorageInsightsPtrOutput

type StorageInsightsArgs added in v3.31.0

type StorageInsightsArgs struct {
	// The names of the blob containers that the workspace should read.
	BlobContainerNames pulumi.StringArrayInput
	// The name which should be used for this Log Analytics Storage Insights. Changing this forces a new Log Analytics Storage Insights to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Log Analytics Storage Insights should exist. Changing this forces a new Log Analytics Storage Insights to be created.
	ResourceGroupName pulumi.StringInput
	// The ID of the Storage Account used by this Log Analytics Storage Insights.
	StorageAccountId pulumi.StringInput
	// The storage access key to be used to connect to the storage account.
	StorageAccountKey pulumi.StringInput
	// The names of the Azure tables that the workspace should read.
	TableNames pulumi.StringArrayInput
	// A mapping of tags which should be assigned to the Log Analytics Storage Insights.
	Tags pulumi.StringMapInput
	// The ID of the Log Analytics Workspace within which the Storage Insights should exist. Changing this forces a new Log Analytics Storage Insights to be created.
	WorkspaceId pulumi.StringInput
}

The set of arguments for constructing a StorageInsights resource.

func (StorageInsightsArgs) ElementType added in v3.31.0

func (StorageInsightsArgs) ElementType() reflect.Type

type StorageInsightsArray added in v3.47.1

type StorageInsightsArray []StorageInsightsInput

func (StorageInsightsArray) ElementType added in v3.47.1

func (StorageInsightsArray) ElementType() reflect.Type

func (StorageInsightsArray) ToStorageInsightsArrayOutput added in v3.47.1

func (i StorageInsightsArray) ToStorageInsightsArrayOutput() StorageInsightsArrayOutput

func (StorageInsightsArray) ToStorageInsightsArrayOutputWithContext added in v3.47.1

func (i StorageInsightsArray) ToStorageInsightsArrayOutputWithContext(ctx context.Context) StorageInsightsArrayOutput

type StorageInsightsArrayInput added in v3.47.1

type StorageInsightsArrayInput interface {
	pulumi.Input

	ToStorageInsightsArrayOutput() StorageInsightsArrayOutput
	ToStorageInsightsArrayOutputWithContext(context.Context) StorageInsightsArrayOutput
}

StorageInsightsArrayInput is an input type that accepts StorageInsightsArray and StorageInsightsArrayOutput values. You can construct a concrete instance of `StorageInsightsArrayInput` via:

StorageInsightsArray{ StorageInsightsArgs{...} }

type StorageInsightsArrayOutput added in v3.47.1

type StorageInsightsArrayOutput struct{ *pulumi.OutputState }

func (StorageInsightsArrayOutput) ElementType added in v3.47.1

func (StorageInsightsArrayOutput) ElementType() reflect.Type

func (StorageInsightsArrayOutput) Index added in v3.47.1

func (StorageInsightsArrayOutput) ToStorageInsightsArrayOutput added in v3.47.1

func (o StorageInsightsArrayOutput) ToStorageInsightsArrayOutput() StorageInsightsArrayOutput

func (StorageInsightsArrayOutput) ToStorageInsightsArrayOutputWithContext added in v3.47.1

func (o StorageInsightsArrayOutput) ToStorageInsightsArrayOutputWithContext(ctx context.Context) StorageInsightsArrayOutput

type StorageInsightsInput added in v3.31.1

type StorageInsightsInput interface {
	pulumi.Input

	ToStorageInsightsOutput() StorageInsightsOutput
	ToStorageInsightsOutputWithContext(ctx context.Context) StorageInsightsOutput
}

type StorageInsightsMap added in v3.47.1

type StorageInsightsMap map[string]StorageInsightsInput

func (StorageInsightsMap) ElementType added in v3.47.1

func (StorageInsightsMap) ElementType() reflect.Type

func (StorageInsightsMap) ToStorageInsightsMapOutput added in v3.47.1

func (i StorageInsightsMap) ToStorageInsightsMapOutput() StorageInsightsMapOutput

func (StorageInsightsMap) ToStorageInsightsMapOutputWithContext added in v3.47.1

func (i StorageInsightsMap) ToStorageInsightsMapOutputWithContext(ctx context.Context) StorageInsightsMapOutput

type StorageInsightsMapInput added in v3.47.1

type StorageInsightsMapInput interface {
	pulumi.Input

	ToStorageInsightsMapOutput() StorageInsightsMapOutput
	ToStorageInsightsMapOutputWithContext(context.Context) StorageInsightsMapOutput
}

StorageInsightsMapInput is an input type that accepts StorageInsightsMap and StorageInsightsMapOutput values. You can construct a concrete instance of `StorageInsightsMapInput` via:

StorageInsightsMap{ "key": StorageInsightsArgs{...} }

type StorageInsightsMapOutput added in v3.47.1

type StorageInsightsMapOutput struct{ *pulumi.OutputState }

func (StorageInsightsMapOutput) ElementType added in v3.47.1

func (StorageInsightsMapOutput) ElementType() reflect.Type

func (StorageInsightsMapOutput) MapIndex added in v3.47.1

func (StorageInsightsMapOutput) ToStorageInsightsMapOutput added in v3.47.1

func (o StorageInsightsMapOutput) ToStorageInsightsMapOutput() StorageInsightsMapOutput

func (StorageInsightsMapOutput) ToStorageInsightsMapOutputWithContext added in v3.47.1

func (o StorageInsightsMapOutput) ToStorageInsightsMapOutputWithContext(ctx context.Context) StorageInsightsMapOutput

type StorageInsightsOutput added in v3.31.1

type StorageInsightsOutput struct {
	*pulumi.OutputState
}

func (StorageInsightsOutput) ElementType added in v3.31.1

func (StorageInsightsOutput) ElementType() reflect.Type

func (StorageInsightsOutput) ToStorageInsightsOutput added in v3.31.1

func (o StorageInsightsOutput) ToStorageInsightsOutput() StorageInsightsOutput

func (StorageInsightsOutput) ToStorageInsightsOutputWithContext added in v3.31.1

func (o StorageInsightsOutput) ToStorageInsightsOutputWithContext(ctx context.Context) StorageInsightsOutput

func (StorageInsightsOutput) ToStorageInsightsPtrOutput added in v3.47.1

func (o StorageInsightsOutput) ToStorageInsightsPtrOutput() StorageInsightsPtrOutput

func (StorageInsightsOutput) ToStorageInsightsPtrOutputWithContext added in v3.47.1

func (o StorageInsightsOutput) ToStorageInsightsPtrOutputWithContext(ctx context.Context) StorageInsightsPtrOutput

type StorageInsightsPtrInput added in v3.47.1

type StorageInsightsPtrInput interface {
	pulumi.Input

	ToStorageInsightsPtrOutput() StorageInsightsPtrOutput
	ToStorageInsightsPtrOutputWithContext(ctx context.Context) StorageInsightsPtrOutput
}

type StorageInsightsPtrOutput added in v3.47.1

type StorageInsightsPtrOutput struct {
	*pulumi.OutputState
}

func (StorageInsightsPtrOutput) ElementType added in v3.47.1

func (StorageInsightsPtrOutput) ElementType() reflect.Type

func (StorageInsightsPtrOutput) ToStorageInsightsPtrOutput added in v3.47.1

func (o StorageInsightsPtrOutput) ToStorageInsightsPtrOutput() StorageInsightsPtrOutput

func (StorageInsightsPtrOutput) ToStorageInsightsPtrOutputWithContext added in v3.47.1

func (o StorageInsightsPtrOutput) ToStorageInsightsPtrOutputWithContext(ctx context.Context) StorageInsightsPtrOutput

type StorageInsightsState added in v3.31.0

type StorageInsightsState struct {
	// The names of the blob containers that the workspace should read.
	BlobContainerNames pulumi.StringArrayInput
	// The name which should be used for this Log Analytics Storage Insights. Changing this forces a new Log Analytics Storage Insights to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Log Analytics Storage Insights should exist. Changing this forces a new Log Analytics Storage Insights to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The ID of the Storage Account used by this Log Analytics Storage Insights.
	StorageAccountId pulumi.StringPtrInput
	// The storage access key to be used to connect to the storage account.
	StorageAccountKey pulumi.StringPtrInput
	// The names of the Azure tables that the workspace should read.
	TableNames pulumi.StringArrayInput
	// A mapping of tags which should be assigned to the Log Analytics Storage Insights.
	Tags pulumi.StringMapInput
	// The ID of the Log Analytics Workspace within which the Storage Insights should exist. Changing this forces a new Log Analytics Storage Insights to be created.
	WorkspaceId pulumi.StringPtrInput
}

func (StorageInsightsState) ElementType added in v3.31.0

func (StorageInsightsState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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