Server Instance
Define the Server 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 Server Instance resource.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var serverInstance = new AzureNative.Workloads.ServerInstance("serverInstance", new()
{
ResourceGroupName = "test-rg",
SapDiscoverySiteName = "SampleSite",
SapInstanceName = "MPP_MPP",
ServerInstanceName = "APP_SapServer1",
});
});
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.NewServerInstance(ctx, "serverInstance", &workloads.ServerInstanceArgs{
ResourceGroupName: pulumi.String("test-rg"),
SapDiscoverySiteName: pulumi.String("SampleSite"),
SapInstanceName: pulumi.String("MPP_MPP"),
ServerInstanceName: pulumi.String("APP_SapServer1"),
})
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.ServerInstance;
import com.pulumi.azurenative.workloads.ServerInstanceArgs;
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 serverInstance = new ServerInstance("serverInstance", ServerInstanceArgs.builder()
.resourceGroupName("test-rg")
.sapDiscoverySiteName("SampleSite")
.sapInstanceName("MPP_MPP")
.serverInstanceName("APP_SapServer1")
.build());
}
}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:workloads:ServerInstance APP_SapServer1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}/sapInstances/{sapInstanceName}/serverInstances/{serverInstanceName}
Properties
The Azure API version of the resource.
Configuration data for this server instance.
Defines the errors related to SAP Instance resource.
This is the Instance SID for ASCS/AP/DB instance. An SAP system with HANA database for example could have a different SID for database Instance than that of ASCS instance.
This is Operating System on which the host server is running.
Configuration data for this server instance.
Defines the provisioning states.
Defines the type SAP instance on this server instance.
This is the SAP Application Component; e.g. SAP S/4HANA 2022, SAP ERP ENHANCE PACKAGE.
Provide the product version of the SAP product.
This is the Virtual Machine Name of the SAP system. Add all the virtual machines attached to an SAP system which you wish to migrate to Azure. Keeping this not equal to ID as for single tier all InstanceTypes would be on same server, leading to multiple resources with same servername.
Azure Resource Manager metadata containing createdBy and modifiedBy information.