Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

SapMonitor

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 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/go/azure/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 pulumi
import pulumi_azure_native as azure_native

sap_monitor = azure_native.hanaonazure.SapMonitor("sapMonitor",
    enable_customer_analytics=True,
    location="westus",
    log_analytics_workspace_arm_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace",
    log_analytics_workspace_id="00000000-0000-0000-0000-000000000000",
    log_analytics_workspace_shared_key="00000000000000000000000000000000000000000000000000000000000000000000000000000000000000==",
    monitor_subnet="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
    resource_group_name="myResourceGroup",
    sap_monitor_name="mySapMonitor",
    tags={
        "key": "value",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const sapMonitor = new azure_native.hanaonazure.SapMonitor("sapMonitor", {
    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",
    },
});
resources:
  sapMonitor:
    type: azure-native:hanaonazure:SapMonitor
    properties:
      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

Create SapMonitor Resource

new SapMonitor(name: string, args: SapMonitorArgs, opts?: CustomResourceOptions);
@overload
def SapMonitor(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               enable_customer_analytics: Optional[bool] = None,
               location: Optional[str] = None,
               log_analytics_workspace_arm_id: Optional[str] = None,
               log_analytics_workspace_id: Optional[str] = None,
               log_analytics_workspace_shared_key: Optional[str] = None,
               monitor_subnet: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               sap_monitor_name: Optional[str] = None,
               tags: Optional[Mapping[str, str]] = None)
@overload
def SapMonitor(resource_name: str,
               args: SapMonitorArgs,
               opts: Optional[ResourceOptions] = None)
func NewSapMonitor(ctx *Context, name string, args SapMonitorArgs, opts ...ResourceOption) (*SapMonitor, error)
public SapMonitor(string name, SapMonitorArgs args, CustomResourceOptions? opts = null)
public SapMonitor(String name, SapMonitorArgs args)
public SapMonitor(String name, SapMonitorArgs args, CustomResourceOptions options)
type: azure-native:hanaonazure:SapMonitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SapMonitorArgs
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 SapMonitorArgs
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 SapMonitorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SapMonitorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SapMonitorArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

SapMonitor 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 SapMonitor resource accepts the following input properties:

ResourceGroupName string

Name of the resource group.

EnableCustomerAnalytics bool

The value indicating whether to send analytics to Microsoft

Location string

The geo-location where the resource lives

LogAnalyticsWorkspaceArmId string

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

LogAnalyticsWorkspaceId string

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

LogAnalyticsWorkspaceSharedKey string

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

MonitorSubnet string

The subnet which the SAP monitor will be deployed in

SapMonitorName string

Name of the SAP monitor resource.

Tags Dictionary<string, string>

Resource tags.

ResourceGroupName string

Name of the resource group.

EnableCustomerAnalytics bool

The value indicating whether to send analytics to Microsoft

Location string

The geo-location where the resource lives

LogAnalyticsWorkspaceArmId string

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

LogAnalyticsWorkspaceId string

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

LogAnalyticsWorkspaceSharedKey string

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

MonitorSubnet string

The subnet which the SAP monitor will be deployed in

SapMonitorName string

Name of the SAP monitor resource.

Tags map[string]string

Resource tags.

resourceGroupName String

Name of the resource group.

enableCustomerAnalytics Boolean

The value indicating whether to send analytics to Microsoft

location String

The geo-location where the resource lives

logAnalyticsWorkspaceArmId String

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

logAnalyticsWorkspaceId String

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

logAnalyticsWorkspaceSharedKey String

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

monitorSubnet String

The subnet which the SAP monitor will be deployed in

sapMonitorName String

Name of the SAP monitor resource.

tags Map<String,String>

Resource tags.

resourceGroupName string

Name of the resource group.

enableCustomerAnalytics boolean

The value indicating whether to send analytics to Microsoft

location string

The geo-location where the resource lives

logAnalyticsWorkspaceArmId string

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

logAnalyticsWorkspaceId string

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

logAnalyticsWorkspaceSharedKey string

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

monitorSubnet string

The subnet which the SAP monitor will be deployed in

sapMonitorName string

Name of the SAP monitor resource.

tags {[key: string]: string}

Resource tags.

resource_group_name str

Name of the resource group.

enable_customer_analytics bool

The value indicating whether to send analytics to Microsoft

location str

The geo-location where the resource lives

log_analytics_workspace_arm_id str

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

log_analytics_workspace_id str

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

log_analytics_workspace_shared_key str

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

monitor_subnet str

The subnet which the SAP monitor will be deployed in

sap_monitor_name str

Name of the SAP monitor resource.

tags Mapping[str, str]

Resource tags.

resourceGroupName String

Name of the resource group.

enableCustomerAnalytics Boolean

The value indicating whether to send analytics to Microsoft

location String

The geo-location where the resource lives

logAnalyticsWorkspaceArmId String

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

logAnalyticsWorkspaceId String

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

logAnalyticsWorkspaceSharedKey String

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

monitorSubnet String

The subnet which the SAP monitor will be deployed in

sapMonitorName String

Name of the SAP monitor resource.

tags Map<String>

Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the SapMonitor resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

ManagedResourceGroupName string

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

Name string

The name of the resource

ProvisioningState string

State of provisioning of the HanaInstance

SapMonitorCollectorVersion string

The version of the payload running in the Collector VM

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.

ManagedResourceGroupName string

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

Name string

The name of the resource

ProvisioningState string

State of provisioning of the HanaInstance

SapMonitorCollectorVersion string

The version of the payload running in the Collector VM

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.

managedResourceGroupName String

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

name String

The name of the resource

provisioningState String

State of provisioning of the HanaInstance

sapMonitorCollectorVersion String

The version of the payload running in the Collector VM

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.

managedResourceGroupName string

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

name string

The name of the resource

provisioningState string

State of provisioning of the HanaInstance

sapMonitorCollectorVersion string

The version of the payload running in the Collector VM

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.

managed_resource_group_name str

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

name str

The name of the resource

provisioning_state str

State of provisioning of the HanaInstance

sap_monitor_collector_version str

The version of the payload running in the Collector VM

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.

managedResourceGroupName String

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

name String

The name of the resource

provisioningState String

State of provisioning of the HanaInstance

sapMonitorCollectorVersion String

The version of the payload running in the Collector VM

type String

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

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 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0