1. Packages
  2. Azure Native v1
  3. API Docs
  4. hanaonazure
  5. ProviderInstance
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.hanaonazure.ProviderInstance

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    A provider instance associated with a SAP monitor. API Version: 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 (
    	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.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

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

    Constructor syntax

    new ProviderInstance(name: string, args: ProviderInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def ProviderInstance(resource_name: str,
                         args: ProviderInstanceArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProviderInstance(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         resource_group_name: Optional[str] = None,
                         sap_monitor_name: Optional[str] = None,
                         metadata: Optional[str] = None,
                         properties: Optional[str] = None,
                         provider_instance_name: Optional[str] = None,
                         type: Optional[str] = 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.
    
    

    Parameters

    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.

    Constructor example

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

    var providerInstanceResource = new AzureNative.Hanaonazure.ProviderInstance("providerInstanceResource", new()
    {
        ResourceGroupName = "string",
        SapMonitorName = "string",
        Metadata = "string",
        Properties = "string",
        ProviderInstanceName = "string",
        Type = "string",
    });
    
    example, err := hanaonazure.NewProviderInstance(ctx, "providerInstanceResource", &hanaonazure.ProviderInstanceArgs{
    	ResourceGroupName:    "string",
    	SapMonitorName:       "string",
    	Metadata:             "string",
    	Properties:           "string",
    	ProviderInstanceName: "string",
    	Type:                 "string",
    })
    
    var providerInstanceResource = new ProviderInstance("providerInstanceResource", ProviderInstanceArgs.builder()
        .resourceGroupName("string")
        .sapMonitorName("string")
        .metadata("string")
        .properties("string")
        .providerInstanceName("string")
        .type("string")
        .build());
    
    provider_instance_resource = azure_native.hanaonazure.ProviderInstance("providerInstanceResource",
        resource_group_name=string,
        sap_monitor_name=string,
        metadata=string,
        properties=string,
        provider_instance_name=string,
        type=string)
    
    const providerInstanceResource = new azure_native.hanaonazure.ProviderInstance("providerInstanceResource", {
        resourceGroupName: "string",
        sapMonitorName: "string",
        metadata: "string",
        properties: "string",
        providerInstanceName: "string",
        type: "string",
    });
    
    type: azure-native:hanaonazure:ProviderInstance
    properties:
        metadata: string
        properties: string
        providerInstanceName: string
        resourceGroupName: string
        sapMonitorName: string
        type: string
    

    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/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor/providerInstances/myProviderInstance 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi