1. Registry
  2. Packages
  3. Azure Classic
  4. API Docs
  5. loganalytics
  6. WorkspaceTableMicrosoft

We recommend using Azure Native.

Viewing docs for Azure v6.40.0
published on Wednesday, Sep 2, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v6.40.0
published on Wednesday, Sep 2, 2026 by Pulumi

    Manages a Microsoft Table in a Log Analytics (formally Operational Insights) Workspace.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
        name: "example",
        location: example.location,
        resourceGroupName: example.name,
        retentionInDays: 30,
    });
    const exampleWorkspaceTableMicrosoft = new azure.loganalytics.WorkspaceTableMicrosoft("example", {
        name: "AppCenterError",
        workspaceId: exampleAnalyticsWorkspace.id,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_analytics_workspace = azure.operationalinsights.AnalyticsWorkspace("example",
        name="example",
        location=example.location,
        resource_group_name=example.name,
        retention_in_days=30)
    example_workspace_table_microsoft = azure.loganalytics.WorkspaceTableMicrosoft("example",
        name="AppCenterError",
        workspace_id=example_analytics_workspace.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/loganalytics"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/operationalinsights"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "example", &operationalinsights.AnalyticsWorkspaceArgs{
    			Name:              pulumi.String("example"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			RetentionInDays:   pulumi.Int(30),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = loganalytics.NewWorkspaceTableMicrosoft(ctx, "example", &loganalytics.WorkspaceTableMicrosoftArgs{
    			Name:        pulumi.String("AppCenterError"),
    			WorkspaceId: exampleAnalyticsWorkspace.ID().ToIDOutput().ToStringOutput(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("example", new()
        {
            Name = "example",
            Location = example.Location,
            ResourceGroupName = example.Name,
            RetentionInDays = 30,
        });
    
        var exampleWorkspaceTableMicrosoft = new Azure.LogAnalytics.WorkspaceTableMicrosoft("example", new()
        {
            Name = "AppCenterError",
            WorkspaceId = exampleAnalyticsWorkspace.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.operationalinsights.AnalyticsWorkspace;
    import com.pulumi.azure.operationalinsights.AnalyticsWorkspaceArgs;
    import com.pulumi.azure.loganalytics.WorkspaceTableMicrosoft;
    import com.pulumi.azure.loganalytics.WorkspaceTableMicrosoftArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleAnalyticsWorkspace = new AnalyticsWorkspace("exampleAnalyticsWorkspace", AnalyticsWorkspaceArgs.builder()
                .name("example")
                .location(example.location())
                .resourceGroupName(example.name())
                .retentionInDays(30)
                .build());
    
            var exampleWorkspaceTableMicrosoft = new WorkspaceTableMicrosoft("exampleWorkspaceTableMicrosoft", WorkspaceTableMicrosoftArgs.builder()
                .name("AppCenterError")
                .workspaceId(exampleAnalyticsWorkspace.id())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleAnalyticsWorkspace:
        type: azure:operationalinsights:AnalyticsWorkspace
        name: example
        properties:
          name: example
          location: ${example.location}
          resourceGroupName: ${example.name}
          retentionInDays: 30
      exampleWorkspaceTableMicrosoft:
        type: azure:loganalytics:WorkspaceTableMicrosoft
        name: example
        properties:
          name: AppCenterError
          workspaceId: ${exampleAnalyticsWorkspace.id}
    
    pulumi {
      required_providers {
        azure = {
          source = "pulumi/azure"
        }
      }
    }
    
    resource "azure_core_resourcegroup" "example" {
      name     = "example-resources"
      location = "West Europe"
    }
    resource "azure_operationalinsights_analyticsworkspace" "example" {
      name                = "example"
      location            = azure_core_resourcegroup.example.location
      resource_group_name = azure_core_resourcegroup.example.name
      retention_in_days   = 30
    }
    resource "azure_loganalytics_workspacetablemicrosoft" "example" {
      name         = "AppCenterError"
      workspace_id = azure_operationalinsights_analyticsworkspace.example.id
    }
    

    API Providers

    This resource uses the following Azure API Providers:

    • Microsoft.OperationalInsights - 2022-10-01

    Create WorkspaceTableMicrosoft Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WorkspaceTableMicrosoft(name: string, args: WorkspaceTableMicrosoftArgs, opts?: CustomResourceOptions);
    @overload
    def WorkspaceTableMicrosoft(resource_name: str,
                                args: WorkspaceTableMicrosoftArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def WorkspaceTableMicrosoft(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                workspace_id: Optional[str] = None,
                                columns: Optional[Sequence[WorkspaceTableMicrosoftColumnArgs]] = None,
                                description: Optional[str] = None,
                                display_name: Optional[str] = None,
                                labels: Optional[Sequence[str]] = None,
                                name: Optional[str] = None,
                                retention_in_days: Optional[int] = None,
                                total_retention_in_days: Optional[int] = None)
    func NewWorkspaceTableMicrosoft(ctx *Context, name string, args WorkspaceTableMicrosoftArgs, opts ...ResourceOption) (*WorkspaceTableMicrosoft, error)
    public WorkspaceTableMicrosoft(string name, WorkspaceTableMicrosoftArgs args, CustomResourceOptions? opts = null)
    public WorkspaceTableMicrosoft(String name, WorkspaceTableMicrosoftArgs args)
    public WorkspaceTableMicrosoft(String name, WorkspaceTableMicrosoftArgs args, CustomResourceOptions options)
    
    type: azure:loganalytics:WorkspaceTableMicrosoft
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "azure_loganalytics_workspace_table_microsoft" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args WorkspaceTableMicrosoftArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WorkspaceTableMicrosoftArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WorkspaceTableMicrosoftArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkspaceTableMicrosoftArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkspaceTableMicrosoftArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var workspaceTableMicrosoftResource = new Azure.LogAnalytics.WorkspaceTableMicrosoft("workspaceTableMicrosoftResource", new()
    {
        WorkspaceId = "string",
        Columns = new[]
        {
            new Azure.LogAnalytics.Inputs.WorkspaceTableMicrosoftColumnArgs
            {
                Name = "string",
                Type = "string",
                Description = "string",
                DisplayByDefault = false,
                DisplayName = "string",
                Hidden = false,
            },
        },
        Description = "string",
        DisplayName = "string",
        Labels = new[]
        {
            "string",
        },
        Name = "string",
        RetentionInDays = 0,
        TotalRetentionInDays = 0,
    });
    
    example, err := loganalytics.NewWorkspaceTableMicrosoft(ctx, "workspaceTableMicrosoftResource", &loganalytics.WorkspaceTableMicrosoftArgs{
    	WorkspaceId: pulumi.String("string"),
    	Columns: loganalytics.WorkspaceTableMicrosoftColumnArray{
    		&loganalytics.WorkspaceTableMicrosoftColumnArgs{
    			Name:             pulumi.String("string"),
    			Type:             pulumi.String("string"),
    			Description:      pulumi.String("string"),
    			DisplayByDefault: pulumi.Bool(false),
    			DisplayName:      pulumi.String("string"),
    			Hidden:           pulumi.Bool(false),
    		},
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	Labels: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:                 pulumi.String("string"),
    	RetentionInDays:      pulumi.Int(0),
    	TotalRetentionInDays: pulumi.Int(0),
    })
    
    resource "azure_loganalytics_workspace_table_microsoft" "workspaceTableMicrosoftResource" {
      lifecycle {
        create_before_destroy = true
      }
      workspace_id = "string"
      columns {
        name               = "string"
        type               = "string"
        description        = "string"
        display_by_default = false
        display_name       = "string"
        hidden             = false
      }
      description             = "string"
      display_name            = "string"
      labels                  = ["string"]
      name                    = "string"
      retention_in_days       = 0
      total_retention_in_days = 0
    }
    
    var workspaceTableMicrosoftResource = new WorkspaceTableMicrosoft("workspaceTableMicrosoftResource", WorkspaceTableMicrosoftArgs.builder()
        .workspaceId("string")
        .columns(WorkspaceTableMicrosoftColumnArgs.builder()
            .name("string")
            .type("string")
            .description("string")
            .displayByDefault(false)
            .displayName("string")
            .hidden(false)
            .build())
        .description("string")
        .displayName("string")
        .labels("string")
        .name("string")
        .retentionInDays(0)
        .totalRetentionInDays(0)
        .build());
    
    workspace_table_microsoft_resource = azure.loganalytics.WorkspaceTableMicrosoft("workspaceTableMicrosoftResource",
        workspace_id="string",
        columns=[{
            "name": "string",
            "type": "string",
            "description": "string",
            "display_by_default": False,
            "display_name": "string",
            "hidden": False,
        }],
        description="string",
        display_name="string",
        labels=["string"],
        name="string",
        retention_in_days=0,
        total_retention_in_days=0)
    
    const workspaceTableMicrosoftResource = new azure.loganalytics.WorkspaceTableMicrosoft("workspaceTableMicrosoftResource", {
        workspaceId: "string",
        columns: [{
            name: "string",
            type: "string",
            description: "string",
            displayByDefault: false,
            displayName: "string",
            hidden: false,
        }],
        description: "string",
        displayName: "string",
        labels: ["string"],
        name: "string",
        retentionInDays: 0,
        totalRetentionInDays: 0,
    });
    
    type: azure:loganalytics:WorkspaceTableMicrosoft
    properties:
        columns:
            - description: string
              displayByDefault: false
              displayName: string
              hidden: false
              name: string
              type: string
        description: string
        displayName: string
        labels:
            - string
        name: string
        retentionInDays: 0
        totalRetentionInDays: 0
        workspaceId: string
    

    WorkspaceTableMicrosoft Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The WorkspaceTableMicrosoft resource accepts the following input properties:

    WorkspaceId string
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    Columns List<WorkspaceTableMicrosoftColumn>
    One or more column blocks as defined below.
    Description string
    A description of the table.
    DisplayName string
    The display name of the table.
    Labels List<string>
    Specifies a list of table labels.
    Name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    RetentionInDays int

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    TotalRetentionInDays int
    The table total retention in days, between 4 and 4383.
    WorkspaceId string
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    Columns []WorkspaceTableMicrosoftColumnArgs
    One or more column blocks as defined below.
    Description string
    A description of the table.
    DisplayName string
    The display name of the table.
    Labels []string
    Specifies a list of table labels.
    Name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    RetentionInDays int

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    TotalRetentionInDays int
    The table total retention in days, between 4 and 4383.
    workspace_id string
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    columns list(object)
    One or more column blocks as defined below.
    description string
    A description of the table.
    display_name string
    The display name of the table.
    labels list(string)
    Specifies a list of table labels.
    name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    retention_in_days number

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    total_retention_in_days number
    The table total retention in days, between 4 and 4383.
    workspaceId String
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    columns List<WorkspaceTableMicrosoftColumn>
    One or more column blocks as defined below.
    description String
    A description of the table.
    displayName String
    The display name of the table.
    labels List<String>
    Specifies a list of table labels.
    name String
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    retentionInDays Integer

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    totalRetentionInDays Integer
    The table total retention in days, between 4 and 4383.
    workspaceId string
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    columns WorkspaceTableMicrosoftColumn[]
    One or more column blocks as defined below.
    description string
    A description of the table.
    displayName string
    The display name of the table.
    labels string[]
    Specifies a list of table labels.
    name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    retentionInDays number

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    totalRetentionInDays number
    The table total retention in days, between 4 and 4383.
    workspace_id str
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    columns Sequence[WorkspaceTableMicrosoftColumnArgs]
    One or more column blocks as defined below.
    description str
    A description of the table.
    display_name str
    The display name of the table.
    labels Sequence[str]
    Specifies a list of table labels.
    name str
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    retention_in_days int

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    total_retention_in_days int
    The table total retention in days, between 4 and 4383.
    workspaceId String
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    columns List<Property Map>
    One or more column blocks as defined below.
    description String
    A description of the table.
    displayName String
    The display name of the table.
    labels List<String>
    Specifies a list of table labels.
    name String
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    retentionInDays Number

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    totalRetentionInDays Number
    The table total retention in days, between 4 and 4383.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WorkspaceTableMicrosoft resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Solutions List<string>
    The list of solutions associated with this table.
    StandardColumns List<WorkspaceTableMicrosoftStandardColumn>
    A standardColumn block as defined below.
    Id string
    The provider-assigned unique ID for this managed resource.
    Solutions []string
    The list of solutions associated with this table.
    StandardColumns []WorkspaceTableMicrosoftStandardColumn
    A standardColumn block as defined below.
    id string
    The provider-assigned unique ID for this managed resource.
    solutions list(string)
    The list of solutions associated with this table.
    standard_columns list(object)
    A standardColumn block as defined below.
    id String
    The provider-assigned unique ID for this managed resource.
    solutions List<String>
    The list of solutions associated with this table.
    standardColumns List<WorkspaceTableMicrosoftStandardColumn>
    A standardColumn block as defined below.
    id string
    The provider-assigned unique ID for this managed resource.
    solutions string[]
    The list of solutions associated with this table.
    standardColumns WorkspaceTableMicrosoftStandardColumn[]
    A standardColumn block as defined below.
    id str
    The provider-assigned unique ID for this managed resource.
    solutions Sequence[str]
    The list of solutions associated with this table.
    standard_columns Sequence[WorkspaceTableMicrosoftStandardColumn]
    A standardColumn block as defined below.
    id String
    The provider-assigned unique ID for this managed resource.
    solutions List<String>
    The list of solutions associated with this table.
    standardColumns List<Property Map>
    A standardColumn block as defined below.

    Look up Existing WorkspaceTableMicrosoft Resource

    Get an existing WorkspaceTableMicrosoft resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WorkspaceTableMicrosoftState, opts?: CustomResourceOptions): WorkspaceTableMicrosoft
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            columns: Optional[Sequence[WorkspaceTableMicrosoftColumnArgs]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            labels: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            retention_in_days: Optional[int] = None,
            solutions: Optional[Sequence[str]] = None,
            standard_columns: Optional[Sequence[WorkspaceTableMicrosoftStandardColumnArgs]] = None,
            total_retention_in_days: Optional[int] = None,
            workspace_id: Optional[str] = None) -> WorkspaceTableMicrosoft
    func GetWorkspaceTableMicrosoft(ctx *Context, name string, id IDInput, state *WorkspaceTableMicrosoftState, opts ...ResourceOption) (*WorkspaceTableMicrosoft, error)
    public static WorkspaceTableMicrosoft Get(string name, Input<string> id, WorkspaceTableMicrosoftState? state, CustomResourceOptions? opts = null)
    public static WorkspaceTableMicrosoft get(String name, Output<String> id, WorkspaceTableMicrosoftState state, CustomResourceOptions options)
    resources:  _:    type: azure:loganalytics:WorkspaceTableMicrosoft    get:      id: ${id}
    import {
      to = azure_loganalytics_workspace_table_microsoft.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Columns List<WorkspaceTableMicrosoftColumn>
    One or more column blocks as defined below.
    Description string
    A description of the table.
    DisplayName string
    The display name of the table.
    Labels List<string>
    Specifies a list of table labels.
    Name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    RetentionInDays int

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    Solutions List<string>
    The list of solutions associated with this table.
    StandardColumns List<WorkspaceTableMicrosoftStandardColumn>
    A standardColumn block as defined below.
    TotalRetentionInDays int
    The table total retention in days, between 4 and 4383.
    WorkspaceId string
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    Columns []WorkspaceTableMicrosoftColumnArgs
    One or more column blocks as defined below.
    Description string
    A description of the table.
    DisplayName string
    The display name of the table.
    Labels []string
    Specifies a list of table labels.
    Name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    RetentionInDays int

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    Solutions []string
    The list of solutions associated with this table.
    StandardColumns []WorkspaceTableMicrosoftStandardColumnArgs
    A standardColumn block as defined below.
    TotalRetentionInDays int
    The table total retention in days, between 4 and 4383.
    WorkspaceId string
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    columns list(object)
    One or more column blocks as defined below.
    description string
    A description of the table.
    display_name string
    The display name of the table.
    labels list(string)
    Specifies a list of table labels.
    name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    retention_in_days number

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    solutions list(string)
    The list of solutions associated with this table.
    standard_columns list(object)
    A standardColumn block as defined below.
    total_retention_in_days number
    The table total retention in days, between 4 and 4383.
    workspace_id string
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    columns List<WorkspaceTableMicrosoftColumn>
    One or more column blocks as defined below.
    description String
    A description of the table.
    displayName String
    The display name of the table.
    labels List<String>
    Specifies a list of table labels.
    name String
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    retentionInDays Integer

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    solutions List<String>
    The list of solutions associated with this table.
    standardColumns List<WorkspaceTableMicrosoftStandardColumn>
    A standardColumn block as defined below.
    totalRetentionInDays Integer
    The table total retention in days, between 4 and 4383.
    workspaceId String
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    columns WorkspaceTableMicrosoftColumn[]
    One or more column blocks as defined below.
    description string
    A description of the table.
    displayName string
    The display name of the table.
    labels string[]
    Specifies a list of table labels.
    name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    retentionInDays number

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    solutions string[]
    The list of solutions associated with this table.
    standardColumns WorkspaceTableMicrosoftStandardColumn[]
    A standardColumn block as defined below.
    totalRetentionInDays number
    The table total retention in days, between 4 and 4383.
    workspaceId string
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    columns Sequence[WorkspaceTableMicrosoftColumnArgs]
    One or more column blocks as defined below.
    description str
    A description of the table.
    display_name str
    The display name of the table.
    labels Sequence[str]
    Specifies a list of table labels.
    name str
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    retention_in_days int

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    solutions Sequence[str]
    The list of solutions associated with this table.
    standard_columns Sequence[WorkspaceTableMicrosoftStandardColumnArgs]
    A standardColumn block as defined below.
    total_retention_in_days int
    The table total retention in days, between 4 and 4383.
    workspace_id str
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    columns List<Property Map>
    One or more column blocks as defined below.
    description String
    A description of the table.
    displayName String
    The display name of the table.
    labels List<String>
    Specifies a list of table labels.
    name String
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    retentionInDays Number

    The table retention in days, between 4 and 730.

    Note: retentionInDays must be less than or equal to totalRetentionInDays.

    solutions List<String>
    The list of solutions associated with this table.
    standardColumns List<Property Map>
    A standardColumn block as defined below.
    totalRetentionInDays Number
    The table total retention in days, between 4 and 4383.
    workspaceId String
    The ID of the Log Analytics Workspace. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.

    Supporting Types

    WorkspaceTableMicrosoftColumn, WorkspaceTableMicrosoftColumnArgs

    Name string
    The name which should be used for this column.
    Type string
    The column data type. Possible values are string, int, long, real, boolean, dateTime, guid, dynamic.
    Description string
    The description of the column.
    DisplayByDefault bool
    Whether the column defaults to being displayed. Defaults to true.
    DisplayName string
    The display name of the column.
    Hidden bool
    Whether the column is hidden. Defaults to false.
    Name string
    The name which should be used for this column.
    Type string
    The column data type. Possible values are string, int, long, real, boolean, dateTime, guid, dynamic.
    Description string
    The description of the column.
    DisplayByDefault bool
    Whether the column defaults to being displayed. Defaults to true.
    DisplayName string
    The display name of the column.
    Hidden bool
    Whether the column is hidden. Defaults to false.
    name string
    The name which should be used for this column.
    type string
    The column data type. Possible values are string, int, long, real, boolean, dateTime, guid, dynamic.
    description string
    The description of the column.
    display_by_default bool
    Whether the column defaults to being displayed. Defaults to true.
    display_name string
    The display name of the column.
    hidden bool
    Whether the column is hidden. Defaults to false.
    name String
    The name which should be used for this column.
    type String
    The column data type. Possible values are string, int, long, real, boolean, dateTime, guid, dynamic.
    description String
    The description of the column.
    displayByDefault Boolean
    Whether the column defaults to being displayed. Defaults to true.
    displayName String
    The display name of the column.
    hidden Boolean
    Whether the column is hidden. Defaults to false.
    name string
    The name which should be used for this column.
    type string
    The column data type. Possible values are string, int, long, real, boolean, dateTime, guid, dynamic.
    description string
    The description of the column.
    displayByDefault boolean
    Whether the column defaults to being displayed. Defaults to true.
    displayName string
    The display name of the column.
    hidden boolean
    Whether the column is hidden. Defaults to false.
    name str
    The name which should be used for this column.
    type str
    The column data type. Possible values are string, int, long, real, boolean, dateTime, guid, dynamic.
    description str
    The description of the column.
    display_by_default bool
    Whether the column defaults to being displayed. Defaults to true.
    display_name str
    The display name of the column.
    hidden bool
    Whether the column is hidden. Defaults to false.
    name String
    The name which should be used for this column.
    type String
    The column data type. Possible values are string, int, long, real, boolean, dateTime, guid, dynamic.
    description String
    The description of the column.
    displayByDefault Boolean
    Whether the column defaults to being displayed. Defaults to true.
    displayName String
    The display name of the column.
    hidden Boolean
    Whether the column is hidden. Defaults to false.

    WorkspaceTableMicrosoftStandardColumn, WorkspaceTableMicrosoftStandardColumnArgs

    Description string
    A description of the table.
    DisplayByDefault bool
    Whether the column defaults to being displayed. Defaults to true.
    DisplayName string
    The display name of the table.
    Hidden bool
    Is the column hidden? Defaults to false.
    Name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    Type string
    The type of the column.
    TypeHint string
    The type hint of the column.
    Description string
    A description of the table.
    DisplayByDefault bool
    Whether the column defaults to being displayed. Defaults to true.
    DisplayName string
    The display name of the table.
    Hidden bool
    Is the column hidden? Defaults to false.
    Name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    Type string
    The type of the column.
    TypeHint string
    The type hint of the column.
    description string
    A description of the table.
    display_by_default bool
    Whether the column defaults to being displayed. Defaults to true.
    display_name string
    The display name of the table.
    hidden bool
    Is the column hidden? Defaults to false.
    name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    type string
    The type of the column.
    type_hint string
    The type hint of the column.
    description String
    A description of the table.
    displayByDefault Boolean
    Whether the column defaults to being displayed. Defaults to true.
    displayName String
    The display name of the table.
    hidden Boolean
    Is the column hidden? Defaults to false.
    name String
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    type String
    The type of the column.
    typeHint String
    The type hint of the column.
    description string
    A description of the table.
    displayByDefault boolean
    Whether the column defaults to being displayed. Defaults to true.
    displayName string
    The display name of the table.
    hidden boolean
    Is the column hidden? Defaults to false.
    name string
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    type string
    The type of the column.
    typeHint string
    The type hint of the column.
    description str
    A description of the table.
    display_by_default bool
    Whether the column defaults to being displayed. Defaults to true.
    display_name str
    The display name of the table.
    hidden bool
    Is the column hidden? Defaults to false.
    name str
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    type str
    The type of the column.
    type_hint str
    The type hint of the column.
    description String
    A description of the table.
    displayByDefault Boolean
    Whether the column defaults to being displayed. Defaults to true.
    displayName String
    The display name of the table.
    hidden Boolean
    Is the column hidden? Defaults to false.
    name String
    The name which should be used for this Log Analytics Workspace Table Microsoft. Possible values are Alert, AppCenterError, ComputerGroup, InsightsMetrics, Operation and Usage. Changing this forces a new Log Analytics Workspace Table Microsoft to be created.
    type String
    The type of the column.
    typeHint String
    The type hint of the column.

    Import

    Log Analytics Workspace Table Microsofts can be imported using the resource id, e.g.

    $ pulumi import azure:loganalytics/workspaceTableMicrosoft:WorkspaceTableMicrosoft example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.OperationalInsights/workspaces/workspace1/tables/table1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v6.40.0
    published on Wednesday, Sep 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial