SystemArgs

data class SystemArgs(val agentResourceName: Output<String>? = null, val configuration: Output<SapSystemsConfigurationArgs>? = null, val displayName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val status: Output<Either<String, SystemStatusType>>? = null, val systemResourceName: Output<String>? = null, val workspaceName: Output<String>? = null) : ConvertibleToJava<SystemArgs>

Describes the system within the agent. Uses Azure REST API version 2025-01-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-04-01-preview. Other available API versions: 2024-04-01-preview, 2024-10-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native securityinsights [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Systems_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var system = new AzureNative.SecurityInsights.System("system", new()
{
AgentResourceName = "3123432b-0b60-4af3-8720-77f01a25d34a",
Configuration = new AzureNative.SecurityInsights.Inputs.SapSystemsConfigurationArgs
{
AzureResourceId = "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace",
Connector = new AzureNative.SecurityInsights.Inputs.RfcConnectorArgs
{
AbapServerHost = "1.1.1.1",
AuthenticationType = AzureNative.SecurityInsights.SapAuthenticationType.UsernamePassword,
Client = "001",
SystemId = "A4H",
SystemNumber = "001",
Type = "Rfc",
},
Logs = new[]
{
new AzureNative.SecurityInsights.Inputs.LogArgs
{
BulkSize = 100,
Filters = new[]
{
"filter1",
"filter2",
},
IngestionType = AzureNative.SecurityInsights.IngestionType.Incremental,
ScheduleInterval = 60,
Status = AzureNative.SecurityInsights.LogStatusType.Enabled,
Type = AzureNative.SecurityInsights.LogType.AbapAuditLog,
},
new AzureNative.SecurityInsights.Inputs.LogArgs
{
BulkSize = 100,
Filters = new[]
{
"filter1",
"filter2",
},
IngestionType = AzureNative.SecurityInsights.IngestionType.Incremental,
ScheduleInterval = 60,
Status = AzureNative.SecurityInsights.LogStatusType.Enabled,
Type = AzureNative.SecurityInsights.LogType.USR01,
},
},
Type = "SAP",
},
DisplayName = "A4H_System",
ResourceGroupName = "myRg",
Status = AzureNative.SecurityInsights.SystemStatusType.Running,
SystemResourceName = "3d69632b-0b60-4af3-8720-77f01a25d34a",
WorkspaceName = "myWorkspace",
});
});
package main
import (
securityinsights "github.com/pulumi/pulumi-azure-native-sdk/securityinsights/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := securityinsights.NewSystem(ctx, "system", &securityinsights.SystemArgs{
AgentResourceName: pulumi.String("3123432b-0b60-4af3-8720-77f01a25d34a"),
Configuration: &securityinsights.SapSystemsConfigurationArgs{
AzureResourceId: pulumi.String("/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace"),
Connector: securityinsights.RfcConnector{
AbapServerHost: "1.1.1.1",
AuthenticationType: securityinsights.SapAuthenticationTypeUsernamePassword,
Client: "001",
SystemId: "A4H",
SystemNumber: "001",
Type: "Rfc",
},
Logs: securityinsights.LogArray{
&securityinsights.LogArgs{
BulkSize: pulumi.Int(100),
Filters: pulumi.StringArray{
pulumi.String("filter1"),
pulumi.String("filter2"),
},
IngestionType: pulumi.String(securityinsights.IngestionTypeIncremental),
ScheduleInterval: pulumi.Int(60),
Status: pulumi.String(securityinsights.LogStatusTypeEnabled),
Type: pulumi.String(securityinsights.LogTypeAbapAuditLog),
},
&securityinsights.LogArgs{
BulkSize: pulumi.Int(100),
Filters: pulumi.StringArray{
pulumi.String("filter1"),
pulumi.String("filter2"),
},
IngestionType: pulumi.String(securityinsights.IngestionTypeIncremental),
ScheduleInterval: pulumi.Int(60),
Status: pulumi.String(securityinsights.LogStatusTypeEnabled),
Type: pulumi.String(securityinsights.LogTypeUSR01),
},
},
Type: pulumi.String("SAP"),
},
DisplayName: pulumi.String("A4H_System"),
ResourceGroupName: pulumi.String("myRg"),
Status: pulumi.String(securityinsights.SystemStatusTypeRunning),
SystemResourceName: pulumi.String("3d69632b-0b60-4af3-8720-77f01a25d34a"),
WorkspaceName: pulumi.String("myWorkspace"),
})
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.securityinsights.System;
import com.pulumi.azurenative.securityinsights.SystemArgs;
import com.pulumi.azurenative.securityinsights.inputs.SapSystemsConfigurationArgs;
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 system = new System("system", SystemArgs.builder()
.agentResourceName("3123432b-0b60-4af3-8720-77f01a25d34a")
.configuration(SapSystemsConfigurationArgs.builder()
.azureResourceId("/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace")
.connector(RfcConnectorArgs.builder()
.abapServerHost("1.1.1.1")
.authenticationType("UsernamePassword")
.client("001")
.systemId("A4H")
.systemNumber("001")
.type("Rfc")
.build())
.logs(
LogArgs.builder()
.bulkSize(100)
.filters(
"filter1",
"filter2")
.ingestionType("Incremental")
.scheduleInterval(60)
.status("Enabled")
.type("AbapAuditLog")
.build(),
LogArgs.builder()
.bulkSize(100)
.filters(
"filter1",
"filter2")
.ingestionType("Incremental")
.scheduleInterval(60)
.status("Enabled")
.type("USR01")
.build())
.type("SAP")
.build())
.displayName("A4H_System")
.resourceGroupName("myRg")
.status("Running")
.systemResourceName("3d69632b-0b60-4af3-8720-77f01a25d34a")
.workspaceName("myWorkspace")
.build());
}
}

Import

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

$ pulumi import azure-native:securityinsights:System 3b6bed7b-3f1c-47fc-ab8e-2c57047ed446 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/businessApplicationAgents/{agentResourceName}/systems/{systemResourceName}

Constructors

Link copied to clipboard
constructor(agentResourceName: Output<String>? = null, configuration: Output<SapSystemsConfigurationArgs>? = null, displayName: Output<String>? = null, resourceGroupName: Output<String>? = null, status: Output<Either<String, SystemStatusType>>? = null, systemResourceName: Output<String>? = null, workspaceName: Output<String>? = null)

Properties

Link copied to clipboard
val agentResourceName: Output<String>? = null

Business Application Agent Name

Link copied to clipboard

The configuration of the system.

Link copied to clipboard
val displayName: Output<String>? = null
Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val status: Output<Either<String, SystemStatusType>>? = null

The status of the system.

Link copied to clipboard
val systemResourceName: Output<String>? = null

The name of the system.

Link copied to clipboard
val workspaceName: Output<String>? = null

The name of the workspace.

Functions

Link copied to clipboard
open override fun toJava(): SystemArgs