This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
getHanaInstance.go
58 lines (53 loc) · 2.19 KB
/
getHanaInstance.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20171103preview
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupHanaInstance(ctx *pulumi.Context, args *LookupHanaInstanceArgs, opts ...pulumi.InvokeOption) (*LookupHanaInstanceResult, error) {
var rv LookupHanaInstanceResult
err := ctx.Invoke("azure-nextgen:hanaonazure/v20171103preview:getHanaInstance", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupHanaInstanceArgs struct {
// Name of the SAP HANA on Azure instance.
HanaInstanceName string `pulumi:"hanaInstanceName"`
// Name of the resource group.
ResourceGroupName string `pulumi:"resourceGroupName"`
}
// HANA instance info on Azure (ARM properties and HANA properties)
type LookupHanaInstanceResult struct {
// Specifies the HANA instance unique ID.
HanaInstanceId *string `pulumi:"hanaInstanceId"`
// Specifies the hardware settings for the HANA instance.
HardwareProfile *HardwareProfileResponse `pulumi:"hardwareProfile"`
// Hardware revision of a HANA instance
HwRevision *string `pulumi:"hwRevision"`
// Resource ID
Id string `pulumi:"id"`
// Resource location
Location *string `pulumi:"location"`
// Resource name
Name string `pulumi:"name"`
// Specifies the network settings for the HANA instance.
NetworkProfile *NetworkProfileResponse `pulumi:"networkProfile"`
// Specifies the operating system settings for the HANA instance.
OsProfile *OSProfileResponse `pulumi:"osProfile"`
// ARM ID of another HanaInstance that will share a network with this HanaInstance
PartnerNodeId *string `pulumi:"partnerNodeId"`
// Resource power state
PowerState *string `pulumi:"powerState"`
// State of provisioning of the HanaInstance
ProvisioningState *string `pulumi:"provisioningState"`
// Resource proximity placement group
ProximityPlacementGroup *string `pulumi:"proximityPlacementGroup"`
// Specifies the storage settings for the HANA instance disks.
StorageProfile *StorageProfileResponse `pulumi:"storageProfile"`
// Resource tags
Tags map[string]string `pulumi:"tags"`
// Resource type
Type string `pulumi:"type"`
}