SapLandscapeMonitor

class SapLandscapeMonitor : KotlinCustomResource

configuration associated with SAP Landscape Monitor Dashboard. Uses Azure REST API version 2024-02-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-04-01. Other available API versions: 2023-04-01, 2023-10-01-preview, 2023-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native workloads [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Create SAP landscape monitor

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,
},
},
});
});
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
})
}
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());
}
}

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

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Gets or sets the SID groupings by landscape and Environment.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

State of provisioning of the SAP monitor.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard

Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>