1. Packages
  2. Azure Native v1
  3. API Docs
  4. insights
  5. GuestDiagnosticsSetting
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.insights.GuestDiagnosticsSetting

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Virtual machine guest diagnostics settings resource. API Version: 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"
    	"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.DataSourceArgs{
    				{
    					Configuration: {
    						PerfCounters: insights.PerformanceCounterConfigurationArray{
    							{
    								Name:           pulumi.String("\\Process(_Total)\\%Processor Time"),
    								SamplingPeriod: pulumi.String("PT1M"),
    							},
    							{
    								Name:           pulumi.String("\\Process(_Total)\\Working Set"),
    								SamplingPeriod: pulumi.String("PT1M"),
    							},
    						},
    					},
    					Kind: pulumi.String("PerformanceCounter"),
    					Sinks: insights.SinkConfigurationArray{
    						{
    							Kind: pulumi.String("LogAnalytics"),
    						},
    					},
    				},
    				{
    					Configuration: {
    						Providers: insights.EtwProviderConfigurationArray{
    							{
    								Id: pulumi.String("1"),
    							},
    							{
    								Id: pulumi.String("2"),
    							},
    						},
    					},
    					Kind: pulumi.String("ETWProviders"),
    					Sinks: insights.SinkConfigurationArray{
    						{
    							Kind: pulumi.String("LogAnalytics"),
    						},
    					},
    				},
    				{
    					Configuration: {
    						EventLogs: insights.EventLogConfigurationArray{
    							{
    								Filter:  pulumi.String("SourceName == Xyz AND EventId = \"100\" AND  $Xpath/Column=\"DCName\" = \"CatWoman\""),
    								LogName: pulumi.String("Application"),
    							},
    							{
    								Filter:  pulumi.String("SourceName == Xyz AND EventId = \"100\" AND  $Xpath/Column=\"DCName\" = \"BatMan\""),
    								LogName: pulumi.String("Application"),
    							},
    						},
    					},
    					Kind: pulumi.String("WindowsEventLogs"),
    					Sinks: insights.SinkConfigurationArray{
    						{
    							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 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(            
                    Map.ofEntries(
                        Map.entry("configuration", Map.of("perfCounters",                     
                            Map.ofEntries(
                                Map.entry("name", "\\Process(_Total)\\%Processor Time"),
                                Map.entry("samplingPeriod", "PT1M")
                            ),
                            Map.ofEntries(
                                Map.entry("name", "\\Process(_Total)\\Working Set"),
                                Map.entry("samplingPeriod", "PT1M")
                            ))),
                        Map.entry("kind", "PerformanceCounter"),
                        Map.entry("sinks", Map.of("kind", "LogAnalytics"))
                    ),
                    Map.ofEntries(
                        Map.entry("configuration", Map.of("providers",                     
                            Map.of("id", "1"),
                            Map.of("id", "2"))),
                        Map.entry("kind", "ETWProviders"),
                        Map.entry("sinks", Map.of("kind", "LogAnalytics"))
                    ),
                    Map.ofEntries(
                        Map.entry("configuration", Map.of("eventLogs",                     
                            Map.ofEntries(
                                Map.entry("filter", "SourceName == Xyz AND EventId = \"100\" AND  $Xpath/Column=\"DCName\" = \"CatWoman\""),
                                Map.entry("logName", "Application")
                            ),
                            Map.ofEntries(
                                Map.entry("filter", "SourceName == Xyz AND EventId = \"100\" AND  $Xpath/Column=\"DCName\" = \"BatMan\""),
                                Map.entry("logName", "Application")
                            ))),
                        Map.entry("kind", "WindowsEventLogs"),
                        Map.entry("sinks", Map.of("kind", "LogAnalytics"))
                    ))
                .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": {
                    "perfCounters": [
                        azure_native.insights.PerformanceCounterConfigurationArgs(
                            name="\\Process(_Total)\\%Processor Time",
                            sampling_period="PT1M",
                        ),
                        azure_native.insights.PerformanceCounterConfigurationArgs(
                            name="\\Process(_Total)\\Working Set",
                            sampling_period="PT1M",
                        ),
                    ],
                },
                "kind": "PerformanceCounter",
                "sinks": [azure_native.insights.SinkConfigurationArgs(
                    kind="LogAnalytics",
                )],
            },
            {
                "configuration": {
                    "providers": [
                        azure_native.insights.EtwProviderConfigurationArgs(
                            id="1",
                        ),
                        azure_native.insights.EtwProviderConfigurationArgs(
                            id="2",
                        ),
                    ],
                },
                "kind": "ETWProviders",
                "sinks": [azure_native.insights.SinkConfigurationArgs(
                    kind="LogAnalytics",
                )],
            },
            {
                "configuration": {
                    "eventLogs": [
                        azure_native.insights.EventLogConfigurationArgs(
                            filter="SourceName == Xyz AND EventId = \"100\" AND  $Xpath/Column=\"DCName\" = \"CatWoman\"",
                            log_name="Application",
                        ),
                        azure_native.insights.EventLogConfigurationArgs(
                            filter="SourceName == Xyz AND EventId = \"100\" AND  $Xpath/Column=\"DCName\" = \"BatMan\"",
                            log_name="Application",
                        ),
                    ],
                },
                "kind": "WindowsEventLogs",
                "sinks": [azure_native.insights.SinkConfigurationArgs(
                    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[]
        {
            
            {
                { "configuration", 
                {
                    { "eventLogs", new[]
                    {
                        
                        {
                            { "logName", "string" },
                            { "filter", "string" },
                        },
                    } },
                    { "perfCounters", new[]
                    {
                        
                        {
                            { "name", "string" },
                            { "samplingPeriod", "string" },
                            { "instance", "string" },
                        },
                    } },
                    { "providers", new[]
                    {
                        
                        {
                            { "events", new[]
                            {
                                
                                {
                                    { "id", 0 },
                                    { "name", "string" },
                                    { "filter", "string" },
                                },
                            } },
                            { "id", "string" },
                        },
                    } },
                } },
                { "kind", "string" },
                { "sinks", new[]
                {
                    
                    {
                        { "kind", "string" },
                    },
                } },
            },
        },
        DiagnosticSettingsName = "string",
        Location = "string",
        OsType = "string",
        ProxySetting = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := insights.NewGuestDiagnosticsSetting(ctx, "guestDiagnosticsSettingResource", &insights.GuestDiagnosticsSettingArgs{
    	ResourceGroupName: "string",
    	DataSources: []map[string]interface{}{
    		map[string]interface{}{
    			"configuration": map[string]interface{}{
    				"eventLogs": []map[string]interface{}{
    					map[string]interface{}{
    						"logName": "string",
    						"filter":  "string",
    					},
    				},
    				"perfCounters": []map[string]interface{}{
    					map[string]interface{}{
    						"name":           "string",
    						"samplingPeriod": "string",
    						"instance":       "string",
    					},
    				},
    				"providers": []map[string]interface{}{
    					map[string]interface{}{
    						"events": []map[string]interface{}{
    							map[string]interface{}{
    								"id":     0,
    								"name":   "string",
    								"filter": "string",
    							},
    						},
    						"id": "string",
    					},
    				},
    			},
    			"kind": "string",
    			"sinks": []map[string]interface{}{
    				map[string]interface{}{
    					"kind": "string",
    				},
    			},
    		},
    	},
    	DiagnosticSettingsName: "string",
    	Location:               "string",
    	OsType:                 "string",
    	ProxySetting:           "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var guestDiagnosticsSettingResource = new GuestDiagnosticsSetting("guestDiagnosticsSettingResource", GuestDiagnosticsSettingArgs.builder()
        .resourceGroupName("string")
        .dataSources(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .diagnosticSettingsName("string")
        .location("string")
        .osType("string")
        .proxySetting("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .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

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

    The GuestDiagnosticsSetting resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DataSources List<Pulumi.AzureNative.Insights.Inputs.DataSource>
    the array of data source object which are configured to collect and send data
    DiagnosticSettingsName string
    The name of the diagnostic setting.
    Location string
    Resource location
    OsType string
    Operating system type for the configuration
    ProxySetting string
    Tags Dictionary<string, string>
    Resource tags
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DataSources []DataSourceArgs
    the array of data source object which are configured to collect and send data
    DiagnosticSettingsName string
    The name of the diagnostic setting.
    Location string
    Resource location
    OsType string
    Operating system type for the configuration
    ProxySetting string
    Tags map[string]string
    Resource tags
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    dataSources List<DataSource>
    the array of data source object which are configured to collect and send data
    diagnosticSettingsName String
    The name of the diagnostic setting.
    location String
    Resource location
    osType String
    Operating system type for the configuration
    proxySetting String
    tags Map<String,String>
    Resource tags
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    dataSources DataSource[]
    the array of data source object which are configured to collect and send data
    diagnosticSettingsName string
    The name of the diagnostic setting.
    location string
    Resource location
    osType string
    Operating system type for the configuration
    proxySetting string
    tags {[key: string]: string}
    Resource tags
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    data_sources Sequence[DataSourceArgs]
    the array of data source object which are configured to collect and send data
    diagnostic_settings_name str
    The name of the diagnostic setting.
    location str
    Resource location
    os_type str
    Operating system type for the configuration
    proxy_setting str
    tags Mapping[str, str]
    Resource tags
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    dataSources List<Property Map>
    the array of data source object which are configured to collect and send data
    diagnosticSettingsName String
    The name of the diagnostic setting.
    location String
    Resource location
    osType String
    Operating system type for the configuration
    proxySetting String
    tags Map<String>
    Resource tags

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Azure resource name
    Type string
    Azure resource type
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Azure resource name
    Type string
    Azure resource type
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Azure resource name
    type String
    Azure resource type
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Azure resource name
    type string
    Azure resource type
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Azure resource name
    type str
    Azure resource type
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Azure resource name
    type String
    Azure resource type

    Supporting Types

    DataSource, DataSourceArgs

    DataSourceConfiguration, DataSourceConfigurationArgs

    EventLogs []EventLogConfiguration
    Windows event logs configuration.
    PerfCounters []PerformanceCounterConfiguration
    Performance counter configuration
    Providers []EtwProviderConfiguration
    ETW providers configuration
    eventLogs List<EventLogConfiguration>
    Windows event logs configuration.
    perfCounters List<PerformanceCounterConfiguration>
    Performance counter configuration
    providers List<EtwProviderConfiguration>
    ETW providers configuration
    eventLogs EventLogConfiguration[]
    Windows event logs configuration.
    perfCounters PerformanceCounterConfiguration[]
    Performance counter configuration
    providers EtwProviderConfiguration[]
    ETW providers configuration
    event_logs Sequence[EventLogConfiguration]
    Windows event logs configuration.
    perf_counters Sequence[PerformanceCounterConfiguration]
    Performance counter configuration
    providers Sequence[EtwProviderConfiguration]
    ETW providers configuration
    eventLogs List<Property Map>
    Windows event logs configuration.
    perfCounters List<Property Map>
    Performance counter configuration
    providers List<Property Map>
    ETW providers configuration

    DataSourceConfigurationResponse, DataSourceConfigurationResponseArgs

    EventLogs []EventLogConfigurationResponse
    Windows event logs configuration.
    PerfCounters []PerformanceCounterConfigurationResponse
    Performance counter configuration
    Providers []EtwProviderConfigurationResponse
    ETW providers configuration
    eventLogs EventLogConfigurationResponse[]
    Windows event logs configuration.
    perfCounters PerformanceCounterConfigurationResponse[]
    Performance counter configuration
    providers EtwProviderConfigurationResponse[]
    ETW providers configuration
    eventLogs List<Property Map>
    Windows event logs configuration.
    perfCounters List<Property Map>
    Performance counter configuration
    providers List<Property Map>
    ETW providers configuration

    DataSourceResponse, DataSourceResponseArgs

    EtwEventConfiguration, EtwEventConfigurationArgs

    Id int
    Name string
    Filter string
    Id int
    Name string
    Filter string
    id Integer
    name String
    filter String
    id number
    name string
    filter string
    id int
    name str
    filter str
    id Number
    name String
    filter String

    EtwEventConfigurationResponse, EtwEventConfigurationResponseArgs

    Id int
    Name string
    Filter string
    Id int
    Name string
    Filter string
    id Integer
    name String
    filter String
    id number
    name string
    filter string
    id int
    name str
    filter str
    id Number
    name String
    filter String

    EtwProviderConfiguration, EtwProviderConfigurationArgs

    EtwProviderConfigurationResponse, EtwProviderConfigurationResponseArgs

    EventLogConfiguration, EventLogConfigurationArgs

    LogName string
    Filter string
    LogName string
    Filter string
    logName String
    filter String
    logName string
    filter string
    logName String
    filter String

    EventLogConfigurationResponse, EventLogConfigurationResponseArgs

    LogName string
    Filter string
    LogName string
    Filter string
    logName String
    filter String
    logName string
    filter string
    logName String
    filter String

    PerformanceCounterConfiguration, PerformanceCounterConfigurationArgs

    Name string
    SamplingPeriod string
    Instance string
    Name string
    SamplingPeriod string
    Instance string
    name String
    samplingPeriod String
    instance String
    name string
    samplingPeriod string
    instance string
    name String
    samplingPeriod String
    instance String

    PerformanceCounterConfigurationResponse, PerformanceCounterConfigurationResponseArgs

    Name string
    SamplingPeriod string
    Instance string
    Name string
    SamplingPeriod string
    Instance string
    name String
    samplingPeriod String
    instance String
    name string
    samplingPeriod string
    instance string
    name String
    samplingPeriod 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/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi