ServerInstance

class ServerInstance : KotlinCustomResource

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

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Configuration data for this server instance.

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 instanceSid: Output<String>

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.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val operatingSystem: Output<String>

This is Operating System on which the host server is running.

Link copied to clipboard

Configuration data for this server instance.

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

Defines the type SAP instance on this server instance.

Link copied to clipboard
val sapProduct: Output<String>

This is the SAP Application Component; e.g. SAP S/4HANA 2022, SAP ERP ENHANCE PACKAGE.

Link copied to clipboard

Provide the product version of the SAP product.

Link copied to clipboard
val serverName: Output<String>

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.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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>