HanaInstance

class HanaInstance : KotlinCustomResource

HANA instance info on Azure (ARM properties and HANA properties) API Version: 2017-11-03-preview.

Example Usage

Create a HANA instance

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var hanaInstance = new AzureNative.HanaOnAzure.HanaInstance("hanaInstance", new()
{
HanaInstanceName = "myHanaInstance",
Location = "westus",
NetworkProfile = new AzureNative.HanaOnAzure.Inputs.NetworkProfileArgs
{
NetworkInterfaces = new[]
{
new AzureNative.HanaOnAzure.Inputs.IpAddressArgs
{
IpAddress = "100.100.100.100",
},
},
},
OsProfile = new AzureNative.HanaOnAzure.Inputs.OSProfileArgs
{
ComputerName = "myComputerName",
SshPublicKey = "AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L",
},
PartnerNodeId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance2",
ResourceGroupName = "myResourceGroup",
Tags =
{
{ "key", "value" },
},
});
});
package main
import (
hanaonazure "github.com/pulumi/pulumi-azure-native-sdk/hanaonazure"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hanaonazure.NewHanaInstance(ctx, "hanaInstance", &hanaonazure.HanaInstanceArgs{
HanaInstanceName: pulumi.String("myHanaInstance"),
Location: pulumi.String("westus"),
NetworkProfile: hanaonazure.NetworkProfileResponse{
NetworkInterfaces: hanaonazure.IpAddressArray{
&hanaonazure.IpAddressArgs{
IpAddress: pulumi.String("100.100.100.100"),
},
},
},
OsProfile: &hanaonazure.OSProfileArgs{
ComputerName: pulumi.String("myComputerName"),
SshPublicKey: pulumi.String("AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L"),
},
PartnerNodeId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance2"),
ResourceGroupName: pulumi.String("myResourceGroup"),
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.HanaInstance;
import com.pulumi.azurenative.hanaonazure.HanaInstanceArgs;
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 hanaInstance = new HanaInstance("hanaInstance", HanaInstanceArgs.builder()
.hanaInstanceName("myHanaInstance")
.location("westus")
.networkProfile(Map.of("networkInterfaces", Map.of("ipAddress", "100.100.100.100")))
.osProfile(Map.ofEntries(
Map.entry("computerName", "myComputerName"),
Map.entry("sshPublicKey", "AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L")
))
.partnerNodeId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance2")
.resourceGroupName("myResourceGroup")
.tags(Map.of("key", "value"))
.build());
}
}

Import

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

$ pulumi import azure-native:hanaonazure:HanaInstance myHanaInstance /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance

Properties

Link copied to clipboard
val hanaInstanceId: Output<String>

Specifies the HANA instance unique ID.

Link copied to clipboard

Specifies the hardware settings for the HANA instance.

Link copied to clipboard
val hwRevision: Output<String>

Hardware revision of a HANA instance

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>?

Resource location

Link copied to clipboard
val name: Output<String>

Resource name

Link copied to clipboard

Specifies the network settings for the HANA instance.

Link copied to clipboard

Specifies the operating system settings for the HANA instance.

Link copied to clipboard
val partnerNodeId: Output<String>?

ARM ID of another HanaInstance that will share a network with this HanaInstance

Link copied to clipboard
val powerState: Output<String>

Resource power state

Link copied to clipboard

State of provisioning of the HanaInstance

Link copied to clipboard

Resource proximity placement group

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Specifies the storage settings for the HANA instance disks.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags

Link copied to clipboard
val type: Output<String>

Resource type

Link copied to clipboard
val urn: Output<String>