1. Packages
  2. Azure Native
  3. API Docs
  4. hanaonazure
  5. ProviderInstance
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.20.1 published on Friday, Dec 1, 2023 by Pulumi

azure-native.hanaonazure.ProviderInstance

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.20.1 published on Friday, Dec 1, 2023 by Pulumi

    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:

    ResourceGroupName string

    Name of the resource group.

    SapMonitorName string

    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.

    ProviderInstanceName string

    Name of the provider instance.

    Type string

    The type of provider instance.

    ResourceGroupName string

    Name of the resource group.

    SapMonitorName string

    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.

    ProviderInstanceName string

    Name of the provider instance.

    Type string

    The type of provider instance.

    resourceGroupName String

    Name of the resource group.

    sapMonitorName String

    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.

    providerInstanceName String

    Name of the provider instance.

    type String

    The type of provider instance.

    resourceGroupName string

    Name of the resource group.

    sapMonitorName string

    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.

    providerInstanceName string

    Name of the provider instance.

    type string

    The type of provider instance.

    resource_group_name str

    Name of the resource group.

    sap_monitor_name str

    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_name str

    Name of the provider instance.

    type str

    The type of provider instance.

    resourceGroupName String

    Name of the resource group.

    sapMonitorName String

    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.

    providerInstanceName String

    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

    ProvisioningState 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

    ProvisioningState 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

    provisioningState 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

    provisioningState 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

    provisioningState 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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.20.1 published on Friday, Dec 1, 2023 by Pulumi