azure-native.hanaonazure.ProviderInstance
Explore with Pulumi AI
A provider instance associated with a SAP monitor. Azure REST API version: 2020-02-07-preview. Prior API version in Azure Native 1.x: 2020-02-07-preview.
Example Usage
Create a SAP Monitor
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var providerInstance = new AzureNative.HanaOnAzure.ProviderInstance("providerInstance", new()
{
Metadata = "{\"key\":\"value\"}",
Properties = "{\"hostname\":\"10.0.0.6\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30013,\"dbUsername\":\"SYSTEM\",\"dbPassword\":\"PASSWORD\"}",
ProviderInstanceName = "myProviderInstance",
ResourceGroupName = "myResourceGroup",
SapMonitorName = "mySapMonitor",
Type = "hana",
});
});
package main
import (
"github.com/pulumi/pulumi-azure-native-sdk/hanaonazure/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hanaonazure.NewProviderInstance(ctx, "providerInstance", &hanaonazure.ProviderInstanceArgs{
Metadata: pulumi.String("{\"key\":\"value\"}"),
Properties: pulumi.String("{\"hostname\":\"10.0.0.6\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30013,\"dbUsername\":\"SYSTEM\",\"dbPassword\":\"PASSWORD\"}"),
ProviderInstanceName: pulumi.String("myProviderInstance"),
ResourceGroupName: pulumi.String("myResourceGroup"),
SapMonitorName: pulumi.String("mySapMonitor"),
Type: pulumi.String("hana"),
})
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.ProviderInstance;
import com.pulumi.azurenative.hanaonazure.ProviderInstanceArgs;
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 providerInstance = new ProviderInstance("providerInstance", ProviderInstanceArgs.builder()
.metadata("{\"key\":\"value\"}")
.properties("{\"hostname\":\"10.0.0.6\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30013,\"dbUsername\":\"SYSTEM\",\"dbPassword\":\"PASSWORD\"}")
.providerInstanceName("myProviderInstance")
.resourceGroupName("myResourceGroup")
.sapMonitorName("mySapMonitor")
.type("hana")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
provider_instance = azure_native.hanaonazure.ProviderInstance("providerInstance",
metadata="{\"key\":\"value\"}",
properties="{\"hostname\":\"10.0.0.6\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30013,\"dbUsername\":\"SYSTEM\",\"dbPassword\":\"PASSWORD\"}",
provider_instance_name="myProviderInstance",
resource_group_name="myResourceGroup",
sap_monitor_name="mySapMonitor",
type="hana")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const providerInstance = new azure_native.hanaonazure.ProviderInstance("providerInstance", {
metadata: "{\"key\":\"value\"}",
properties: "{\"hostname\":\"10.0.0.6\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30013,\"dbUsername\":\"SYSTEM\",\"dbPassword\":\"PASSWORD\"}",
providerInstanceName: "myProviderInstance",
resourceGroupName: "myResourceGroup",
sapMonitorName: "mySapMonitor",
type: "hana",
});
resources:
providerInstance:
type: azure-native:hanaonazure:ProviderInstance
properties:
metadata: '{"key":"value"}'
properties: '{"hostname":"10.0.0.6","dbName":"SYSTEMDB","sqlPort":30013,"dbUsername":"SYSTEM","dbPassword":"PASSWORD"}'
providerInstanceName: myProviderInstance
resourceGroupName: myResourceGroup
sapMonitorName: mySapMonitor
type: hana
Create ProviderInstance Resource
new ProviderInstance(name: string, args: ProviderInstanceArgs, opts?: CustomResourceOptions);
@overload
def ProviderInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[str] = None,
properties: Optional[str] = None,
provider_instance_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
sap_monitor_name: Optional[str] = None,
type: Optional[str] = None)
@overload
def ProviderInstance(resource_name: str,
args: ProviderInstanceArgs,
opts: Optional[ResourceOptions] = None)
func NewProviderInstance(ctx *Context, name string, args ProviderInstanceArgs, opts ...ResourceOption) (*ProviderInstance, error)
public ProviderInstance(string name, ProviderInstanceArgs args, CustomResourceOptions? opts = null)
public ProviderInstance(String name, ProviderInstanceArgs args)
public ProviderInstance(String name, ProviderInstanceArgs args, CustomResourceOptions options)
type: azure-native:hanaonazure:ProviderInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProviderInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProviderInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ProviderInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ProviderInstance resource accepts the following input properties:
- Resource
Group stringName Name of the resource group.
- Sap
Monitor stringName Name of the SAP monitor resource.
- Metadata string
A JSON string containing metadata of the provider instance.
- Properties string
A JSON string containing the properties of the provider instance.
- Provider
Instance stringName Name of the provider instance.
- Type string
The type of provider instance.
- Resource
Group stringName Name of the resource group.
- Sap
Monitor stringName Name of the SAP monitor resource.
- Metadata string
A JSON string containing metadata of the provider instance.
- Properties string
A JSON string containing the properties of the provider instance.
- Provider
Instance stringName Name of the provider instance.
- Type string
The type of provider instance.
- resource
Group StringName Name of the resource group.
- sap
Monitor StringName Name of the SAP monitor resource.
- metadata String
A JSON string containing metadata of the provider instance.
- properties String
A JSON string containing the properties of the provider instance.
- provider
Instance StringName Name of the provider instance.
- type String
The type of provider instance.
- resource
Group stringName Name of the resource group.
- sap
Monitor stringName Name of the SAP monitor resource.
- metadata string
A JSON string containing metadata of the provider instance.
- properties string
A JSON string containing the properties of the provider instance.
- provider
Instance stringName Name of the provider instance.
- type string
The type of provider instance.
- resource_
group_ strname Name of the resource group.
- sap_
monitor_ strname Name of the SAP monitor resource.
- metadata str
A JSON string containing metadata of the provider instance.
- properties str
A JSON string containing the properties of the provider instance.
- provider_
instance_ strname Name of the provider instance.
- type str
The type of provider instance.
- resource
Group StringName Name of the resource group.
- sap
Monitor StringName Name of the SAP monitor resource.
- metadata String
A JSON string containing metadata of the provider instance.
- properties String
A JSON string containing the properties of the provider instance.
- provider
Instance StringName Name of the provider instance.
- type String
The type of provider instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProviderInstance resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of the resource
- Provisioning
State string State of provisioning of the provider instance
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of the resource
- Provisioning
State string State of provisioning of the provider instance
- id String
The provider-assigned unique ID for this managed resource.
- name String
The name of the resource
- provisioning
State String State of provisioning of the provider instance
- id string
The provider-assigned unique ID for this managed resource.
- name string
The name of the resource
- provisioning
State string State of provisioning of the provider instance
- id str
The provider-assigned unique ID for this managed resource.
- name str
The name of the resource
- provisioning_
state str State of provisioning of the provider instance
- id String
The provider-assigned unique ID for this managed resource.
- name String
The name of the resource
- provisioning
State String State of provisioning of the provider instance
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:hanaonazure:ProviderInstance myProviderInstance /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/sapMonitors/{sapMonitorName}/providerInstances/{providerInstanceName}
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0