azure-native.workloads.SapLandscapeMonitor
Explore with Pulumi AI
configuration associated with SAP Landscape Monitor Dashboard. Azure REST API version: 2023-04-01.
Other available API versions: 2023-10-01-preview, 2023-12-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,
},
},
});
});
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 pulumi
import pulumi_azure_native as azure_native
sap_landscape_monitor = azure_native.workloads.SapLandscapeMonitor("sapLandscapeMonitor",
grouping=azure_native.workloads.SapLandscapeMonitorPropertiesGroupingArgs(
landscape=[azure_native.workloads.SapLandscapeMonitorSidMappingArgs(
name="Prod",
top_sid=[
"SID1",
"SID2",
],
)],
sap_application=[azure_native.workloads.SapLandscapeMonitorSidMappingArgs(
name="ERP1",
top_sid=[
"SID1",
"SID2",
],
)],
),
monitor_name="mySapMonitor",
resource_group_name="myResourceGroup",
top_metrics_thresholds=[azure_native.workloads.SapLandscapeMonitorMetricThresholdsArgs(
green=90,
name="Instance Availability",
red=50,
yellow=75,
)])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const sapLandscapeMonitor = new azure_native.workloads.SapLandscapeMonitor("sapLandscapeMonitor", {
grouping: {
landscape: [{
name: "Prod",
topSid: [
"SID1",
"SID2",
],
}],
sapApplication: [{
name: "ERP1",
topSid: [
"SID1",
"SID2",
],
}],
},
monitorName: "mySapMonitor",
resourceGroupName: "myResourceGroup",
topMetricsThresholds: [{
green: 90,
name: "Instance Availability",
red: 50,
yellow: 75,
}],
});
resources:
sapLandscapeMonitor:
type: azure-native:workloads:SapLandscapeMonitor
properties:
grouping:
landscape:
- name: Prod
topSid:
- SID1
- SID2
sapApplication:
- name: ERP1
topSid:
- SID1
- SID2
monitorName: mySapMonitor
resourceGroupName: myResourceGroup
topMetricsThresholds:
- green: 90
name: Instance Availability
red: 50
yellow: 75
Create SapLandscapeMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SapLandscapeMonitor(name: string, args: SapLandscapeMonitorArgs, opts?: CustomResourceOptions);
@overload
def SapLandscapeMonitor(resource_name: str,
args: SapLandscapeMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SapLandscapeMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
monitor_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
grouping: Optional[SapLandscapeMonitorPropertiesGroupingArgs] = None,
top_metrics_thresholds: Optional[Sequence[SapLandscapeMonitorMetricThresholdsArgs]] = None)
func NewSapLandscapeMonitor(ctx *Context, name string, args SapLandscapeMonitorArgs, opts ...ResourceOption) (*SapLandscapeMonitor, error)
public SapLandscapeMonitor(string name, SapLandscapeMonitorArgs args, CustomResourceOptions? opts = null)
public SapLandscapeMonitor(String name, SapLandscapeMonitorArgs args)
public SapLandscapeMonitor(String name, SapLandscapeMonitorArgs args, CustomResourceOptions options)
type: azure-native:workloads:SapLandscapeMonitor
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 SapLandscapeMonitorArgs
- 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 SapLandscapeMonitorArgs
- 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 SapLandscapeMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SapLandscapeMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SapLandscapeMonitorArgs
- 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 sapLandscapeMonitorResource = new AzureNative.Workloads.SapLandscapeMonitor("sapLandscapeMonitorResource", new()
{
MonitorName = "string",
ResourceGroupName = "string",
Grouping = new AzureNative.Workloads.Inputs.SapLandscapeMonitorPropertiesGroupingArgs
{
Landscape = new[]
{
new AzureNative.Workloads.Inputs.SapLandscapeMonitorSidMappingArgs
{
Name = "string",
TopSid = new[]
{
"string",
},
},
},
SapApplication = new[]
{
new AzureNative.Workloads.Inputs.SapLandscapeMonitorSidMappingArgs
{
Name = "string",
TopSid = new[]
{
"string",
},
},
},
},
TopMetricsThresholds = new[]
{
new AzureNative.Workloads.Inputs.SapLandscapeMonitorMetricThresholdsArgs
{
Green = 0,
Name = "string",
Red = 0,
Yellow = 0,
},
},
});
example, err := workloads.NewSapLandscapeMonitor(ctx, "sapLandscapeMonitorResource", &workloads.SapLandscapeMonitorArgs{
MonitorName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Grouping: &workloads.SapLandscapeMonitorPropertiesGroupingArgs{
Landscape: workloads.SapLandscapeMonitorSidMappingArray{
&workloads.SapLandscapeMonitorSidMappingArgs{
Name: pulumi.String("string"),
TopSid: pulumi.StringArray{
pulumi.String("string"),
},
},
},
SapApplication: workloads.SapLandscapeMonitorSidMappingArray{
&workloads.SapLandscapeMonitorSidMappingArgs{
Name: pulumi.String("string"),
TopSid: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
TopMetricsThresholds: workloads.SapLandscapeMonitorMetricThresholdsArray{
&workloads.SapLandscapeMonitorMetricThresholdsArgs{
Green: pulumi.Float64(0),
Name: pulumi.String("string"),
Red: pulumi.Float64(0),
Yellow: pulumi.Float64(0),
},
},
})
var sapLandscapeMonitorResource = new SapLandscapeMonitor("sapLandscapeMonitorResource", SapLandscapeMonitorArgs.builder()
.monitorName("string")
.resourceGroupName("string")
.grouping(SapLandscapeMonitorPropertiesGroupingArgs.builder()
.landscape(SapLandscapeMonitorSidMappingArgs.builder()
.name("string")
.topSid("string")
.build())
.sapApplication(SapLandscapeMonitorSidMappingArgs.builder()
.name("string")
.topSid("string")
.build())
.build())
.topMetricsThresholds(SapLandscapeMonitorMetricThresholdsArgs.builder()
.green(0)
.name("string")
.red(0)
.yellow(0)
.build())
.build());
sap_landscape_monitor_resource = azure_native.workloads.SapLandscapeMonitor("sapLandscapeMonitorResource",
monitor_name="string",
resource_group_name="string",
grouping=azure_native.workloads.SapLandscapeMonitorPropertiesGroupingArgs(
landscape=[azure_native.workloads.SapLandscapeMonitorSidMappingArgs(
name="string",
top_sid=["string"],
)],
sap_application=[azure_native.workloads.SapLandscapeMonitorSidMappingArgs(
name="string",
top_sid=["string"],
)],
),
top_metrics_thresholds=[azure_native.workloads.SapLandscapeMonitorMetricThresholdsArgs(
green=0,
name="string",
red=0,
yellow=0,
)])
const sapLandscapeMonitorResource = new azure_native.workloads.SapLandscapeMonitor("sapLandscapeMonitorResource", {
monitorName: "string",
resourceGroupName: "string",
grouping: {
landscape: [{
name: "string",
topSid: ["string"],
}],
sapApplication: [{
name: "string",
topSid: ["string"],
}],
},
topMetricsThresholds: [{
green: 0,
name: "string",
red: 0,
yellow: 0,
}],
});
type: azure-native:workloads:SapLandscapeMonitor
properties:
grouping:
landscape:
- name: string
topSid:
- string
sapApplication:
- name: string
topSid:
- string
monitorName: string
resourceGroupName: string
topMetricsThresholds:
- green: 0
name: string
red: 0
yellow: 0
SapLandscapeMonitor 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 SapLandscapeMonitor resource accepts the following input properties:
- Monitor
Name string - Name of the SAP monitor resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Grouping
Pulumi.
Azure Native. Workloads. Inputs. Sap Landscape Monitor Properties Grouping - Gets or sets the SID groupings by landscape and Environment.
- Top
Metrics List<Pulumi.Thresholds Azure Native. Workloads. Inputs. Sap Landscape Monitor Metric Thresholds> - Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
- Monitor
Name string - Name of the SAP monitor resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Grouping
Sap
Landscape Monitor Properties Grouping Args - Gets or sets the SID groupings by landscape and Environment.
- Top
Metrics []SapThresholds Landscape Monitor Metric Thresholds Args - Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
- monitor
Name String - Name of the SAP monitor resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- grouping
Sap
Landscape Monitor Properties Grouping - Gets or sets the SID groupings by landscape and Environment.
- top
Metrics List<SapThresholds Landscape Monitor Metric Thresholds> - Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
- monitor
Name string - Name of the SAP monitor resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- grouping
Sap
Landscape Monitor Properties Grouping - Gets or sets the SID groupings by landscape and Environment.
- top
Metrics SapThresholds Landscape Monitor Metric Thresholds[] - Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
- monitor_
name str - Name of the SAP monitor resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- grouping
Sap
Landscape Monitor Properties Grouping Args - Gets or sets the SID groupings by landscape and Environment.
- top_
metrics_ Sequence[Sapthresholds Landscape Monitor Metric Thresholds Args] - Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
- monitor
Name String - Name of the SAP monitor resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- grouping Property Map
- Gets or sets the SID groupings by landscape and Environment.
- top
Metrics List<Property Map>Thresholds - Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
Outputs
All input properties are implicitly available as output properties. Additionally, the SapLandscapeMonitor resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - State of provisioning of the SAP monitor.
- System
Data Pulumi.Azure Native. Workloads. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - State of provisioning of the SAP monitor.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - State of provisioning of the SAP monitor.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - State of provisioning of the SAP monitor.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - State of provisioning of the SAP monitor.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - State of provisioning of the SAP monitor.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
SapLandscapeMonitorMetricThresholds, SapLandscapeMonitorMetricThresholdsArgs
SapLandscapeMonitorMetricThresholdsResponse, SapLandscapeMonitorMetricThresholdsResponseArgs
SapLandscapeMonitorPropertiesGrouping, SapLandscapeMonitorPropertiesGroupingArgs
- Landscape
List<Pulumi.
Azure Native. Workloads. Inputs. Sap Landscape Monitor Sid Mapping> - Gets or sets the list of landscape to SID mappings.
- Sap
Application List<Pulumi.Azure Native. Workloads. Inputs. Sap Landscape Monitor Sid Mapping> - Gets or sets the list of Sap Applications to SID mappings.
- Landscape
[]Sap
Landscape Monitor Sid Mapping - Gets or sets the list of landscape to SID mappings.
- Sap
Application []SapLandscape Monitor Sid Mapping - Gets or sets the list of Sap Applications to SID mappings.
- landscape
List<Sap
Landscape Monitor Sid Mapping> - Gets or sets the list of landscape to SID mappings.
- sap
Application List<SapLandscape Monitor Sid Mapping> - Gets or sets the list of Sap Applications to SID mappings.
- landscape
Sap
Landscape Monitor Sid Mapping[] - Gets or sets the list of landscape to SID mappings.
- sap
Application SapLandscape Monitor Sid Mapping[] - Gets or sets the list of Sap Applications to SID mappings.
- landscape
Sequence[Sap
Landscape Monitor Sid Mapping] - Gets or sets the list of landscape to SID mappings.
- sap_
application Sequence[SapLandscape Monitor Sid Mapping] - Gets or sets the list of Sap Applications to SID mappings.
- landscape List<Property Map>
- Gets or sets the list of landscape to SID mappings.
- sap
Application List<Property Map> - Gets or sets the list of Sap Applications to SID mappings.
SapLandscapeMonitorPropertiesResponseGrouping, SapLandscapeMonitorPropertiesResponseGroupingArgs
- Landscape
List<Pulumi.
Azure Native. Workloads. Inputs. Sap Landscape Monitor Sid Mapping Response> - Gets or sets the list of landscape to SID mappings.
- Sap
Application List<Pulumi.Azure Native. Workloads. Inputs. Sap Landscape Monitor Sid Mapping Response> - Gets or sets the list of Sap Applications to SID mappings.
- Landscape
[]Sap
Landscape Monitor Sid Mapping Response - Gets or sets the list of landscape to SID mappings.
- Sap
Application []SapLandscape Monitor Sid Mapping Response - Gets or sets the list of Sap Applications to SID mappings.
- landscape
List<Sap
Landscape Monitor Sid Mapping Response> - Gets or sets the list of landscape to SID mappings.
- sap
Application List<SapLandscape Monitor Sid Mapping Response> - Gets or sets the list of Sap Applications to SID mappings.
- landscape
Sap
Landscape Monitor Sid Mapping Response[] - Gets or sets the list of landscape to SID mappings.
- sap
Application SapLandscape Monitor Sid Mapping Response[] - Gets or sets the list of Sap Applications to SID mappings.
- landscape
Sequence[Sap
Landscape Monitor Sid Mapping Response] - Gets or sets the list of landscape to SID mappings.
- sap_
application Sequence[SapLandscape Monitor Sid Mapping Response] - Gets or sets the list of Sap Applications to SID mappings.
- landscape List<Property Map>
- Gets or sets the list of landscape to SID mappings.
- sap
Application List<Property Map> - Gets or sets the list of Sap Applications to SID mappings.
SapLandscapeMonitorSidMapping, SapLandscapeMonitorSidMappingArgs
SapLandscapeMonitorSidMappingResponse, SapLandscapeMonitorSidMappingResponseArgs
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0