azure-native.operationalinsights.Workspace
Explore with Pulumi AI
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={
"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.
Constructor 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={
"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={
"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={
"name": "string",
"capacity_reservation_level": 0,
},
tags={
"string": "string",
},
workspace_capping={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Workspace resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Default
Data stringCollection Rule Resource Id - 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.
Azure Native. Operational Insights. Inputs. Workspace Features - Workspace features.
- Force
Cmk boolFor Query - Indicates whether customer managed storage is mandatory for query management.
- Identity
Pulumi.
Azure Native. Operational Insights. Inputs. Identity - The identity of the resource.
- Location string
- The geo-location where the resource lives
- Public
Network string | Pulumi.Access For Ingestion Azure Native. Operational Insights. Public Network Access Type - The network access type for accessing Log Analytics ingestion.
- Public
Network string | Pulumi.Access For Query Azure Native. Operational Insights. Public Network Access Type - The network access type for accessing Log Analytics query.
- Retention
In intDays - The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
- Sku
Pulumi.
Azure Native. Operational Insights. Inputs. Workspace Sku - The SKU of the workspace.
- Dictionary<string, string>
- Resource tags.
- Workspace
Capping Pulumi.Azure Native. Operational Insights. Inputs. Workspace Capping - The daily volume cap for ingestion.
- Workspace
Name string - The name of the workspace.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Default
Data stringCollection Rule Resource Id - 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
Workspace
Features Args - Workspace features.
- Force
Cmk boolFor Query - Indicates whether customer managed storage is mandatory for query management.
- Identity
Identity
Args - The identity of the resource.
- Location string
- The geo-location where the resource lives
- Public
Network string | PublicAccess For Ingestion Network Access Type - The network access type for accessing Log Analytics ingestion.
- Public
Network string | PublicAccess For Query Network Access Type - The network access type for accessing Log Analytics query.
- Retention
In intDays - The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
- Sku
Workspace
Sku Args - The SKU of the workspace.
- map[string]string
- Resource tags.
- Workspace
Capping WorkspaceCapping Args - The daily volume cap for ingestion.
- Workspace
Name string - The name of the workspace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- default
Data StringCollection Rule Resource Id - 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
Workspace
Features - Workspace features.
- force
Cmk BooleanFor Query - 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
- public
Network String | PublicAccess For Ingestion Network Access Type - The network access type for accessing Log Analytics ingestion.
- public
Network String | PublicAccess For Query Network Access Type - The network access type for accessing Log Analytics query.
- retention
In IntegerDays - The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
- sku
Workspace
Sku - The SKU of the workspace.
- Map<String,String>
- Resource tags.
- workspace
Capping WorkspaceCapping - The daily volume cap for ingestion.
- workspace
Name String - The name of the workspace.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- default
Data stringCollection Rule Resource Id - 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
Workspace
Features - Workspace features.
- force
Cmk booleanFor Query - 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
- public
Network string | PublicAccess For Ingestion Network Access Type - The network access type for accessing Log Analytics ingestion.
- public
Network string | PublicAccess For Query Network Access Type - The network access type for accessing Log Analytics query.
- retention
In numberDays - The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
- sku
Workspace
Sku - The SKU of the workspace.
- {[key: string]: string}
- Resource tags.
- workspace
Capping WorkspaceCapping - The daily volume cap for ingestion.
- workspace
Name string - The name of the workspace.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- default_
data_ strcollection_ rule_ resource_ id - 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
Workspace
Features Args - Workspace features.
- force_
cmk_ boolfor_ query - Indicates whether customer managed storage is mandatory for query management.
- identity
Identity
Args - The identity of the resource.
- location str
- The geo-location where the resource lives
- public_
network_ str | Publicaccess_ for_ ingestion Network Access Type - The network access type for accessing Log Analytics ingestion.
- public_
network_ str | Publicaccess_ for_ query Network Access Type - The network access type for accessing Log Analytics query.
- retention_
in_ intdays - The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
- sku
Workspace
Sku Args - The SKU of the workspace.
- Mapping[str, str]
- Resource tags.
- workspace_
capping WorkspaceCapping Args - The daily volume cap for ingestion.
- workspace_
name str - The name of the workspace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- default
Data StringCollection Rule Resource Id - 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.
- force
Cmk BooleanFor Query - 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
- public
Network String | "Enabled" | "Disabled"Access For Ingestion - The network access type for accessing Log Analytics ingestion.
- public
Network String | "Enabled" | "Disabled"Access For Query - The network access type for accessing Log Analytics query.
- retention
In NumberDays - 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.
- Map<String>
- Resource tags.
- workspace
Capping Property Map - The daily volume cap for ingestion.
- workspace
Name 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:
- Created
Date string - Workspace creation date.
- Customer
Id 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.
- Modified
Date string - Workspace modification date.
- Name string
- The name of the resource
- Private
Link List<Pulumi.Scoped Resources Azure Native. Operational Insights. Outputs. Private Link Scoped Resource Response> - List of linked private link scope resources.
- Provisioning
State string - The provisioning state of the workspace.
- System
Data Pulumi.Azure Native. Operational Insights. Outputs. System Data Response - 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 string - Workspace creation date.
- Customer
Id 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.
- Modified
Date string - Workspace modification date.
- Name string
- The name of the resource
- Private
Link []PrivateScoped Resources Link Scoped Resource Response - List of linked private link scope resources.
- Provisioning
State string - The provisioning state of the workspace.
- System
Data SystemData Response - 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 String - Workspace creation date.
- customer
Id 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.
- modified
Date String - Workspace modification date.
- name String
- The name of the resource
- private
Link List<PrivateScoped Resources Link Scoped Resource Response> - List of linked private link scope resources.
- provisioning
State String - The provisioning state of the workspace.
- system
Data SystemData Response - 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 string - Workspace creation date.
- customer
Id 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.
- modified
Date string - Workspace modification date.
- name string
- The name of the resource
- private
Link PrivateScoped Resources Link Scoped Resource Response[] - List of linked private link scope resources.
- provisioning
State string - The provisioning state of the workspace.
- system
Data SystemData Response - 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_ Sequence[Privatescoped_ resources Link Scoped Resource Response] - List of linked private link scope resources.
- provisioning_
state str - The provisioning state of the workspace.
- system_
data SystemData Response - 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.
- created
Date String - Workspace creation date.
- customer
Id 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.
- modified
Date String - Workspace modification date.
- name String
- The name of the resource
- private
Link List<Property Map>Scoped Resources - List of linked private link scope resources.
- provisioning
State String - The provisioning state of the workspace.
- system
Data 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.
Azure Native. Operational Insights. Identity Type - Type of managed service identity.
- User
Assigned List<string>Identities - 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
Identity
Type - Type of managed service identity.
- User
Assigned []stringIdentities - 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
Identity
Type - Type of managed service identity.
- user
Assigned List<String>Identities - 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
Identity
Type - Type of managed service identity.
- user
Assigned string[]Identities - 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
Identity
Type - Type of managed service identity.
- user_
assigned_ Sequence[str]identities - 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
"System
Assigned" | "User Assigned" | "None" - Type of managed service identity.
- user
Assigned List<String>Identities - 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
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- Type of managed service identity.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Operational Insights. Inputs. User Identity Properties Response> - 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 string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- Type of managed service identity.
- User
Assigned map[string]UserIdentities Identity Properties Response - 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 String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- Type of managed service identity.
- user
Assigned Map<String,UserIdentities Identity Properties Response> - 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 string - The principal ID of resource identity.
- tenant
Id string - The tenant ID of resource.
- type string
- Type of managed service identity.
- user
Assigned {[key: string]: UserIdentities Identity Properties Response} - 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_ Mapping[str, Useridentities Identity Properties Response] - 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 String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- Type of managed service identity.
- user
Assigned Map<Property Map>Identities - 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
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- None
- None
- Identity
Type System Assigned - SystemAssigned
- Identity
Type User Assigned - UserAssigned
- Identity
Type None - None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- NONE
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "None"
- None
PrivateLinkScopedResourceResponse, PrivateLinkScopedResourceResponseArgs
- Resource
Id string - The full resource Id of the private link scope resource.
- Scope
Id string - The private link scope unique Identifier.
- Resource
Id string - The full resource Id of the private link scope resource.
- Scope
Id string - The private link scope unique Identifier.
- resource
Id String - The full resource Id of the private link scope resource.
- scope
Id String - The private link scope unique Identifier.
- resource
Id string - The full resource Id of the private link scope resource.
- scope
Id 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.
- resource
Id String - The full resource Id of the private link scope resource.
- scope
Id 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.
- Public
Network Access Type Enabled - EnabledEnables connectivity to Log Analytics through public DNS.
- Public
Network Access Type 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.
- "Enabled"
- EnabledEnables connectivity to Log Analytics through public DNS.
- "Disabled"
- DisabledDisables public connectivity to Log Analytics through public DNS.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserIdentityPropertiesResponse, UserIdentityPropertiesResponseArgs
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id 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.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
WorkspaceCapping, WorkspaceCappingArgs
- Daily
Quota doubleGb - The workspace daily quota for ingestion.
- Daily
Quota float64Gb - The workspace daily quota for ingestion.
- daily
Quota DoubleGb - The workspace daily quota for ingestion.
- daily
Quota numberGb - The workspace daily quota for ingestion.
- daily_
quota_ floatgb - The workspace daily quota for ingestion.
- daily
Quota NumberGb - The workspace daily quota for ingestion.
WorkspaceCappingResponse, WorkspaceCappingResponseArgs
- Data
Ingestion stringStatus - The status of data ingestion for this workspace.
- Quota
Next stringReset Time - The time when the quota will be rest.
- Daily
Quota doubleGb - The workspace daily quota for ingestion.
- Data
Ingestion stringStatus - The status of data ingestion for this workspace.
- Quota
Next stringReset Time - The time when the quota will be rest.
- Daily
Quota float64Gb - The workspace daily quota for ingestion.
- data
Ingestion StringStatus - The status of data ingestion for this workspace.
- quota
Next StringReset Time - The time when the quota will be rest.
- daily
Quota DoubleGb - The workspace daily quota for ingestion.
- data
Ingestion stringStatus - The status of data ingestion for this workspace.
- quota
Next stringReset Time - The time when the quota will be rest.
- daily
Quota numberGb - The workspace daily quota for ingestion.
- data_
ingestion_ strstatus - The status of data ingestion for this workspace.
- quota_
next_ strreset_ time - The time when the quota will be rest.
- daily_
quota_ floatgb - The workspace daily quota for ingestion.
- data
Ingestion StringStatus - The status of data ingestion for this workspace.
- quota
Next StringReset Time - The time when the quota will be rest.
- daily
Quota NumberGb - The workspace daily quota for ingestion.
WorkspaceFeatures, WorkspaceFeaturesArgs
- Cluster
Resource stringId - Dedicated LA cluster resourceId that is linked to the workspaces.
- Disable
Local boolAuth - Disable Non-AAD based Auth.
- Enable
Data boolExport - Flag that indicate if data should be exported.
- Enable
Log boolAccess Using Only Resource Permissions - Flag that indicate which permission to use - resource or workspace or both.
- Immediate
Purge boolData On30Days - Flag that describes if we want to remove the data after 30 days.
- Cluster
Resource stringId - Dedicated LA cluster resourceId that is linked to the workspaces.
- Disable
Local boolAuth - Disable Non-AAD based Auth.
- Enable
Data boolExport - Flag that indicate if data should be exported.
- Enable
Log boolAccess Using Only Resource Permissions - Flag that indicate which permission to use - resource or workspace or both.
- Immediate
Purge boolData On30Days - Flag that describes if we want to remove the data after 30 days.
- cluster
Resource StringId - Dedicated LA cluster resourceId that is linked to the workspaces.
- disable
Local BooleanAuth - Disable Non-AAD based Auth.
- enable
Data BooleanExport - Flag that indicate if data should be exported.
- enable
Log BooleanAccess Using Only Resource Permissions - Flag that indicate which permission to use - resource or workspace or both.
- immediate
Purge BooleanData On30Days - Flag that describes if we want to remove the data after 30 days.
- cluster
Resource stringId - Dedicated LA cluster resourceId that is linked to the workspaces.
- disable
Local booleanAuth - Disable Non-AAD based Auth.
- enable
Data booleanExport - Flag that indicate if data should be exported.
- enable
Log booleanAccess Using Only Resource Permissions - Flag that indicate which permission to use - resource or workspace or both.
- immediate
Purge booleanData On30Days - Flag that describes if we want to remove the data after 30 days.
- cluster_
resource_ strid - Dedicated LA cluster resourceId that is linked to the workspaces.
- disable_
local_ boolauth - Disable Non-AAD based Auth.
- enable_
data_ boolexport - Flag that indicate if data should be exported.
- enable_
log_ boolaccess_ using_ only_ resource_ permissions - Flag that indicate which permission to use - resource or workspace or both.
- immediate_
purge_ booldata_ on30_ days - Flag that describes if we want to remove the data after 30 days.
- cluster
Resource StringId - Dedicated LA cluster resourceId that is linked to the workspaces.
- disable
Local BooleanAuth - Disable Non-AAD based Auth.
- enable
Data BooleanExport - Flag that indicate if data should be exported.
- enable
Log BooleanAccess Using Only Resource Permissions - Flag that indicate which permission to use - resource or workspace or both.
- immediate
Purge BooleanData On30Days - Flag that describes if we want to remove the data after 30 days.
WorkspaceFeaturesResponse, WorkspaceFeaturesResponseArgs
- Cluster
Resource stringId - Dedicated LA cluster resourceId that is linked to the workspaces.
- Disable
Local boolAuth - Disable Non-AAD based Auth.
- Enable
Data boolExport - Flag that indicate if data should be exported.
- Enable
Log boolAccess Using Only Resource Permissions - Flag that indicate which permission to use - resource or workspace or both.
- Immediate
Purge boolData On30Days - Flag that describes if we want to remove the data after 30 days.
- Cluster
Resource stringId - Dedicated LA cluster resourceId that is linked to the workspaces.
- Disable
Local boolAuth - Disable Non-AAD based Auth.
- Enable
Data boolExport - Flag that indicate if data should be exported.
- Enable
Log boolAccess Using Only Resource Permissions - Flag that indicate which permission to use - resource or workspace or both.
- Immediate
Purge boolData On30Days - Flag that describes if we want to remove the data after 30 days.
- cluster
Resource StringId - Dedicated LA cluster resourceId that is linked to the workspaces.
- disable
Local BooleanAuth - Disable Non-AAD based Auth.
- enable
Data BooleanExport - Flag that indicate if data should be exported.
- enable
Log BooleanAccess Using Only Resource Permissions - Flag that indicate which permission to use - resource or workspace or both.
- immediate
Purge BooleanData On30Days - Flag that describes if we want to remove the data after 30 days.
- cluster
Resource stringId - Dedicated LA cluster resourceId that is linked to the workspaces.
- disable
Local booleanAuth - Disable Non-AAD based Auth.
- enable
Data booleanExport - Flag that indicate if data should be exported.
- enable
Log booleanAccess Using Only Resource Permissions - Flag that indicate which permission to use - resource or workspace or both.
- immediate
Purge booleanData On30Days - Flag that describes if we want to remove the data after 30 days.
- cluster_
resource_ strid - Dedicated LA cluster resourceId that is linked to the workspaces.
- disable_
local_ boolauth - Disable Non-AAD based Auth.
- enable_
data_ boolexport - Flag that indicate if data should be exported.
- enable_
log_ boolaccess_ using_ only_ resource_ permissions - Flag that indicate which permission to use - resource or workspace or both.
- immediate_
purge_ booldata_ on30_ days - Flag that describes if we want to remove the data after 30 days.
- cluster
Resource StringId - Dedicated LA cluster resourceId that is linked to the workspaces.
- disable
Local BooleanAuth - Disable Non-AAD based Auth.
- enable
Data BooleanExport - Flag that indicate if data should be exported.
- enable
Log BooleanAccess Using Only Resource Permissions - Flag that indicate which permission to use - resource or workspace or both.
- immediate
Purge BooleanData On30Days - Flag that describes if we want to remove the data after 30 days.
WorkspaceSku, WorkspaceSkuArgs
- Name
string | Pulumi.
Azure Native. Operational Insights. Workspace Sku Name Enum - The name of the SKU.
- Capacity
Reservation intLevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
- Name
string | Workspace
Sku Name Enum - The name of the SKU.
- Capacity
Reservation intLevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
- name
String | Workspace
Sku Name Enum - The name of the SKU.
- capacity
Reservation IntegerLevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
- name
string | Workspace
Sku Name Enum - The name of the SKU.
- capacity
Reservation numberLevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
- name
str | Workspace
Sku Name Enum - The name of the SKU.
- capacity_
reservation_ intlevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
- name
String | "Free" | "Standard" | "Premium" | "Per
Node" | "Per GB2018" | "Standalone" | "Capacity Reservation" | "LACluster" - The name of the SKU.
- capacity
Reservation NumberLevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
WorkspaceSkuNameEnum, WorkspaceSkuNameEnumArgs
- Free
- Free
- Standard
- Standard
- Premium
- Premium
- Per
Node - PerNode
- Per
GB2018 - PerGB2018
- Standalone
- Standalone
- Capacity
Reservation - CapacityReservation
- LACluster
- LACluster
- Workspace
Sku Name Enum Free - Free
- Workspace
Sku Name Enum Standard - Standard
- Workspace
Sku Name Enum Premium - Premium
- Workspace
Sku Name Enum Per Node - PerNode
- Workspace
Sku Name Enum Per GB2018 - PerGB2018
- Workspace
Sku Name Enum Standalone - Standalone
- Workspace
Sku Name Enum Capacity Reservation - CapacityReservation
- Workspace
Sku Name Enum LACluster - LACluster
- Free
- Free
- Standard
- Standard
- Premium
- Premium
- Per
Node - PerNode
- Per
GB2018 - PerGB2018
- Standalone
- Standalone
- Capacity
Reservation - CapacityReservation
- LACluster
- LACluster
- Free
- Free
- Standard
- Standard
- Premium
- Premium
- Per
Node - PerNode
- Per
GB2018 - PerGB2018
- Standalone
- Standalone
- Capacity
Reservation - 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
- "Per
Node" - PerNode
- "Per
GB2018" - PerGB2018
- "Standalone"
- Standalone
- "Capacity
Reservation" - CapacityReservation
- "LACluster"
- LACluster
WorkspaceSkuResponse, WorkspaceSkuResponseArgs
- Last
Sku stringUpdate - The last time when the sku was updated.
- Name string
- The name of the SKU.
- Capacity
Reservation intLevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
- Last
Sku stringUpdate - The last time when the sku was updated.
- Name string
- The name of the SKU.
- Capacity
Reservation intLevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
- last
Sku StringUpdate - The last time when the sku was updated.
- name String
- The name of the SKU.
- capacity
Reservation IntegerLevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
- last
Sku stringUpdate - The last time when the sku was updated.
- name string
- The name of the SKU.
- capacity
Reservation numberLevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
- last_
sku_ strupdate - The last time when the sku was updated.
- name str
- The name of the SKU.
- capacity_
reservation_ intlevel - The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.
- last
Sku StringUpdate - The last time when the sku was updated.
- name String
- The name of the SKU.
- capacity
Reservation NumberLevel - 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