SapInstance

class SapInstance : KotlinCustomResource

Define the SAP Instance resource. Uses Azure REST API version 2023-10-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-10-01-preview.

Example Usage

Creates the SAP Instance resource.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sapInstance = new AzureNative.Workloads.SapInstance("sapInstance", new()
{
Location = "eastus",
ResourceGroupName = "test-rg",
SapDiscoverySiteName = "SampleSite",
SapInstanceName = "MPP_MPP",
Tags =
{
{ "property1", "value1" },
{ "property2", "value2" },
},
});
});
package main
import (
workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := workloads.NewSapInstance(ctx, "sapInstance", &workloads.SapInstanceArgs{
Location: pulumi.String("eastus"),
ResourceGroupName: pulumi.String("test-rg"),
SapDiscoverySiteName: pulumi.String("SampleSite"),
SapInstanceName: pulumi.String("MPP_MPP"),
Tags: pulumi.StringMap{
"property1": pulumi.String("value1"),
"property2": pulumi.String("value2"),
},
})
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.SapInstance;
import com.pulumi.azurenative.workloads.SapInstanceArgs;
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 sapInstance = new SapInstance("sapInstance", SapInstanceArgs.builder()
.location("eastus")
.resourceGroupName("test-rg")
.sapDiscoverySiteName("SampleSite")
.sapInstanceName("MPP_MPP")
.tags(Map.ofEntries(
Map.entry("property1", "value1"),
Map.entry("property2", "value2")
))
.build());
}
}

Import

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

$ pulumi import azure-native:workloads:SapInstance MPP_MPP /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}/sapInstances/{sapInstanceName}

Properties

Link copied to clipboard
val application: Output<String>

Enter a business function/department identifier to group multiple SIDs.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val environment: Output<String>

The Environment; PRD, QA, DEV, etc to which SAP system belongs to. Select from the list of available dropdown values.

Link copied to clipboard

Defines the errors related to SAP Instance resource.

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

This is the SID of the production system in a landscape. An SAP system could itself be a production SID or a part of a landscape with a different Production SID. This field can be used to relate non-prod SIDs, other components, SID (WEBDISP) to the prod SID. Enter the value of Production SID.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Defines the provisioning states.

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
val systemSid: Output<String>

This is the SID of SAP System. Keeping this not equal to ID as different landscapes can have repeated System SID IDs.

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>