1. Packages
  2. Azure Native
  3. API Docs
  4. workloads
  5. SapInstance
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.workloads.SapInstance

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

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" },
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const sapInstance = new azure_native.workloads.SapInstance("sapInstance", {
    location: "eastus",
    resourceGroupName: "test-rg",
    sapDiscoverySiteName: "SampleSite",
    sapInstanceName: "MPP_MPP",
    tags: {
        property1: "value1",
        property2: "value2",
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

sap_instance = azure_native.workloads.SapInstance("sapInstance",
    location="eastus",
    resource_group_name="test-rg",
    sap_discovery_site_name="SampleSite",
    sap_instance_name="MPP_MPP",
    tags={
        "property1": "value1",
        "property2": "value2",
    })
Copy
resources:
  sapInstance:
    type: azure-native:workloads:SapInstance
    properties:
      location: eastus
      resourceGroupName: test-rg
      sapDiscoverySiteName: SampleSite
      sapInstanceName: MPP_MPP
      tags:
        property1: value1
        property2: value2
Copy

Create SapInstance Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SapInstance(name: string, args: SapInstanceArgs, opts?: CustomResourceOptions);
@overload
def SapInstance(resource_name: str,
                args: SapInstanceArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def SapInstance(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_group_name: Optional[str] = None,
                sap_discovery_site_name: Optional[str] = None,
                location: Optional[str] = None,
                sap_instance_name: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None)
func NewSapInstance(ctx *Context, name string, args SapInstanceArgs, opts ...ResourceOption) (*SapInstance, error)
public SapInstance(string name, SapInstanceArgs args, CustomResourceOptions? opts = null)
public SapInstance(String name, SapInstanceArgs args)
public SapInstance(String name, SapInstanceArgs args, CustomResourceOptions options)
type: azure-native:workloads:SapInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SapInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SapInstanceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SapInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SapInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SapInstanceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var sapInstanceResource = new AzureNative.Workloads.SapInstance("sapInstanceResource", new()
{
    ResourceGroupName = "string",
    SapDiscoverySiteName = "string",
    Location = "string",
    SapInstanceName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := workloads.NewSapInstance(ctx, "sapInstanceResource", &workloads.SapInstanceArgs{
	ResourceGroupName:    pulumi.String("string"),
	SapDiscoverySiteName: pulumi.String("string"),
	Location:             pulumi.String("string"),
	SapInstanceName:      pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var sapInstanceResource = new SapInstance("sapInstanceResource", SapInstanceArgs.builder()
    .resourceGroupName("string")
    .sapDiscoverySiteName("string")
    .location("string")
    .sapInstanceName("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
sap_instance_resource = azure_native.workloads.SapInstance("sapInstanceResource",
    resource_group_name="string",
    sap_discovery_site_name="string",
    location="string",
    sap_instance_name="string",
    tags={
        "string": "string",
    })
Copy
const sapInstanceResource = new azure_native.workloads.SapInstance("sapInstanceResource", {
    resourceGroupName: "string",
    sapDiscoverySiteName: "string",
    location: "string",
    sapInstanceName: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:workloads:SapInstance
properties:
    location: string
    resourceGroupName: string
    sapDiscoverySiteName: string
    sapInstanceName: string
    tags:
        string: string
Copy

SapInstance Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SapInstance resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SapDiscoverySiteName
This property is required.
Changes to this property will trigger replacement.
string
The name of the discovery site resource for SAP Migration.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
SapInstanceName Changes to this property will trigger replacement. string
The name of SAP Instance resource for SAP Migration.
Tags Dictionary<string, string>
Resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SapDiscoverySiteName
This property is required.
Changes to this property will trigger replacement.
string
The name of the discovery site resource for SAP Migration.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
SapInstanceName Changes to this property will trigger replacement. string
The name of SAP Instance resource for SAP Migration.
Tags map[string]string
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
sapDiscoverySiteName
This property is required.
Changes to this property will trigger replacement.
String
The name of the discovery site resource for SAP Migration.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
sapInstanceName Changes to this property will trigger replacement. String
The name of SAP Instance resource for SAP Migration.
tags Map<String,String>
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
sapDiscoverySiteName
This property is required.
Changes to this property will trigger replacement.
string
The name of the discovery site resource for SAP Migration.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
sapInstanceName Changes to this property will trigger replacement. string
The name of SAP Instance resource for SAP Migration.
tags {[key: string]: string}
Resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
sap_discovery_site_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the discovery site resource for SAP Migration.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
sap_instance_name Changes to this property will trigger replacement. str
The name of SAP Instance resource for SAP Migration.
tags Mapping[str, str]
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
sapDiscoverySiteName
This property is required.
Changes to this property will trigger replacement.
String
The name of the discovery site resource for SAP Migration.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
sapInstanceName Changes to this property will trigger replacement. String
The name of SAP Instance resource for SAP Migration.
tags Map<String>
Resource tags.

Outputs

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

Application string
Enter a business function/department identifier to group multiple SIDs.
AzureApiVersion string
The Azure API version of the resource.
Environment string
The Environment; PRD, QA, DEV, etc to which SAP system belongs to. Select from the list of available dropdown values.
Errors Pulumi.AzureNative.Workloads.Outputs.SAPMigrateErrorResponse
Defines the errors related to SAP Instance resource.
Id string
The provider-assigned unique ID for this managed resource.
LandscapeSid 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.
Name string
The name of the resource
ProvisioningState string
Defines the provisioning states.
SystemData Pulumi.AzureNative.Workloads.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemSid string
This is the SID of SAP System. Keeping this not equal to ID as different landscapes can have repeated System SID IDs.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Application string
Enter a business function/department identifier to group multiple SIDs.
AzureApiVersion string
The Azure API version of the resource.
Environment string
The Environment; PRD, QA, DEV, etc to which SAP system belongs to. Select from the list of available dropdown values.
Errors SAPMigrateErrorResponse
Defines the errors related to SAP Instance resource.
Id string
The provider-assigned unique ID for this managed resource.
LandscapeSid 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.
Name string
The name of the resource
ProvisioningState string
Defines the provisioning states.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemSid string
This is the SID of SAP System. Keeping this not equal to ID as different landscapes can have repeated System SID IDs.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
application String
Enter a business function/department identifier to group multiple SIDs.
azureApiVersion String
The Azure API version of the resource.
environment String
The Environment; PRD, QA, DEV, etc to which SAP system belongs to. Select from the list of available dropdown values.
errors SAPMigrateErrorResponse
Defines the errors related to SAP Instance resource.
id String
The provider-assigned unique ID for this managed resource.
landscapeSid 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.
name String
The name of the resource
provisioningState String
Defines the provisioning states.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
systemSid String
This is the SID of SAP System. Keeping this not equal to ID as different landscapes can have repeated System SID IDs.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
application string
Enter a business function/department identifier to group multiple SIDs.
azureApiVersion string
The Azure API version of the resource.
environment string
The Environment; PRD, QA, DEV, etc to which SAP system belongs to. Select from the list of available dropdown values.
errors SAPMigrateErrorResponse
Defines the errors related to SAP Instance resource.
id string
The provider-assigned unique ID for this managed resource.
landscapeSid 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.
name string
The name of the resource
provisioningState string
Defines the provisioning states.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
systemSid string
This is the SID of SAP System. Keeping this not equal to ID as different landscapes can have repeated System SID IDs.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
application str
Enter a business function/department identifier to group multiple SIDs.
azure_api_version str
The Azure API version of the resource.
environment str
The Environment; PRD, QA, DEV, etc to which SAP system belongs to. Select from the list of available dropdown values.
errors SAPMigrateErrorResponse
Defines the errors related to SAP Instance resource.
id str
The provider-assigned unique ID for this managed resource.
landscape_sid str
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.
name str
The name of the resource
provisioning_state str
Defines the provisioning states.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
system_sid str
This is the SID of SAP System. Keeping this not equal to ID as different landscapes can have repeated System SID IDs.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
application String
Enter a business function/department identifier to group multiple SIDs.
azureApiVersion String
The Azure API version of the resource.
environment String
The Environment; PRD, QA, DEV, etc to which SAP system belongs to. Select from the list of available dropdown values.
errors Property Map
Defines the errors related to SAP Instance resource.
id String
The provider-assigned unique ID for this managed resource.
landscapeSid 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.
name String
The name of the resource
provisioningState String
Defines the provisioning states.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
systemSid String
This is the SID of SAP System. Keeping this not equal to ID as different landscapes can have repeated System SID IDs.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

ErrorDefinitionResponse
, ErrorDefinitionResponseArgs

Code This property is required. string
Service specific error code which serves as the substatus for the HTTP error code.
Details This property is required. List<Pulumi.AzureNative.Workloads.Inputs.ErrorDefinitionResponse>
Internal error details.
Message This property is required. string
Description of the error.
Recommendation This property is required. string
Description of the recommendation.
Code This property is required. string
Service specific error code which serves as the substatus for the HTTP error code.
Details This property is required. []ErrorDefinitionResponse
Internal error details.
Message This property is required. string
Description of the error.
Recommendation This property is required. string
Description of the recommendation.
code This property is required. String
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. List<ErrorDefinitionResponse>
Internal error details.
message This property is required. String
Description of the error.
recommendation This property is required. String
Description of the recommendation.
code This property is required. string
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. ErrorDefinitionResponse[]
Internal error details.
message This property is required. string
Description of the error.
recommendation This property is required. string
Description of the recommendation.
code This property is required. str
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. Sequence[ErrorDefinitionResponse]
Internal error details.
message This property is required. str
Description of the error.
recommendation This property is required. str
Description of the recommendation.
code This property is required. String
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. List<Property Map>
Internal error details.
message This property is required. String
Description of the error.
recommendation This property is required. String
Description of the recommendation.

SAPMigrateErrorResponse
, SAPMigrateErrorResponseArgs

Code This property is required. string
Service specific error code which serves as the substatus for the HTTP error code.
Details This property is required. List<Pulumi.AzureNative.Workloads.Inputs.ErrorDefinitionResponse>
Internal error details.
Message This property is required. string
Description of the error.
Recommendation This property is required. string
Description of the recommendation.
Code This property is required. string
Service specific error code which serves as the substatus for the HTTP error code.
Details This property is required. []ErrorDefinitionResponse
Internal error details.
Message This property is required. string
Description of the error.
Recommendation This property is required. string
Description of the recommendation.
code This property is required. String
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. List<ErrorDefinitionResponse>
Internal error details.
message This property is required. String
Description of the error.
recommendation This property is required. String
Description of the recommendation.
code This property is required. string
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. ErrorDefinitionResponse[]
Internal error details.
message This property is required. string
Description of the error.
recommendation This property is required. string
Description of the recommendation.
code This property is required. str
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. Sequence[ErrorDefinitionResponse]
Internal error details.
message This property is required. str
Description of the error.
recommendation This property is required. str
Description of the recommendation.
code This property is required. String
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. List<Property Map>
Internal error details.
message This property is required. String
Description of the error.
recommendation This property is required. String
Description of the recommendation.

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi