Sap Landscape Monitor Args
data class SapLandscapeMonitorArgs(val grouping: Output<SapLandscapeMonitorPropertiesGroupingArgs>? = null, val monitorName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val topMetricsThresholds: Output<List<SapLandscapeMonitorMetricThresholdsArgs>>? = null) : ConvertibleToJava<SapLandscapeMonitorArgs>
configuration associated with SAP Landscape Monitor Dashboard. Uses Azure REST API version 2023-04-01. Other available API versions: 2023-10-01-preview, 2023-12-01-preview, 2024-02-01-preview.
Example Usage
Create for SAP Landscape monitor Dashboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sapLandscapeMonitor = new AzureNative.Workloads.SapLandscapeMonitor("sapLandscapeMonitor", new()
{
Grouping = new AzureNative.Workloads.Inputs.SapLandscapeMonitorPropertiesGroupingArgs
{
Landscape = new[]
{
new AzureNative.Workloads.Inputs.SapLandscapeMonitorSidMappingArgs
{
Name = "Prod",
TopSid = new[]
{
"SID1",
"SID2",
},
},
},
SapApplication = new[]
{
new AzureNative.Workloads.Inputs.SapLandscapeMonitorSidMappingArgs
{
Name = "ERP1",
TopSid = new[]
{
"SID1",
"SID2",
},
},
},
},
MonitorName = "mySapMonitor",
ResourceGroupName = "myResourceGroup",
TopMetricsThresholds = new[]
{
new AzureNative.Workloads.Inputs.SapLandscapeMonitorMetricThresholdsArgs
{
Green = 90,
Name = "Instance Availability",
Red = 50,
Yellow = 75,
},
},
});
});
Content copied to clipboard
package main
import (
workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := workloads.NewSapLandscapeMonitor(ctx, "sapLandscapeMonitor", &workloads.SapLandscapeMonitorArgs{
Grouping: &workloads.SapLandscapeMonitorPropertiesGroupingArgs{
Landscape: workloads.SapLandscapeMonitorSidMappingArray{
&workloads.SapLandscapeMonitorSidMappingArgs{
Name: pulumi.String("Prod"),
TopSid: pulumi.StringArray{
pulumi.String("SID1"),
pulumi.String("SID2"),
},
},
},
SapApplication: workloads.SapLandscapeMonitorSidMappingArray{
&workloads.SapLandscapeMonitorSidMappingArgs{
Name: pulumi.String("ERP1"),
TopSid: pulumi.StringArray{
pulumi.String("SID1"),
pulumi.String("SID2"),
},
},
},
},
MonitorName: pulumi.String("mySapMonitor"),
ResourceGroupName: pulumi.String("myResourceGroup"),
TopMetricsThresholds: workloads.SapLandscapeMonitorMetricThresholdsArray{
&workloads.SapLandscapeMonitorMetricThresholdsArgs{
Green: pulumi.Float64(90),
Name: pulumi.String("Instance Availability"),
Red: pulumi.Float64(50),
Yellow: pulumi.Float64(75),
},
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.workloads.SapLandscapeMonitor;
import com.pulumi.azurenative.workloads.SapLandscapeMonitorArgs;
import com.pulumi.azurenative.workloads.inputs.SapLandscapeMonitorPropertiesGroupingArgs;
import com.pulumi.azurenative.workloads.inputs.SapLandscapeMonitorMetricThresholdsArgs;
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 sapLandscapeMonitor = new SapLandscapeMonitor("sapLandscapeMonitor", SapLandscapeMonitorArgs.builder()
.grouping(SapLandscapeMonitorPropertiesGroupingArgs.builder()
.landscape(SapLandscapeMonitorSidMappingArgs.builder()
.name("Prod")
.topSid(
"SID1",
"SID2")
.build())
.sapApplication(SapLandscapeMonitorSidMappingArgs.builder()
.name("ERP1")
.topSid(
"SID1",
"SID2")
.build())
.build())
.monitorName("mySapMonitor")
.resourceGroupName("myResourceGroup")
.topMetricsThresholds(SapLandscapeMonitorMetricThresholdsArgs.builder()
.green(90)
.name("Instance Availability")
.red(50)
.yellow(75)
.build())
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:workloads:SapLandscapeMonitor default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}/sapLandscapeMonitor/default
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(grouping: Output<SapLandscapeMonitorPropertiesGroupingArgs>? = null, monitorName: Output<String>? = null, resourceGroupName: Output<String>? = null, topMetricsThresholds: Output<List<SapLandscapeMonitorMetricThresholdsArgs>>? = null)
Properties
Link copied to clipboard
Gets or sets the SID groupings by landscape and Environment.
Link copied to clipboard
Name of the SAP monitor resource.
Link copied to clipboard
The name of the resource group. The name is case insensitive.
Link copied to clipboard
Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard