SapMonitor

class SapMonitor : KotlinCustomResource

SAP monitor info on Azure (ARM properties and SAP monitor properties) API Version: 2020-02-07-preview.

Example Usage

Create a SAP Monitor

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sapMonitor = new AzureNative.HanaOnAzure.SapMonitor("sapMonitor", new()
{
EnableCustomerAnalytics = true,
Location = "westus",
LogAnalyticsWorkspaceArmId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace",
LogAnalyticsWorkspaceId = "00000000-0000-0000-0000-000000000000",
LogAnalyticsWorkspaceSharedKey = "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000==",
MonitorSubnet = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
ResourceGroupName = "myResourceGroup",
SapMonitorName = "mySapMonitor",
Tags =
{
{ "key", "value" },
},
});
});
package main
import (
hanaonazure "github.com/pulumi/pulumi-azure-native-sdk/hanaonazure"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hanaonazure.NewSapMonitor(ctx, "sapMonitor", &hanaonazure.SapMonitorArgs{
EnableCustomerAnalytics: pulumi.Bool(true),
Location: pulumi.String("westus"),
LogAnalyticsWorkspaceArmId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace"),
LogAnalyticsWorkspaceId: pulumi.String("00000000-0000-0000-0000-000000000000"),
LogAnalyticsWorkspaceSharedKey: pulumi.String("00000000000000000000000000000000000000000000000000000000000000000000000000000000000000=="),
MonitorSubnet: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"),
ResourceGroupName: pulumi.String("myResourceGroup"),
SapMonitorName: pulumi.String("mySapMonitor"),
Tags: pulumi.StringMap{
"key": pulumi.String("value"),
},
})
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.hanaonazure.SapMonitor;
import com.pulumi.azurenative.hanaonazure.SapMonitorArgs;
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 sapMonitor = new SapMonitor("sapMonitor", SapMonitorArgs.builder()
.enableCustomerAnalytics(true)
.location("westus")
.logAnalyticsWorkspaceArmId("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace")
.logAnalyticsWorkspaceId("00000000-0000-0000-0000-000000000000")
.logAnalyticsWorkspaceSharedKey("00000000000000000000000000000000000000000000000000000000000000000000000000000000000000==")
.monitorSubnet("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")
.resourceGroupName("myResourceGroup")
.sapMonitorName("mySapMonitor")
.tags(Map.of("key", "value"))
.build());
}
}

Import

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

$ pulumi import azure-native:hanaonazure:SapMonitor myHanaInstance /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance

Properties

Link copied to clipboard

The value indicating whether to send analytics to Microsoft

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

The geo-location where the resource lives

Link copied to clipboard

The ARM ID of the Log Analytics Workspace that is used for monitoring

Link copied to clipboard

The workspace ID of the log analytics workspace to be used for monitoring

Link copied to clipboard

The shared key of the log analytics workspace that is used for monitoring

Link copied to clipboard

The name of the resource group the SAP Monitor resources get deployed into.

Link copied to clipboard
val monitorSubnet: Output<String>?

The subnet which the SAP monitor will be deployed in

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

State of provisioning of the HanaInstance

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

The version of the payload running in the Collector VM

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

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>