azure-native.insights.GuestDiagnosticsSetting
Explore with Pulumi AI
Virtual machine guest diagnostics settings resource. Azure REST API version: 2018-06-01-preview. Prior API version in Azure Native 1.x: 2018-06-01-preview.
Example Usage
Create or update a guest diagnostic settings
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var guestDiagnosticsSetting = new AzureNative.Insights.GuestDiagnosticsSetting("guestDiagnosticsSetting", new()
{
DataSources = new[]
{
new AzureNative.Insights.Inputs.DataSourceArgs
{
Configuration = new AzureNative.Insights.Inputs.DataSourceConfigurationArgs
{
PerfCounters = new[]
{
new AzureNative.Insights.Inputs.PerformanceCounterConfigurationArgs
{
Name = "\\Process(_Total)\\%Processor Time",
SamplingPeriod = "PT1M",
},
new AzureNative.Insights.Inputs.PerformanceCounterConfigurationArgs
{
Name = "\\Process(_Total)\\Working Set",
SamplingPeriod = "PT1M",
},
},
},
Kind = "PerformanceCounter",
Sinks = new[]
{
new AzureNative.Insights.Inputs.SinkConfigurationArgs
{
Kind = "LogAnalytics",
},
},
},
new AzureNative.Insights.Inputs.DataSourceArgs
{
Configuration = new AzureNative.Insights.Inputs.DataSourceConfigurationArgs
{
Providers = new[]
{
new AzureNative.Insights.Inputs.EtwProviderConfigurationArgs
{
Id = "1",
},
new AzureNative.Insights.Inputs.EtwProviderConfigurationArgs
{
Id = "2",
},
},
},
Kind = "ETWProviders",
Sinks = new[]
{
new AzureNative.Insights.Inputs.SinkConfigurationArgs
{
Kind = "LogAnalytics",
},
},
},
new AzureNative.Insights.Inputs.DataSourceArgs
{
Configuration = new AzureNative.Insights.Inputs.DataSourceConfigurationArgs
{
EventLogs = new[]
{
new AzureNative.Insights.Inputs.EventLogConfigurationArgs
{
Filter = "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"",
LogName = "Application",
},
new AzureNative.Insights.Inputs.EventLogConfigurationArgs
{
Filter = "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"",
LogName = "Application",
},
},
},
Kind = "WindowsEventLogs",
Sinks = new[]
{
new AzureNative.Insights.Inputs.SinkConfigurationArgs
{
Kind = "LogAnalytics",
},
},
},
},
DiagnosticSettingsName = "SampleDiagSetting",
Location = "Global",
OsType = "Windows",
ResourceGroupName = "Default-ResourceGroup",
Tags = null,
});
});
package main
import (
insights "github.com/pulumi/pulumi-azure-native-sdk/insights/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := insights.NewGuestDiagnosticsSetting(ctx, "guestDiagnosticsSetting", &insights.GuestDiagnosticsSettingArgs{
DataSources: insights.DataSourceArray{
&insights.DataSourceArgs{
Configuration: &insights.DataSourceConfigurationArgs{
PerfCounters: insights.PerformanceCounterConfigurationArray{
&insights.PerformanceCounterConfigurationArgs{
Name: pulumi.String("\\Process(_Total)\\%Processor Time"),
SamplingPeriod: pulumi.String("PT1M"),
},
&insights.PerformanceCounterConfigurationArgs{
Name: pulumi.String("\\Process(_Total)\\Working Set"),
SamplingPeriod: pulumi.String("PT1M"),
},
},
},
Kind: pulumi.String("PerformanceCounter"),
Sinks: insights.SinkConfigurationArray{
&insights.SinkConfigurationArgs{
Kind: pulumi.String("LogAnalytics"),
},
},
},
&insights.DataSourceArgs{
Configuration: &insights.DataSourceConfigurationArgs{
Providers: insights.EtwProviderConfigurationArray{
&insights.EtwProviderConfigurationArgs{
Id: pulumi.String("1"),
},
&insights.EtwProviderConfigurationArgs{
Id: pulumi.String("2"),
},
},
},
Kind: pulumi.String("ETWProviders"),
Sinks: insights.SinkConfigurationArray{
&insights.SinkConfigurationArgs{
Kind: pulumi.String("LogAnalytics"),
},
},
},
&insights.DataSourceArgs{
Configuration: &insights.DataSourceConfigurationArgs{
EventLogs: insights.EventLogConfigurationArray{
&insights.EventLogConfigurationArgs{
Filter: pulumi.String("SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""),
LogName: pulumi.String("Application"),
},
&insights.EventLogConfigurationArgs{
Filter: pulumi.String("SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""),
LogName: pulumi.String("Application"),
},
},
},
Kind: pulumi.String("WindowsEventLogs"),
Sinks: insights.SinkConfigurationArray{
&insights.SinkConfigurationArgs{
Kind: pulumi.String("LogAnalytics"),
},
},
},
},
DiagnosticSettingsName: pulumi.String("SampleDiagSetting"),
Location: pulumi.String("Global"),
OsType: pulumi.String("Windows"),
ResourceGroupName: pulumi.String("Default-ResourceGroup"),
Tags: nil,
})
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.insights.GuestDiagnosticsSetting;
import com.pulumi.azurenative.insights.GuestDiagnosticsSettingArgs;
import com.pulumi.azurenative.insights.inputs.DataSourceArgs;
import com.pulumi.azurenative.insights.inputs.DataSourceConfigurationArgs;
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 guestDiagnosticsSetting = new GuestDiagnosticsSetting("guestDiagnosticsSetting", GuestDiagnosticsSettingArgs.builder()
.dataSources(
DataSourceArgs.builder()
.configuration(DataSourceConfigurationArgs.builder()
.perfCounters(
PerformanceCounterConfigurationArgs.builder()
.name("\\Process(_Total)\\%Processor Time")
.samplingPeriod("PT1M")
.build(),
PerformanceCounterConfigurationArgs.builder()
.name("\\Process(_Total)\\Working Set")
.samplingPeriod("PT1M")
.build())
.build())
.kind("PerformanceCounter")
.sinks(SinkConfigurationArgs.builder()
.kind("LogAnalytics")
.build())
.build(),
DataSourceArgs.builder()
.configuration(DataSourceConfigurationArgs.builder()
.providers(
EtwProviderConfigurationArgs.builder()
.id(1)
.build(),
EtwProviderConfigurationArgs.builder()
.id(2)
.build())
.build())
.kind("ETWProviders")
.sinks(SinkConfigurationArgs.builder()
.kind("LogAnalytics")
.build())
.build(),
DataSourceArgs.builder()
.configuration(DataSourceConfigurationArgs.builder()
.eventLogs(
EventLogConfigurationArgs.builder()
.filter("SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"")
.logName("Application")
.build(),
EventLogConfigurationArgs.builder()
.filter("SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"")
.logName("Application")
.build())
.build())
.kind("WindowsEventLogs")
.sinks(SinkConfigurationArgs.builder()
.kind("LogAnalytics")
.build())
.build())
.diagnosticSettingsName("SampleDiagSetting")
.location("Global")
.osType("Windows")
.resourceGroupName("Default-ResourceGroup")
.tags()
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
guest_diagnostics_setting = azure_native.insights.GuestDiagnosticsSetting("guestDiagnosticsSetting",
data_sources=[
{
"configuration": {
"perf_counters": [
{
"name": "\\Process(_Total)\\%Processor Time",
"sampling_period": "PT1M",
},
{
"name": "\\Process(_Total)\\Working Set",
"sampling_period": "PT1M",
},
],
},
"kind": "PerformanceCounter",
"sinks": [{
"kind": "LogAnalytics",
}],
},
{
"configuration": {
"providers": [
{
"id": "1",
},
{
"id": "2",
},
],
},
"kind": "ETWProviders",
"sinks": [{
"kind": "LogAnalytics",
}],
},
{
"configuration": {
"event_logs": [
{
"filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"",
"log_name": "Application",
},
{
"filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"",
"log_name": "Application",
},
],
},
"kind": "WindowsEventLogs",
"sinks": [{
"kind": "LogAnalytics",
}],
},
],
diagnostic_settings_name="SampleDiagSetting",
location="Global",
os_type="Windows",
resource_group_name="Default-ResourceGroup",
tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const guestDiagnosticsSetting = new azure_native.insights.GuestDiagnosticsSetting("guestDiagnosticsSetting", {
dataSources: [
{
configuration: {
perfCounters: [
{
name: "\\Process(_Total)\\%Processor Time",
samplingPeriod: "PT1M",
},
{
name: "\\Process(_Total)\\Working Set",
samplingPeriod: "PT1M",
},
],
},
kind: "PerformanceCounter",
sinks: [{
kind: "LogAnalytics",
}],
},
{
configuration: {
providers: [
{
id: "1",
},
{
id: "2",
},
],
},
kind: "ETWProviders",
sinks: [{
kind: "LogAnalytics",
}],
},
{
configuration: {
eventLogs: [
{
filter: "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\"",
logName: "Application",
},
{
filter: "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\"",
logName: "Application",
},
],
},
kind: "WindowsEventLogs",
sinks: [{
kind: "LogAnalytics",
}],
},
],
diagnosticSettingsName: "SampleDiagSetting",
location: "Global",
osType: "Windows",
resourceGroupName: "Default-ResourceGroup",
tags: {},
});
resources:
guestDiagnosticsSetting:
type: azure-native:insights:GuestDiagnosticsSetting
properties:
dataSources:
- configuration:
perfCounters:
- name: \Process(_Total)\%Processor Time
samplingPeriod: PT1M
- name: \Process(_Total)\Working Set
samplingPeriod: PT1M
kind: PerformanceCounter
sinks:
- kind: LogAnalytics
- configuration:
providers:
- id: 1
- id: 2
kind: ETWProviders
sinks:
- kind: LogAnalytics
- configuration:
eventLogs:
- filter: SourceName == Xyz AND EventId = "100" AND $Xpath/Column="DCName" = "CatWoman"
logName: Application
- filter: SourceName == Xyz AND EventId = "100" AND $Xpath/Column="DCName" = "BatMan"
logName: Application
kind: WindowsEventLogs
sinks:
- kind: LogAnalytics
diagnosticSettingsName: SampleDiagSetting
location: Global
osType: Windows
resourceGroupName: Default-ResourceGroup
tags: {}
Create GuestDiagnosticsSetting Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GuestDiagnosticsSetting(name: string, args: GuestDiagnosticsSettingArgs, opts?: CustomResourceOptions);
@overload
def GuestDiagnosticsSetting(resource_name: str,
args: GuestDiagnosticsSettingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GuestDiagnosticsSetting(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
data_sources: Optional[Sequence[DataSourceArgs]] = None,
diagnostic_settings_name: Optional[str] = None,
location: Optional[str] = None,
os_type: Optional[str] = None,
proxy_setting: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewGuestDiagnosticsSetting(ctx *Context, name string, args GuestDiagnosticsSettingArgs, opts ...ResourceOption) (*GuestDiagnosticsSetting, error)
public GuestDiagnosticsSetting(string name, GuestDiagnosticsSettingArgs args, CustomResourceOptions? opts = null)
public GuestDiagnosticsSetting(String name, GuestDiagnosticsSettingArgs args)
public GuestDiagnosticsSetting(String name, GuestDiagnosticsSettingArgs args, CustomResourceOptions options)
type: azure-native:insights:GuestDiagnosticsSetting
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 GuestDiagnosticsSettingArgs
- 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 GuestDiagnosticsSettingArgs
- 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 GuestDiagnosticsSettingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GuestDiagnosticsSettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GuestDiagnosticsSettingArgs
- 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 guestDiagnosticsSettingResource = new AzureNative.Insights.GuestDiagnosticsSetting("guestDiagnosticsSettingResource", new()
{
ResourceGroupName = "string",
DataSources = new[]
{
new AzureNative.Insights.Inputs.DataSourceArgs
{
Configuration = new AzureNative.Insights.Inputs.DataSourceConfigurationArgs
{
EventLogs = new[]
{
new AzureNative.Insights.Inputs.EventLogConfigurationArgs
{
LogName = "string",
Filter = "string",
},
},
PerfCounters = new[]
{
new AzureNative.Insights.Inputs.PerformanceCounterConfigurationArgs
{
Name = "string",
SamplingPeriod = "string",
Instance = "string",
},
},
Providers = new[]
{
new AzureNative.Insights.Inputs.EtwProviderConfigurationArgs
{
Events = new[]
{
new AzureNative.Insights.Inputs.EtwEventConfigurationArgs
{
Id = 0,
Name = "string",
Filter = "string",
},
},
Id = "string",
},
},
},
Kind = "string",
Sinks = new[]
{
new AzureNative.Insights.Inputs.SinkConfigurationArgs
{
Kind = "string",
},
},
},
},
DiagnosticSettingsName = "string",
Location = "string",
OsType = "string",
ProxySetting = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := insights.NewGuestDiagnosticsSetting(ctx, "guestDiagnosticsSettingResource", &insights.GuestDiagnosticsSettingArgs{
ResourceGroupName: pulumi.String("string"),
DataSources: insights.DataSourceArray{
&insights.DataSourceArgs{
Configuration: &insights.DataSourceConfigurationArgs{
EventLogs: insights.EventLogConfigurationArray{
&insights.EventLogConfigurationArgs{
LogName: pulumi.String("string"),
Filter: pulumi.String("string"),
},
},
PerfCounters: insights.PerformanceCounterConfigurationArray{
&insights.PerformanceCounterConfigurationArgs{
Name: pulumi.String("string"),
SamplingPeriod: pulumi.String("string"),
Instance: pulumi.String("string"),
},
},
Providers: insights.EtwProviderConfigurationArray{
&insights.EtwProviderConfigurationArgs{
Events: insights.EtwEventConfigurationArray{
&insights.EtwEventConfigurationArgs{
Id: pulumi.Int(0),
Name: pulumi.String("string"),
Filter: pulumi.String("string"),
},
},
Id: pulumi.String("string"),
},
},
},
Kind: pulumi.String("string"),
Sinks: insights.SinkConfigurationArray{
&insights.SinkConfigurationArgs{
Kind: pulumi.String("string"),
},
},
},
},
DiagnosticSettingsName: pulumi.String("string"),
Location: pulumi.String("string"),
OsType: pulumi.String("string"),
ProxySetting: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var guestDiagnosticsSettingResource = new GuestDiagnosticsSetting("guestDiagnosticsSettingResource", GuestDiagnosticsSettingArgs.builder()
.resourceGroupName("string")
.dataSources(DataSourceArgs.builder()
.configuration(DataSourceConfigurationArgs.builder()
.eventLogs(EventLogConfigurationArgs.builder()
.logName("string")
.filter("string")
.build())
.perfCounters(PerformanceCounterConfigurationArgs.builder()
.name("string")
.samplingPeriod("string")
.instance("string")
.build())
.providers(EtwProviderConfigurationArgs.builder()
.events(EtwEventConfigurationArgs.builder()
.id(0)
.name("string")
.filter("string")
.build())
.id("string")
.build())
.build())
.kind("string")
.sinks(SinkConfigurationArgs.builder()
.kind("string")
.build())
.build())
.diagnosticSettingsName("string")
.location("string")
.osType("string")
.proxySetting("string")
.tags(Map.of("string", "string"))
.build());
guest_diagnostics_setting_resource = azure_native.insights.GuestDiagnosticsSetting("guestDiagnosticsSettingResource",
resource_group_name="string",
data_sources=[{
"configuration": {
"eventLogs": [{
"logName": "string",
"filter": "string",
}],
"perfCounters": [{
"name": "string",
"samplingPeriod": "string",
"instance": "string",
}],
"providers": [{
"events": [{
"id": 0,
"name": "string",
"filter": "string",
}],
"id": "string",
}],
},
"kind": "string",
"sinks": [{
"kind": "string",
}],
}],
diagnostic_settings_name="string",
location="string",
os_type="string",
proxy_setting="string",
tags={
"string": "string",
})
const guestDiagnosticsSettingResource = new azure_native.insights.GuestDiagnosticsSetting("guestDiagnosticsSettingResource", {
resourceGroupName: "string",
dataSources: [{
configuration: {
eventLogs: [{
logName: "string",
filter: "string",
}],
perfCounters: [{
name: "string",
samplingPeriod: "string",
instance: "string",
}],
providers: [{
events: [{
id: 0,
name: "string",
filter: "string",
}],
id: "string",
}],
},
kind: "string",
sinks: [{
kind: "string",
}],
}],
diagnosticSettingsName: "string",
location: "string",
osType: "string",
proxySetting: "string",
tags: {
string: "string",
},
});
type: azure-native:insights:GuestDiagnosticsSetting
properties:
dataSources:
- configuration:
eventLogs:
- filter: string
logName: string
perfCounters:
- instance: string
name: string
samplingPeriod: string
providers:
- events:
- filter: string
id: 0
name: string
id: string
kind: string
sinks:
- kind: string
diagnosticSettingsName: string
location: string
osType: string
proxySetting: string
resourceGroupName: string
tags:
string: string
GuestDiagnosticsSetting 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 GuestDiagnosticsSetting resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Data
Sources List<Pulumi.Azure Native. Insights. Inputs. Data Source> - the array of data source object which are configured to collect and send data
- Diagnostic
Settings stringName - The name of the diagnostic setting.
- Location string
- Resource location
- Os
Type string - Operating system type for the configuration
- Proxy
Setting string - Dictionary<string, string>
- Resource tags
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Data
Sources []DataSource Args - the array of data source object which are configured to collect and send data
- Diagnostic
Settings stringName - The name of the diagnostic setting.
- Location string
- Resource location
- Os
Type string - Operating system type for the configuration
- Proxy
Setting string - map[string]string
- Resource tags
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- data
Sources List<DataSource> - the array of data source object which are configured to collect and send data
- diagnostic
Settings StringName - The name of the diagnostic setting.
- location String
- Resource location
- os
Type String - Operating system type for the configuration
- proxy
Setting String - Map<String,String>
- Resource tags
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- data
Sources DataSource[] - the array of data source object which are configured to collect and send data
- diagnostic
Settings stringName - The name of the diagnostic setting.
- location string
- Resource location
- os
Type string - Operating system type for the configuration
- proxy
Setting string - {[key: string]: string}
- Resource tags
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- data_
sources Sequence[DataSource Args] - the array of data source object which are configured to collect and send data
- diagnostic_
settings_ strname - The name of the diagnostic setting.
- location str
- Resource location
- os_
type str - Operating system type for the configuration
- proxy_
setting str - Mapping[str, str]
- Resource tags
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- data
Sources List<Property Map> - the array of data source object which are configured to collect and send data
- diagnostic
Settings StringName - The name of the diagnostic setting.
- location String
- Resource location
- os
Type String - Operating system type for the configuration
- proxy
Setting String - Map<String>
- Resource tags
Outputs
All input properties are implicitly available as output properties. Additionally, the GuestDiagnosticsSetting resource produces the following output properties:
Supporting Types
DataSource, DataSourceArgs
- Configuration
Data
Source Configuration - Kind string
- Datasource kind
- Sinks
[]Sink
Configuration
- configuration
Data
Source Configuration - kind String
- Datasource kind
- sinks
List<Sink
Configuration>
- configuration
Data
Source Configuration - kind string
- Datasource kind
- sinks
Sink
Configuration[]
- configuration
Data
Source Configuration - kind str
- Datasource kind
- sinks
Sequence[Sink
Configuration]
- configuration Property Map
- kind String
- Datasource kind
- sinks List<Property Map>
DataSourceConfiguration, DataSourceConfigurationArgs
- Event
Logs List<Pulumi.Azure Native. Insights. Inputs. Event Log Configuration> - Windows event logs configuration.
- Perf
Counters List<Pulumi.Azure Native. Insights. Inputs. Performance Counter Configuration> - Performance counter configuration
- Providers
List<Pulumi.
Azure Native. Insights. Inputs. Etw Provider Configuration> - ETW providers configuration
- Event
Logs []EventLog Configuration - Windows event logs configuration.
- Perf
Counters []PerformanceCounter Configuration - Performance counter configuration
- Providers
[]Etw
Provider Configuration - ETW providers configuration
- event
Logs List<EventLog Configuration> - Windows event logs configuration.
- perf
Counters List<PerformanceCounter Configuration> - Performance counter configuration
- providers
List<Etw
Provider Configuration> - ETW providers configuration
- event
Logs EventLog Configuration[] - Windows event logs configuration.
- perf
Counters PerformanceCounter Configuration[] - Performance counter configuration
- providers
Etw
Provider Configuration[] - ETW providers configuration
- event_
logs Sequence[EventLog Configuration] - Windows event logs configuration.
- perf_
counters Sequence[PerformanceCounter Configuration] - Performance counter configuration
- providers
Sequence[Etw
Provider Configuration] - ETW providers configuration
- event
Logs List<Property Map> - Windows event logs configuration.
- perf
Counters List<Property Map> - Performance counter configuration
- providers List<Property Map>
- ETW providers configuration
DataSourceConfigurationResponse, DataSourceConfigurationResponseArgs
- Event
Logs List<Pulumi.Azure Native. Insights. Inputs. Event Log Configuration Response> - Windows event logs configuration.
- Perf
Counters List<Pulumi.Azure Native. Insights. Inputs. Performance Counter Configuration Response> - Performance counter configuration
- Providers
List<Pulumi.
Azure Native. Insights. Inputs. Etw Provider Configuration Response> - ETW providers configuration
- Event
Logs []EventLog Configuration Response - Windows event logs configuration.
- Perf
Counters []PerformanceCounter Configuration Response - Performance counter configuration
- Providers
[]Etw
Provider Configuration Response - ETW providers configuration
- event
Logs List<EventLog Configuration Response> - Windows event logs configuration.
- perf
Counters List<PerformanceCounter Configuration Response> - Performance counter configuration
- providers
List<Etw
Provider Configuration Response> - ETW providers configuration
- event
Logs EventLog Configuration Response[] - Windows event logs configuration.
- perf
Counters PerformanceCounter Configuration Response[] - Performance counter configuration
- providers
Etw
Provider Configuration Response[] - ETW providers configuration
- event_
logs Sequence[EventLog Configuration Response] - Windows event logs configuration.
- perf_
counters Sequence[PerformanceCounter Configuration Response] - Performance counter configuration
- providers
Sequence[Etw
Provider Configuration Response] - ETW providers configuration
- event
Logs List<Property Map> - Windows event logs configuration.
- perf
Counters List<Property Map> - Performance counter configuration
- providers List<Property Map>
- ETW providers configuration
DataSourceResponse, DataSourceResponseArgs
- Configuration
Data
Source Configuration Response - Kind string
- Datasource kind
- Sinks
[]Sink
Configuration Response
- configuration
Data
Source Configuration Response - kind String
- Datasource kind
- sinks
List<Sink
Configuration Response>
- configuration
Data
Source Configuration Response - kind string
- Datasource kind
- sinks
Sink
Configuration Response[]
- configuration Property Map
- kind String
- Datasource kind
- sinks List<Property Map>
EtwEventConfiguration, EtwEventConfigurationArgs
EtwEventConfigurationResponse, EtwEventConfigurationResponseArgs
EtwProviderConfiguration, EtwProviderConfigurationArgs
- Events
[]Etw
Event Configuration - Id string
- events
Etw
Event Configuration[] - id string
- events List<Property Map>
- id String
EtwProviderConfigurationResponse, EtwProviderConfigurationResponseArgs
- events List<Property Map>
- id String
EventLogConfiguration, EventLogConfigurationArgs
EventLogConfigurationResponse, EventLogConfigurationResponseArgs
PerformanceCounterConfiguration, PerformanceCounterConfigurationArgs
- Name string
- Sampling
Period string - Instance string
- Name string
- Sampling
Period string - Instance string
- name String
- sampling
Period String - instance String
- name string
- sampling
Period string - instance string
- name str
- sampling_
period str - instance str
- name String
- sampling
Period String - instance String
PerformanceCounterConfigurationResponse, PerformanceCounterConfigurationResponseArgs
- Name string
- Sampling
Period string - Instance string
- Name string
- Sampling
Period string - Instance string
- name String
- sampling
Period String - instance String
- name string
- sampling
Period string - instance string
- name str
- sampling_
period str - instance str
- name String
- sampling
Period String - instance String
SinkConfiguration, SinkConfigurationArgs
- Kind string
- Kind string
- kind String
- kind string
- kind str
- kind String
SinkConfigurationResponse, SinkConfigurationResponseArgs
- Kind string
- Kind string
- kind String
- kind string
- kind str
- kind String
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:insights:GuestDiagnosticsSetting productionMachineSetting /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings/{diagnosticSettingsName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0