1. Packages
  2. Azure Native v1
  3. API Docs
  4. security
  5. IngestionSetting
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.security.IngestionSetting

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

    Configures how to correlate scan data and logs with resources associated with the subscription. API Version: 2021-01-15-preview.

    Example Usage

    Create an ingestion setting for subscription

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var ingestionSetting = new AzureNative.Security.IngestionSetting("ingestionSetting", new()
        {
            IngestionSettingName = "default",
        });
    
    });
    
    package main
    
    import (
    	security "github.com/pulumi/pulumi-azure-native-sdk/security"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := security.NewIngestionSetting(ctx, "ingestionSetting", &security.IngestionSettingArgs{
    			IngestionSettingName: pulumi.String("default"),
    		})
    		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.security.IngestionSetting;
    import com.pulumi.azurenative.security.IngestionSettingArgs;
    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 ingestionSetting = new IngestionSetting("ingestionSetting", IngestionSettingArgs.builder()        
                .ingestionSettingName("default")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    ingestion_setting = azure_native.security.IngestionSetting("ingestionSetting", ingestion_setting_name="default")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const ingestionSetting = new azure_native.security.IngestionSetting("ingestionSetting", {ingestionSettingName: "default"});
    
    resources:
      ingestionSetting:
        type: azure-native:security:IngestionSetting
        properties:
          ingestionSettingName: default
    

    Create IngestionSetting Resource

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

    Constructor syntax

    new IngestionSetting(name: string, args?: IngestionSettingArgs, opts?: CustomResourceOptions);
    @overload
    def IngestionSetting(resource_name: str,
                         args: Optional[IngestionSettingArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def IngestionSetting(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         ingestion_setting_name: Optional[str] = None)
    func NewIngestionSetting(ctx *Context, name string, args *IngestionSettingArgs, opts ...ResourceOption) (*IngestionSetting, error)
    public IngestionSetting(string name, IngestionSettingArgs? args = null, CustomResourceOptions? opts = null)
    public IngestionSetting(String name, IngestionSettingArgs args)
    public IngestionSetting(String name, IngestionSettingArgs args, CustomResourceOptions options)
    
    type: azure-native:security:IngestionSetting
    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 IngestionSettingArgs
    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 IngestionSettingArgs
    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 IngestionSettingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IngestionSettingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IngestionSettingArgs
    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 ingestionSettingResource = new AzureNative.Security.IngestionSetting("ingestionSettingResource", new()
    {
        IngestionSettingName = "string",
    });
    
    example, err := security.NewIngestionSetting(ctx, "ingestionSettingResource", &security.IngestionSettingArgs{
    	IngestionSettingName: "string",
    })
    
    var ingestionSettingResource = new IngestionSetting("ingestionSettingResource", IngestionSettingArgs.builder()
        .ingestionSettingName("string")
        .build());
    
    ingestion_setting_resource = azure_native.security.IngestionSetting("ingestionSettingResource", ingestion_setting_name=string)
    
    const ingestionSettingResource = new azure_native.security.IngestionSetting("ingestionSettingResource", {ingestionSettingName: "string"});
    
    type: azure-native:security:IngestionSetting
    properties:
        ingestionSettingName: string
    

    IngestionSetting 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 IngestionSetting resource accepts the following input properties:

    IngestionSettingName string
    Name of the ingestion setting
    IngestionSettingName string
    Name of the ingestion setting
    ingestionSettingName String
    Name of the ingestion setting
    ingestionSettingName string
    Name of the ingestion setting
    ingestion_setting_name str
    Name of the ingestion setting
    ingestionSettingName String
    Name of the ingestion setting

    Outputs

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

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

    Import

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

    $ pulumi import azure-native:security:IngestionSetting default /subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/ingestionSettings/default 
    

    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