1. Packages
  2. Azure Native
  3. API Docs
  4. operationalinsights
  5. Workspace
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.operationalinsights.Workspace

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    The top level Workspace resource container. Azure REST API version: 2022-10-01. Prior API version in Azure Native 1.x: 2020-10-01.

    Other available API versions: 2015-11-01-preview, 2020-08-01, 2020-10-01, 2021-06-01, 2021-12-01-preview, 2023-09-01.

    Example Usage

    WorkspacesCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var workspace = new AzureNative.OperationalInsights.Workspace("workspace", new()
        {
            Location = "australiasoutheast",
            ResourceGroupName = "oiautorest6685",
            RetentionInDays = 30,
            Sku = new AzureNative.OperationalInsights.Inputs.WorkspaceSkuArgs
            {
                Name = AzureNative.OperationalInsights.WorkspaceSkuNameEnum.PerGB2018,
            },
            Tags = 
            {
                { "tag1", "val1" },
            },
            WorkspaceName = "oiautorest6685",
        });
    
    });
    
    package main
    
    import (
    	operationalinsights "github.com/pulumi/pulumi-azure-native-sdk/operationalinsights/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := operationalinsights.NewWorkspace(ctx, "workspace", &operationalinsights.WorkspaceArgs{
    			Location:          pulumi.String("australiasoutheast"),
    			ResourceGroupName: pulumi.String("oiautorest6685"),
    			RetentionInDays:   pulumi.Int(30),
    			Sku: &operationalinsights.WorkspaceSkuArgs{
    				Name: pulumi.String(operationalinsights.WorkspaceSkuNameEnumPerGB2018),
    			},
    			Tags: pulumi.StringMap{
    				"tag1": pulumi.String("val1"),
    			},
    			WorkspaceName: pulumi.String("oiautorest6685"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.operationalinsights.Workspace;
    import com.pulumi.azurenative.operationalinsights.WorkspaceArgs;
    import com.pulumi.azurenative.operationalinsights.inputs.WorkspaceSkuArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 workspace = new Workspace("workspace", WorkspaceArgs.builder()
                .location("australiasoutheast")
                .resourceGroupName("oiautorest6685")
                .retentionInDays(30)
                .sku(WorkspaceSkuArgs.builder()
                    .name("PerGB2018")
                    .build())
                .tags(Map.of("tag1", "val1"))
                .workspaceName("oiautorest6685")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    workspace = azure_native.operationalinsights.Workspace("workspace",
        location="australiasoutheast",
        resource_group_name="oiautorest6685",
        retention_in_days=30,
        sku=azure_native.operationalinsights.WorkspaceSkuArgs(
            name=azure_native.operationalinsights.WorkspaceSkuNameEnum.PER_GB2018,
        ),
        tags={
            "tag1": "val1",
        },
        workspace_name="oiautorest6685")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const workspace = new azure_native.operationalinsights.Workspace("workspace", {
        location: "australiasoutheast",
        resourceGroupName: "oiautorest6685",
        retentionInDays: 30,
        sku: {
            name: azure_native.operationalinsights.WorkspaceSkuNameEnum.PerGB2018,
        },
        tags: {
            tag1: "val1",
        },
        workspaceName: "oiautorest6685",
    });
    
    resources:
      workspace:
        type: azure-native:operationalinsights:Workspace
        properties:
          location: australiasoutheast
          resourceGroupName: oiautorest6685
          retentionInDays: 30
          sku:
            name: PerGB2018
          tags:
            tag1: val1
          workspaceName: oiautorest6685
    

    Create Workspace Resource

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

    Constructor syntax

    new Workspace(name: string, args: WorkspaceArgs, opts?: CustomResourceOptions);
    @overload
    def Workspace(resource_name: str,
                  args: WorkspaceArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Workspace(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  resource_group_name: Optional[str] = None,
                  public_network_access_for_query: Optional[Union[str, PublicNetworkAccessType]] = None,
                  force_cmk_for_query: Optional[bool] = None,
                  identity: Optional[IdentityArgs] = None,
                  location: Optional[str] = None,
                  public_network_access_for_ingestion: Optional[Union[str, PublicNetworkAccessType]] = None,
                  default_data_collection_rule_resource_id: Optional[str] = None,
                  features: Optional[WorkspaceFeaturesArgs] = None,
                  retention_in_days: Optional[int] = None,
                  sku: Optional[WorkspaceSkuArgs] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  workspace_capping: Optional[WorkspaceCappingArgs] = None,
                  workspace_name: Optional[str] = None)
    func NewWorkspace(ctx *Context, name string, args WorkspaceArgs, opts ...ResourceOption) (*Workspace, error)
    public Workspace(string name, WorkspaceArgs args, CustomResourceOptions? opts = null)
    public Workspace(String name, WorkspaceArgs args)
    public Workspace(String name, WorkspaceArgs args, CustomResourceOptions options)
    
    type: azure-native:operationalinsights:Workspace
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WorkspaceArgs
    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 WorkspaceArgs
    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 WorkspaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkspaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkspaceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var exampleworkspaceResourceResourceFromOperationalinsights = new AzureNative.OperationalInsights.Workspace("exampleworkspaceResourceResourceFromOperationalinsights", new()
    {
        ResourceGroupName = "string",
        PublicNetworkAccessForQuery = "string",
        ForceCmkForQuery = false,
        Identity = new AzureNative.OperationalInsights.Inputs.IdentityArgs
        {
            Type = AzureNative.OperationalInsights.IdentityType.SystemAssigned,
            UserAssignedIdentities = new[]
            {
                "string",
            },
        },
        Location = "string",
        PublicNetworkAccessForIngestion = "string",
        DefaultDataCollectionRuleResourceId = "string",
        Features = new AzureNative.OperationalInsights.Inputs.WorkspaceFeaturesArgs
        {
            ClusterResourceId = "string",
            DisableLocalAuth = false,
            EnableDataExport = false,
            EnableLogAccessUsingOnlyResourcePermissions = false,
            ImmediatePurgeDataOn30Days = false,
        },
        RetentionInDays = 0,
        Sku = new AzureNative.OperationalInsights.Inputs.WorkspaceSkuArgs
        {
            Name = "string",
            CapacityReservationLevel = 0,
        },
        Tags = 
        {
            { "string", "string" },
        },
        WorkspaceCapping = new AzureNative.OperationalInsights.Inputs.WorkspaceCappingArgs
        {
            DailyQuotaGb = 0,
        },
        WorkspaceName = "string",
    });
    
    example, err := operationalinsights.NewWorkspace(ctx, "exampleworkspaceResourceResourceFromOperationalinsights", &operationalinsights.WorkspaceArgs{
    ResourceGroupName: pulumi.String("string"),
    PublicNetworkAccessForQuery: pulumi.String("string"),
    ForceCmkForQuery: pulumi.Bool(false),
    Identity: &operationalinsights.IdentityArgs{
    Type: operationalinsights.IdentityTypeSystemAssigned,
    UserAssignedIdentities: pulumi.StringArray{
    pulumi.String("string"),
    },
    },
    Location: pulumi.String("string"),
    PublicNetworkAccessForIngestion: pulumi.String("string"),
    DefaultDataCollectionRuleResourceId: pulumi.String("string"),
    Features: &operationalinsights.WorkspaceFeaturesArgs{
    ClusterResourceId: pulumi.String("string"),
    DisableLocalAuth: pulumi.Bool(false),
    EnableDataExport: pulumi.Bool(false),
    EnableLogAccessUsingOnlyResourcePermissions: pulumi.Bool(false),
    ImmediatePurgeDataOn30Days: pulumi.Bool(false),
    },
    RetentionInDays: pulumi.Int(0),
    Sku: &operationalinsights.WorkspaceSkuArgs{
    Name: pulumi.String("string"),
    CapacityReservationLevel: pulumi.Int(0),
    },
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    WorkspaceCapping: &operationalinsights.WorkspaceCappingArgs{
    DailyQuotaGb: pulumi.Float64(0),
    },
    WorkspaceName: pulumi.String("string"),
    })
    
    var exampleworkspaceResourceResourceFromOperationalinsights = new Workspace("exampleworkspaceResourceResourceFromOperationalinsights", WorkspaceArgs.builder()
        .resourceGroupName("string")
        .publicNetworkAccessForQuery("string")
        .forceCmkForQuery(false)
        .identity(IdentityArgs.builder()
            .type("SystemAssigned")
            .userAssignedIdentities("string")
            .build())
        .location("string")
        .publicNetworkAccessForIngestion("string")
        .defaultDataCollectionRuleResourceId("string")
        .features(WorkspaceFeaturesArgs.builder()
            .clusterResourceId("string")
            .disableLocalAuth(false)
            .enableDataExport(false)
            .enableLogAccessUsingOnlyResourcePermissions(false)
            .immediatePurgeDataOn30Days(false)
            .build())
        .retentionInDays(0)
        .sku(WorkspaceSkuArgs.builder()
            .name("string")
            .capacityReservationLevel(0)
            .build())
        .tags(Map.of("string", "string"))
        .workspaceCapping(WorkspaceCappingArgs.builder()
            .dailyQuotaGb(0)
            .build())
        .workspaceName("string")
        .build());
    
    exampleworkspace_resource_resource_from_operationalinsights = azure_native.operationalinsights.Workspace("exampleworkspaceResourceResourceFromOperationalinsights",
        resource_group_name="string",
        public_network_access_for_query="string",
        force_cmk_for_query=False,
        identity=azure_native.operationalinsights.IdentityArgs(
            type=azure_native.operationalinsights.IdentityType.SYSTEM_ASSIGNED,
            user_assigned_identities=["string"],
        ),
        location="string",
        public_network_access_for_ingestion="string",
        default_data_collection_rule_resource_id="string",
        features=azure_native.operationalinsights.WorkspaceFeaturesArgs(
            cluster_resource_id="string",
            disable_local_auth=False,
            enable_data_export=False,
            enable_log_access_using_only_resource_permissions=False,
            immediate_purge_data_on30_days=False,
        ),
        retention_in_days=0,
        sku=azure_native.operationalinsights.WorkspaceSkuArgs(
            name="string",
            capacity_reservation_level=0,
        ),
        tags={
            "string": "string",
        },
        workspace_capping=azure_native.operationalinsights.WorkspaceCappingArgs(
            daily_quota_gb=0,
        ),
        workspace_name="string")
    
    const exampleworkspaceResourceResourceFromOperationalinsights = new azure_native.operationalinsights.Workspace("exampleworkspaceResourceResourceFromOperationalinsights", {
        resourceGroupName: "string",
        publicNetworkAccessForQuery: "string",
        forceCmkForQuery: false,
        identity: {
            type: azure_native.operationalinsights.IdentityType.SystemAssigned,
            userAssignedIdentities: ["string"],
        },
        location: "string",
        publicNetworkAccessForIngestion: "string",
        defaultDataCollectionRuleResourceId: "string",
        features: {
            clusterResourceId: "string",
            disableLocalAuth: false,
            enableDataExport: false,
            enableLogAccessUsingOnlyResourcePermissions: false,
            immediatePurgeDataOn30Days: false,
        },
        retentionInDays: 0,
        sku: {
            name: "string",
            capacityReservationLevel: 0,
        },
        tags: {
            string: "string",
        },
        workspaceCapping: {
            dailyQuotaGb: 0,
        },
        workspaceName: "string",
    });
    
    type: azure-native:operationalinsights:Workspace
    properties:
        defaultDataCollectionRuleResourceId: string
        features:
            clusterResourceId: string
            disableLocalAuth: false
            enableDataExport: false
            enableLogAccessUsingOnlyResourcePermissions: false
            immediatePurgeDataOn30Days: false
        forceCmkForQuery: false
        identity:
            type: SystemAssigned
            userAssignedIdentities:
                - string
        location: string
        publicNetworkAccessForIngestion: string
        publicNetworkAccessForQuery: string
        resourceGroupName: string
        retentionInDays: 0
        sku:
            capacityReservationLevel: 0
            name: string
        tags:
            string: string
        workspaceCapping:
            dailyQuotaGb: 0
        workspaceName: string
    

    Workspace Resource Properties

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

    Inputs

    The Workspace resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DefaultDataCollectionRuleResourceId string
    The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}.
    Features Pulumi.AzureNative.OperationalInsights.Inputs.WorkspaceFeatures
    Workspace features.
    ForceCmkForQuery bool
    Indicates whether customer managed storage is mandatory for query management.
    Identity Pulumi.AzureNative.OperationalInsights.Inputs.Identity
    The identity of the resource.
    Location string
    The geo-location where the resource lives
    PublicNetworkAccessForIngestion string | Pulumi.AzureNative.OperationalInsights.PublicNetworkAccessType
    The network access type for accessing Log Analytics ingestion.
    PublicNetworkAccessForQuery string | Pulumi.AzureNative.OperationalInsights.PublicNetworkAccessType
    The network access type for accessing Log Analytics query.
    RetentionInDays int
    The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
    Sku Pulumi.AzureNative.OperationalInsights.Inputs.WorkspaceSku
    The SKU of the workspace.
    Tags Dictionary<string, string>
    Resource tags.
    WorkspaceCapping Pulumi.AzureNative.OperationalInsights.Inputs.WorkspaceCapping
    The daily volume cap for ingestion.
    WorkspaceName string
    The name of the workspace.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DefaultDataCollectionRuleResourceId string
    The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}.
    Features WorkspaceFeaturesArgs
    Workspace features.
    ForceCmkForQuery bool
    Indicates whether customer managed storage is mandatory for query management.
    Identity IdentityArgs
    The identity of the resource.
    Location string
    The geo-location where the resource lives
    PublicNetworkAccessForIngestion string | PublicNetworkAccessType
    The network access type for accessing Log Analytics ingestion.
    PublicNetworkAccessForQuery string | PublicNetworkAccessType
    The network access type for accessing Log Analytics query.
    RetentionInDays int
    The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
    Sku WorkspaceSkuArgs
    The SKU of the workspace.
    Tags map[string]string
    Resource tags.
    WorkspaceCapping WorkspaceCappingArgs
    The daily volume cap for ingestion.
    WorkspaceName string
    The name of the workspace.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    defaultDataCollectionRuleResourceId String
    The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}.
    features WorkspaceFeatures
    Workspace features.
    forceCmkForQuery Boolean
    Indicates whether customer managed storage is mandatory for query management.
    identity Identity
    The identity of the resource.
    location String
    The geo-location where the resource lives
    publicNetworkAccessForIngestion String | PublicNetworkAccessType
    The network access type for accessing Log Analytics ingestion.
    publicNetworkAccessForQuery String | PublicNetworkAccessType
    The network access type for accessing Log Analytics query.
    retentionInDays Integer
    The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
    sku WorkspaceSku
    The SKU of the workspace.
    tags Map<String,String>
    Resource tags.
    workspaceCapping WorkspaceCapping
    The daily volume cap for ingestion.
    workspaceName String
    The name of the workspace.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    defaultDataCollectionRuleResourceId string
    The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}.
    features WorkspaceFeatures
    Workspace features.
    forceCmkForQuery boolean
    Indicates whether customer managed storage is mandatory for query management.
    identity Identity
    The identity of the resource.
    location string
    The geo-location where the resource lives
    publicNetworkAccessForIngestion string | PublicNetworkAccessType
    The network access type for accessing Log Analytics ingestion.
    publicNetworkAccessForQuery string | PublicNetworkAccessType
    The network access type for accessing Log Analytics query.
    retentionInDays number
    The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
    sku WorkspaceSku
    The SKU of the workspace.
    tags {[key: string]: string}
    Resource tags.
    workspaceCapping WorkspaceCapping
    The daily volume cap for ingestion.
    workspaceName string
    The name of the workspace.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    default_data_collection_rule_resource_id str
    The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}.
    features WorkspaceFeaturesArgs
    Workspace features.
    force_cmk_for_query bool
    Indicates whether customer managed storage is mandatory for query management.
    identity IdentityArgs
    The identity of the resource.
    location str
    The geo-location where the resource lives
    public_network_access_for_ingestion str | PublicNetworkAccessType
    The network access type for accessing Log Analytics ingestion.
    public_network_access_for_query str | PublicNetworkAccessType
    The network access type for accessing Log Analytics query.
    retention_in_days int
    The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
    sku WorkspaceSkuArgs
    The SKU of the workspace.
    tags Mapping[str, str]
    Resource tags.
    workspace_capping WorkspaceCappingArgs
    The daily volume cap for ingestion.
    workspace_name str
    The name of the workspace.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    defaultDataCollectionRuleResourceId String
    The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}.
    features Property Map
    Workspace features.
    forceCmkForQuery Boolean
    Indicates whether customer managed storage is mandatory for query management.
    identity Property Map
    The identity of the resource.
    location String
    The geo-location where the resource lives
    publicNetworkAccessForIngestion String | "Enabled" | "Disabled"
    The network access type for accessing Log Analytics ingestion.
    publicNetworkAccessForQuery String | "Enabled" | "Disabled"
    The network access type for accessing Log Analytics query.
    retentionInDays Number
    The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
    sku Property Map
    The SKU of the workspace.
    tags Map<String>
    Resource tags.
    workspaceCapping Property Map
    The daily volume cap for ingestion.
    workspaceName String
    The name of the workspace.

    Outputs

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

    CreatedDate string
    Workspace creation date.
    CustomerId string
    This is a read-only property. Represents the ID associated with the workspace.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedDate string
    Workspace modification date.
    Name string
    The name of the resource
    PrivateLinkScopedResources List<Pulumi.AzureNative.OperationalInsights.Outputs.PrivateLinkScopedResourceResponse>
    List of linked private link scope resources.
    ProvisioningState string
    The provisioning state of the workspace.
    SystemData Pulumi.AzureNative.OperationalInsights.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Etag string
    The etag of the workspace.
    CreatedDate string
    Workspace creation date.
    CustomerId string
    This is a read-only property. Represents the ID associated with the workspace.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedDate string
    Workspace modification date.
    Name string
    The name of the resource
    PrivateLinkScopedResources []PrivateLinkScopedResourceResponse
    List of linked private link scope resources.
    ProvisioningState string
    The provisioning state of the workspace.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Etag string
    The etag of the workspace.
    createdDate String
    Workspace creation date.
    customerId String
    This is a read-only property. Represents the ID associated with the workspace.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedDate String
    Workspace modification date.
    name String
    The name of the resource
    privateLinkScopedResources List<PrivateLinkScopedResourceResponse>
    List of linked private link scope resources.
    provisioningState String
    The provisioning state of the workspace.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag String
    The etag of the workspace.
    createdDate string
    Workspace creation date.
    customerId string
    This is a read-only property. Represents the ID associated with the workspace.
    id string
    The provider-assigned unique ID for this managed resource.
    modifiedDate string
    Workspace modification date.
    name string
    The name of the resource
    privateLinkScopedResources PrivateLinkScopedResourceResponse[]
    List of linked private link scope resources.
    provisioningState string
    The provisioning state of the workspace.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag string
    The etag of the workspace.
    created_date str
    Workspace creation date.
    customer_id str
    This is a read-only property. Represents the ID associated with the workspace.
    id str
    The provider-assigned unique ID for this managed resource.
    modified_date str
    Workspace modification date.
    name str
    The name of the resource
    private_link_scoped_resources Sequence[PrivateLinkScopedResourceResponse]
    List of linked private link scope resources.
    provisioning_state str
    The provisioning state of the workspace.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag str
    The etag of the workspace.
    createdDate String
    Workspace creation date.
    customerId String
    This is a read-only property. Represents the ID associated with the workspace.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedDate String
    Workspace modification date.
    name String
    The name of the resource
    privateLinkScopedResources List<Property Map>
    List of linked private link scope resources.
    provisioningState String
    The provisioning state of the workspace.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag String
    The etag of the workspace.

    Supporting Types

    Identity, IdentityArgs

    Type Pulumi.AzureNative.OperationalInsights.IdentityType
    Type of managed service identity.
    UserAssignedIdentities List<string>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    Type IdentityType
    Type of managed service identity.
    UserAssignedIdentities []string
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    type IdentityType
    Type of managed service identity.
    userAssignedIdentities List<String>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    type IdentityType
    Type of managed service identity.
    userAssignedIdentities string[]
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    type IdentityType
    Type of managed service identity.
    user_assigned_identities Sequence[str]
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    type "SystemAssigned" | "UserAssigned" | "None"
    Type of managed service identity.
    userAssignedIdentities List<String>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

    IdentityResponse, IdentityResponseArgs

    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    Type of managed service identity.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.OperationalInsights.Inputs.UserIdentityPropertiesResponse>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    Type of managed service identity.
    UserAssignedIdentities map[string]UserIdentityPropertiesResponse
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    Type of managed service identity.
    userAssignedIdentities Map<String,UserIdentityPropertiesResponse>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId string
    The principal ID of resource identity.
    tenantId string
    The tenant ID of resource.
    type string
    Type of managed service identity.
    userAssignedIdentities {[key: string]: UserIdentityPropertiesResponse}
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principal_id str
    The principal ID of resource identity.
    tenant_id str
    The tenant ID of resource.
    type str
    Type of managed service identity.
    user_assigned_identities Mapping[str, UserIdentityPropertiesResponse]
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    Type of managed service identity.
    userAssignedIdentities Map<Property Map>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

    IdentityType, IdentityTypeArgs

    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    None
    None
    IdentityTypeSystemAssigned
    SystemAssigned
    IdentityTypeUserAssigned
    UserAssigned
    IdentityTypeNone
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    None
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    USER_ASSIGNED
    UserAssigned
    NONE
    None
    "SystemAssigned"
    SystemAssigned
    "UserAssigned"
    UserAssigned
    "None"
    None

    PrivateLinkScopedResourceResponse, PrivateLinkScopedResourceResponseArgs

    ResourceId string
    The full resource Id of the private link scope resource.
    ScopeId string
    The private link scope unique Identifier.
    ResourceId string
    The full resource Id of the private link scope resource.
    ScopeId string
    The private link scope unique Identifier.
    resourceId String
    The full resource Id of the private link scope resource.
    scopeId String
    The private link scope unique Identifier.
    resourceId string
    The full resource Id of the private link scope resource.
    scopeId string
    The private link scope unique Identifier.
    resource_id str
    The full resource Id of the private link scope resource.
    scope_id str
    The private link scope unique Identifier.
    resourceId String
    The full resource Id of the private link scope resource.
    scopeId String
    The private link scope unique Identifier.

    PublicNetworkAccessType, PublicNetworkAccessTypeArgs

    Enabled
    EnabledEnables connectivity to Log Analytics through public DNS.
    Disabled
    DisabledDisables public connectivity to Log Analytics through public DNS.
    PublicNetworkAccessTypeEnabled
    EnabledEnables connectivity to Log Analytics through public DNS.
    PublicNetworkAccessTypeDisabled
    DisabledDisables public connectivity to Log Analytics through public DNS.
    Enabled
    EnabledEnables connectivity to Log Analytics through public DNS.
    Disabled
    DisabledDisables public connectivity to Log Analytics through public DNS.
    Enabled
    EnabledEnables connectivity to Log Analytics through public DNS.
    Disabled
    DisabledDisables public connectivity to Log Analytics through public DNS.
    ENABLED
    EnabledEnables connectivity to Log Analytics through public DNS.
    DISABLED
    DisabledDisables public connectivity to Log Analytics through public DNS.
    "Enabled"
    EnabledEnables connectivity to Log Analytics through public DNS.
    "Disabled"
    DisabledDisables public connectivity to Log Analytics through public DNS.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UserIdentityPropertiesResponse, UserIdentityPropertiesResponseArgs

    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.
    clientId string
    The client id of user assigned identity.
    principalId string
    The principal id of user assigned identity.
    client_id str
    The client id of user assigned identity.
    principal_id str
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.

    WorkspaceCapping, WorkspaceCappingArgs

    DailyQuotaGb double
    The workspace daily quota for ingestion.
    DailyQuotaGb float64
    The workspace daily quota for ingestion.
    dailyQuotaGb Double
    The workspace daily quota for ingestion.
    dailyQuotaGb number
    The workspace daily quota for ingestion.
    daily_quota_gb float
    The workspace daily quota for ingestion.
    dailyQuotaGb Number
    The workspace daily quota for ingestion.

    WorkspaceCappingResponse, WorkspaceCappingResponseArgs

    DataIngestionStatus string
    The status of data ingestion for this workspace.
    QuotaNextResetTime string
    The time when the quota will be rest.
    DailyQuotaGb double
    The workspace daily quota for ingestion.
    DataIngestionStatus string
    The status of data ingestion for this workspace.
    QuotaNextResetTime string
    The time when the quota will be rest.
    DailyQuotaGb float64
    The workspace daily quota for ingestion.
    dataIngestionStatus String
    The status of data ingestion for this workspace.
    quotaNextResetTime String
    The time when the quota will be rest.
    dailyQuotaGb Double
    The workspace daily quota for ingestion.
    dataIngestionStatus string
    The status of data ingestion for this workspace.
    quotaNextResetTime string
    The time when the quota will be rest.
    dailyQuotaGb number
    The workspace daily quota for ingestion.
    data_ingestion_status str
    The status of data ingestion for this workspace.
    quota_next_reset_time str
    The time when the quota will be rest.
    daily_quota_gb float
    The workspace daily quota for ingestion.
    dataIngestionStatus String
    The status of data ingestion for this workspace.
    quotaNextResetTime String
    The time when the quota will be rest.
    dailyQuotaGb Number
    The workspace daily quota for ingestion.

    WorkspaceFeatures, WorkspaceFeaturesArgs

    ClusterResourceId string
    Dedicated LA cluster resourceId that is linked to the workspaces.
    DisableLocalAuth bool
    Disable Non-AAD based Auth.
    EnableDataExport bool
    Flag that indicate if data should be exported.
    EnableLogAccessUsingOnlyResourcePermissions bool
    Flag that indicate which permission to use - resource or workspace or both.
    ImmediatePurgeDataOn30Days bool
    Flag that describes if we want to remove the data after 30 days.
    ClusterResourceId string
    Dedicated LA cluster resourceId that is linked to the workspaces.
    DisableLocalAuth bool
    Disable Non-AAD based Auth.
    EnableDataExport bool
    Flag that indicate if data should be exported.
    EnableLogAccessUsingOnlyResourcePermissions bool
    Flag that indicate which permission to use - resource or workspace or both.
    ImmediatePurgeDataOn30Days bool
    Flag that describes if we want to remove the data after 30 days.
    clusterResourceId String
    Dedicated LA cluster resourceId that is linked to the workspaces.
    disableLocalAuth Boolean
    Disable Non-AAD based Auth.
    enableDataExport Boolean
    Flag that indicate if data should be exported.
    enableLogAccessUsingOnlyResourcePermissions Boolean
    Flag that indicate which permission to use - resource or workspace or both.
    immediatePurgeDataOn30Days Boolean
    Flag that describes if we want to remove the data after 30 days.
    clusterResourceId string
    Dedicated LA cluster resourceId that is linked to the workspaces.
    disableLocalAuth boolean
    Disable Non-AAD based Auth.
    enableDataExport boolean
    Flag that indicate if data should be exported.
    enableLogAccessUsingOnlyResourcePermissions boolean
    Flag that indicate which permission to use - resource or workspace or both.
    immediatePurgeDataOn30Days boolean
    Flag that describes if we want to remove the data after 30 days.
    cluster_resource_id str
    Dedicated LA cluster resourceId that is linked to the workspaces.
    disable_local_auth bool
    Disable Non-AAD based Auth.
    enable_data_export bool
    Flag that indicate if data should be exported.
    enable_log_access_using_only_resource_permissions bool
    Flag that indicate which permission to use - resource or workspace or both.
    immediate_purge_data_on30_days bool
    Flag that describes if we want to remove the data after 30 days.
    clusterResourceId String
    Dedicated LA cluster resourceId that is linked to the workspaces.
    disableLocalAuth Boolean
    Disable Non-AAD based Auth.
    enableDataExport Boolean
    Flag that indicate if data should be exported.
    enableLogAccessUsingOnlyResourcePermissions Boolean
    Flag that indicate which permission to use - resource or workspace or both.
    immediatePurgeDataOn30Days Boolean
    Flag that describes if we want to remove the data after 30 days.

    WorkspaceFeaturesResponse, WorkspaceFeaturesResponseArgs

    ClusterResourceId string
    Dedicated LA cluster resourceId that is linked to the workspaces.
    DisableLocalAuth bool
    Disable Non-AAD based Auth.
    EnableDataExport bool
    Flag that indicate if data should be exported.
    EnableLogAccessUsingOnlyResourcePermissions bool
    Flag that indicate which permission to use - resource or workspace or both.
    ImmediatePurgeDataOn30Days bool
    Flag that describes if we want to remove the data after 30 days.
    ClusterResourceId string
    Dedicated LA cluster resourceId that is linked to the workspaces.
    DisableLocalAuth bool
    Disable Non-AAD based Auth.
    EnableDataExport bool
    Flag that indicate if data should be exported.
    EnableLogAccessUsingOnlyResourcePermissions bool
    Flag that indicate which permission to use - resource or workspace or both.
    ImmediatePurgeDataOn30Days bool
    Flag that describes if we want to remove the data after 30 days.
    clusterResourceId String
    Dedicated LA cluster resourceId that is linked to the workspaces.
    disableLocalAuth Boolean
    Disable Non-AAD based Auth.
    enableDataExport Boolean
    Flag that indicate if data should be exported.
    enableLogAccessUsingOnlyResourcePermissions Boolean
    Flag that indicate which permission to use - resource or workspace or both.
    immediatePurgeDataOn30Days Boolean
    Flag that describes if we want to remove the data after 30 days.
    clusterResourceId string
    Dedicated LA cluster resourceId that is linked to the workspaces.
    disableLocalAuth boolean
    Disable Non-AAD based Auth.
    enableDataExport boolean
    Flag that indicate if data should be exported.
    enableLogAccessUsingOnlyResourcePermissions boolean
    Flag that indicate which permission to use - resource or workspace or both.
    immediatePurgeDataOn30Days boolean
    Flag that describes if we want to remove the data after 30 days.
    cluster_resource_id str
    Dedicated LA cluster resourceId that is linked to the workspaces.
    disable_local_auth bool
    Disable Non-AAD based Auth.
    enable_data_export bool
    Flag that indicate if data should be exported.
    enable_log_access_using_only_resource_permissions bool
    Flag that indicate which permission to use - resource or workspace or both.
    immediate_purge_data_on30_days bool
    Flag that describes if we want to remove the data after 30 days.
    clusterResourceId String
    Dedicated LA cluster resourceId that is linked to the workspaces.
    disableLocalAuth Boolean
    Disable Non-AAD based Auth.
    enableDataExport Boolean
    Flag that indicate if data should be exported.
    enableLogAccessUsingOnlyResourcePermissions Boolean
    Flag that indicate which permission to use - resource or workspace or both.
    immediatePurgeDataOn30Days Boolean
    Flag that describes if we want to remove the data after 30 days.

    WorkspaceSku, WorkspaceSkuArgs

    Name string | Pulumi.AzureNative.OperationalInsights.WorkspaceSkuNameEnum
    The name of the SKU.
    CapacityReservationLevel int
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
    Name string | WorkspaceSkuNameEnum
    The name of the SKU.
    CapacityReservationLevel int
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
    name String | WorkspaceSkuNameEnum
    The name of the SKU.
    capacityReservationLevel Integer
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
    name string | WorkspaceSkuNameEnum
    The name of the SKU.
    capacityReservationLevel number
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
    name str | WorkspaceSkuNameEnum
    The name of the SKU.
    capacity_reservation_level int
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
    name String | "Free" | "Standard" | "Premium" | "PerNode" | "PerGB2018" | "Standalone" | "CapacityReservation" | "LACluster"
    The name of the SKU.
    capacityReservationLevel Number
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.

    WorkspaceSkuNameEnum, WorkspaceSkuNameEnumArgs

    Free
    Free
    Standard
    Standard
    Premium
    Premium
    PerNode
    PerNode
    PerGB2018
    PerGB2018
    Standalone
    Standalone
    CapacityReservation
    CapacityReservation
    LACluster
    LACluster
    WorkspaceSkuNameEnumFree
    Free
    WorkspaceSkuNameEnumStandard
    Standard
    WorkspaceSkuNameEnumPremium
    Premium
    WorkspaceSkuNameEnumPerNode
    PerNode
    WorkspaceSkuNameEnumPerGB2018
    PerGB2018
    WorkspaceSkuNameEnumStandalone
    Standalone
    WorkspaceSkuNameEnumCapacityReservation
    CapacityReservation
    WorkspaceSkuNameEnumLACluster
    LACluster
    Free
    Free
    Standard
    Standard
    Premium
    Premium
    PerNode
    PerNode
    PerGB2018
    PerGB2018
    Standalone
    Standalone
    CapacityReservation
    CapacityReservation
    LACluster
    LACluster
    Free
    Free
    Standard
    Standard
    Premium
    Premium
    PerNode
    PerNode
    PerGB2018
    PerGB2018
    Standalone
    Standalone
    CapacityReservation
    CapacityReservation
    LACluster
    LACluster
    FREE
    Free
    STANDARD
    Standard
    PREMIUM
    Premium
    PER_NODE
    PerNode
    PER_GB2018
    PerGB2018
    STANDALONE
    Standalone
    CAPACITY_RESERVATION
    CapacityReservation
    LA_CLUSTER
    LACluster
    "Free"
    Free
    "Standard"
    Standard
    "Premium"
    Premium
    "PerNode"
    PerNode
    "PerGB2018"
    PerGB2018
    "Standalone"
    Standalone
    "CapacityReservation"
    CapacityReservation
    "LACluster"
    LACluster

    WorkspaceSkuResponse, WorkspaceSkuResponseArgs

    LastSkuUpdate string
    The last time when the sku was updated.
    Name string
    The name of the SKU.
    CapacityReservationLevel int
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
    LastSkuUpdate string
    The last time when the sku was updated.
    Name string
    The name of the SKU.
    CapacityReservationLevel int
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
    lastSkuUpdate String
    The last time when the sku was updated.
    name String
    The name of the SKU.
    capacityReservationLevel Integer
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
    lastSkuUpdate string
    The last time when the sku was updated.
    name string
    The name of the SKU.
    capacityReservationLevel number
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
    last_sku_update str
    The last time when the sku was updated.
    name str
    The name of the SKU.
    capacity_reservation_level int
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
    lastSkuUpdate String
    The last time when the sku was updated.
    name String
    The name of the SKU.
    capacityReservationLevel Number
    The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:operationalinsights:Workspace AzTest2170 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi