Azure Native v1.102.0, May 2 23
Azure Native v1.102.0, May 2 23
azure-native.security.IngestionSetting
Explore with Pulumi AI
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 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/go/azure/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
new IngestionSetting(name: string, args?: IngestionSettingArgs, opts?: CustomResourceOptions);
@overload
def IngestionSetting(resource_name: str,
opts: Optional[ResourceOptions] = None,
ingestion_setting_name: Optional[str] = None)
@overload
def IngestionSetting(resource_name: str,
args: Optional[IngestionSettingArgs] = None,
opts: Optional[ResourceOptions] = 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.
- 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.
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:
- Ingestion
Setting stringName Name of the ingestion setting
- Ingestion
Setting stringName Name of the ingestion setting
- ingestion
Setting StringName Name of the ingestion setting
- ingestion
Setting stringName Name of the ingestion setting
- ingestion_
setting_ strname Name of the ingestion setting
- ingestion
Setting StringName Name of the ingestion setting
Outputs
All input properties are implicitly available as output properties. Additionally, the IngestionSetting resource produces the following output properties:
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
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0