1. Packages
  2. Azure Classic
  3. API Docs
  4. workloadssap
  5. DiscoveryVirtualInstance

We recommend using Azure Native.

Azure Classic v5.77.1 published on Monday, May 13, 2024 by Pulumi

azure.workloadssap.DiscoveryVirtualInstance

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.77.1 published on Monday, May 13, 2024 by Pulumi

    Manages an SAP Discovery Virtual Instance.

    Note: Before using this resource, it’s required to submit the request of registering the Resource Provider with Azure CLI az provider register --namespace "Microsoft.Workloads". The Resource Provider can take a while to register, you can check the status by running az provider show --namespace "Microsoft.Workloads" --query "registrationState". Once this outputs “Registered” the Resource Provider is available for use.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-sapvis",
        location: "West Europe",
    });
    const exampleDiscoveryVirtualInstance = new azure.workloadssap.DiscoveryVirtualInstance("example", {
        name: "X01",
        resourceGroupName: example.name,
        location: example.location,
        environment: "NonProd",
        sapProduct: "S4HANA",
        centralServerVirtualMachineId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/csvm1",
        managedStorageAccountName: "managedsa",
        identity: {
            type: "UserAssigned",
            identityIds: ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1"],
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-sapvis",
        location="West Europe")
    example_discovery_virtual_instance = azure.workloadssap.DiscoveryVirtualInstance("example",
        name="X01",
        resource_group_name=example.name,
        location=example.location,
        environment="NonProd",
        sap_product="S4HANA",
        central_server_virtual_machine_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/csvm1",
        managed_storage_account_name="managedsa",
        identity=azure.workloadssap.DiscoveryVirtualInstanceIdentityArgs(
            type="UserAssigned",
            identity_ids=["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1"],
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/workloadssap"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-sapvis"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = workloadssap.NewDiscoveryVirtualInstance(ctx, "example", &workloadssap.DiscoveryVirtualInstanceArgs{
    			Name:                          pulumi.String("X01"),
    			ResourceGroupName:             example.Name,
    			Location:                      example.Location,
    			Environment:                   pulumi.String("NonProd"),
    			SapProduct:                    pulumi.String("S4HANA"),
    			CentralServerVirtualMachineId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/csvm1"),
    			ManagedStorageAccountName:     pulumi.String("managedsa"),
    			Identity: &workloadssap.DiscoveryVirtualInstanceIdentityArgs{
    				Type: pulumi.String("UserAssigned"),
    				IdentityIds: pulumi.StringArray{
    					pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-sapvis",
            Location = "West Europe",
        });
    
        var exampleDiscoveryVirtualInstance = new Azure.WorkloadsSAP.DiscoveryVirtualInstance("example", new()
        {
            Name = "X01",
            ResourceGroupName = example.Name,
            Location = example.Location,
            Environment = "NonProd",
            SapProduct = "S4HANA",
            CentralServerVirtualMachineId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/csvm1",
            ManagedStorageAccountName = "managedsa",
            Identity = new Azure.WorkloadsSAP.Inputs.DiscoveryVirtualInstanceIdentityArgs
            {
                Type = "UserAssigned",
                IdentityIds = new[]
                {
                    "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.workloadssap.DiscoveryVirtualInstance;
    import com.pulumi.azure.workloadssap.DiscoveryVirtualInstanceArgs;
    import com.pulumi.azure.workloadssap.inputs.DiscoveryVirtualInstanceIdentityArgs;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-sapvis")
                .location("West Europe")
                .build());
    
            var exampleDiscoveryVirtualInstance = new DiscoveryVirtualInstance("exampleDiscoveryVirtualInstance", DiscoveryVirtualInstanceArgs.builder()        
                .name("X01")
                .resourceGroupName(example.name())
                .location(example.location())
                .environment("NonProd")
                .sapProduct("S4HANA")
                .centralServerVirtualMachineId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/csvm1")
                .managedStorageAccountName("managedsa")
                .identity(DiscoveryVirtualInstanceIdentityArgs.builder()
                    .type("UserAssigned")
                    .identityIds("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-sapvis
          location: West Europe
      exampleDiscoveryVirtualInstance:
        type: azure:workloadssap:DiscoveryVirtualInstance
        name: example
        properties:
          name: X01
          resourceGroupName: ${example.name}
          location: ${example.location}
          environment: NonProd
          sapProduct: S4HANA
          centralServerVirtualMachineId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/csvm1
          managedStorageAccountName: managedsa
          identity:
            type: UserAssigned
            identityIds:
              - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/exampleRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1
    

    Create DiscoveryVirtualInstance Resource

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

    Constructor syntax

    new DiscoveryVirtualInstance(name: string, args: DiscoveryVirtualInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def DiscoveryVirtualInstance(resource_name: str,
                                 args: DiscoveryVirtualInstanceArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def DiscoveryVirtualInstance(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 central_server_virtual_machine_id: Optional[str] = None,
                                 environment: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 sap_product: Optional[str] = None,
                                 identity: Optional[DiscoveryVirtualInstanceIdentityArgs] = None,
                                 location: Optional[str] = None,
                                 managed_resource_group_name: Optional[str] = None,
                                 managed_storage_account_name: Optional[str] = None,
                                 name: Optional[str] = None,
                                 tags: Optional[Mapping[str, str]] = None)
    func NewDiscoveryVirtualInstance(ctx *Context, name string, args DiscoveryVirtualInstanceArgs, opts ...ResourceOption) (*DiscoveryVirtualInstance, error)
    public DiscoveryVirtualInstance(string name, DiscoveryVirtualInstanceArgs args, CustomResourceOptions? opts = null)
    public DiscoveryVirtualInstance(String name, DiscoveryVirtualInstanceArgs args)
    public DiscoveryVirtualInstance(String name, DiscoveryVirtualInstanceArgs args, CustomResourceOptions options)
    
    type: azure:workloadssap:DiscoveryVirtualInstance
    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 DiscoveryVirtualInstanceArgs
    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 DiscoveryVirtualInstanceArgs
    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 DiscoveryVirtualInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DiscoveryVirtualInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DiscoveryVirtualInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var discoveryVirtualInstanceResource = new Azure.WorkloadsSAP.DiscoveryVirtualInstance("discoveryVirtualInstanceResource", new()
    {
        CentralServerVirtualMachineId = "string",
        Environment = "string",
        ResourceGroupName = "string",
        SapProduct = "string",
        Identity = new Azure.WorkloadsSAP.Inputs.DiscoveryVirtualInstanceIdentityArgs
        {
            IdentityIds = new[]
            {
                "string",
            },
            Type = "string",
        },
        Location = "string",
        ManagedResourceGroupName = "string",
        ManagedStorageAccountName = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := workloadssap.NewDiscoveryVirtualInstance(ctx, "discoveryVirtualInstanceResource", &workloadssap.DiscoveryVirtualInstanceArgs{
    	CentralServerVirtualMachineId: pulumi.String("string"),
    	Environment:                   pulumi.String("string"),
    	ResourceGroupName:             pulumi.String("string"),
    	SapProduct:                    pulumi.String("string"),
    	Identity: &workloadssap.DiscoveryVirtualInstanceIdentityArgs{
    		IdentityIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Type: pulumi.String("string"),
    	},
    	Location:                  pulumi.String("string"),
    	ManagedResourceGroupName:  pulumi.String("string"),
    	ManagedStorageAccountName: pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var discoveryVirtualInstanceResource = new DiscoveryVirtualInstance("discoveryVirtualInstanceResource", DiscoveryVirtualInstanceArgs.builder()        
        .centralServerVirtualMachineId("string")
        .environment("string")
        .resourceGroupName("string")
        .sapProduct("string")
        .identity(DiscoveryVirtualInstanceIdentityArgs.builder()
            .identityIds("string")
            .type("string")
            .build())
        .location("string")
        .managedResourceGroupName("string")
        .managedStorageAccountName("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    discovery_virtual_instance_resource = azure.workloadssap.DiscoveryVirtualInstance("discoveryVirtualInstanceResource",
        central_server_virtual_machine_id="string",
        environment="string",
        resource_group_name="string",
        sap_product="string",
        identity=azure.workloadssap.DiscoveryVirtualInstanceIdentityArgs(
            identity_ids=["string"],
            type="string",
        ),
        location="string",
        managed_resource_group_name="string",
        managed_storage_account_name="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const discoveryVirtualInstanceResource = new azure.workloadssap.DiscoveryVirtualInstance("discoveryVirtualInstanceResource", {
        centralServerVirtualMachineId: "string",
        environment: "string",
        resourceGroupName: "string",
        sapProduct: "string",
        identity: {
            identityIds: ["string"],
            type: "string",
        },
        location: "string",
        managedResourceGroupName: "string",
        managedStorageAccountName: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:workloadssap:DiscoveryVirtualInstance
    properties:
        centralServerVirtualMachineId: string
        environment: string
        identity:
            identityIds:
                - string
            type: string
        location: string
        managedResourceGroupName: string
        managedStorageAccountName: string
        name: string
        resourceGroupName: string
        sapProduct: string
        tags:
            string: string
    

    DiscoveryVirtualInstance 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 DiscoveryVirtualInstance resource accepts the following input properties:

    CentralServerVirtualMachineId string
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    Environment string
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    SapProduct string
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    Identity DiscoveryVirtualInstanceIdentity
    An identity block as defined below.
    Location string
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    ManagedResourceGroupName string
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    ManagedStorageAccountName string
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.
    CentralServerVirtualMachineId string
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    Environment string
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    SapProduct string
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    Identity DiscoveryVirtualInstanceIdentityArgs
    An identity block as defined below.
    Location string
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    ManagedResourceGroupName string
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    ManagedStorageAccountName string
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.
    centralServerVirtualMachineId String
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    environment String
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    sapProduct String
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    identity DiscoveryVirtualInstanceIdentity
    An identity block as defined below.
    location String
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    managedResourceGroupName String
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    managedStorageAccountName String
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    name String
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.
    centralServerVirtualMachineId string
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    environment string
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    sapProduct string
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    identity DiscoveryVirtualInstanceIdentity
    An identity block as defined below.
    location string
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    managedResourceGroupName string
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    managedStorageAccountName string
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    name string
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.
    central_server_virtual_machine_id str
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    environment str
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    sap_product str
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    identity DiscoveryVirtualInstanceIdentityArgs
    An identity block as defined below.
    location str
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    managed_resource_group_name str
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    managed_storage_account_name str
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    name str
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.
    centralServerVirtualMachineId String
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    environment String
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    sapProduct String
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    identity Property Map
    An identity block as defined below.
    location String
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    managedResourceGroupName String
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    managedStorageAccountName String
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    name String
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DiscoveryVirtualInstance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DiscoveryVirtualInstance Resource

    Get an existing DiscoveryVirtualInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DiscoveryVirtualInstanceState, opts?: CustomResourceOptions): DiscoveryVirtualInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            central_server_virtual_machine_id: Optional[str] = None,
            environment: Optional[str] = None,
            identity: Optional[DiscoveryVirtualInstanceIdentityArgs] = None,
            location: Optional[str] = None,
            managed_resource_group_name: Optional[str] = None,
            managed_storage_account_name: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            sap_product: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> DiscoveryVirtualInstance
    func GetDiscoveryVirtualInstance(ctx *Context, name string, id IDInput, state *DiscoveryVirtualInstanceState, opts ...ResourceOption) (*DiscoveryVirtualInstance, error)
    public static DiscoveryVirtualInstance Get(string name, Input<string> id, DiscoveryVirtualInstanceState? state, CustomResourceOptions? opts = null)
    public static DiscoveryVirtualInstance get(String name, Output<String> id, DiscoveryVirtualInstanceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CentralServerVirtualMachineId string
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    Environment string
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    Identity DiscoveryVirtualInstanceIdentity
    An identity block as defined below.
    Location string
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    ManagedResourceGroupName string
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    ManagedStorageAccountName string
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    SapProduct string
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.
    CentralServerVirtualMachineId string
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    Environment string
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    Identity DiscoveryVirtualInstanceIdentityArgs
    An identity block as defined below.
    Location string
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    ManagedResourceGroupName string
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    ManagedStorageAccountName string
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    SapProduct string
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.
    centralServerVirtualMachineId String
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    environment String
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    identity DiscoveryVirtualInstanceIdentity
    An identity block as defined below.
    location String
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    managedResourceGroupName String
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    managedStorageAccountName String
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    name String
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    sapProduct String
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.
    centralServerVirtualMachineId string
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    environment string
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    identity DiscoveryVirtualInstanceIdentity
    An identity block as defined below.
    location string
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    managedResourceGroupName string
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    managedStorageAccountName string
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    name string
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    sapProduct string
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.
    central_server_virtual_machine_id str
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    environment str
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    identity DiscoveryVirtualInstanceIdentityArgs
    An identity block as defined below.
    location str
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    managed_resource_group_name str
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    managed_storage_account_name str
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    name str
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    sap_product str
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.
    centralServerVirtualMachineId String
    The ID of the Virtual Machine of the Central Server. Changing this forces a new resource to be created.
    environment String
    The environment type for the SAP Discovery Virtual Instance. Possible values are NonProd and Prod. Changing this forces a new resource to be created.
    identity Property Map
    An identity block as defined below.
    location String
    The Azure Region where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    managedResourceGroupName String
    The name of the managed Resource Group for the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    managedStorageAccountName String
    The name of the custom Storage Account created by the service in the managed Resource Group. Changing this forces a new resource to be created.
    name String
    Specifies the name of the SAP Discovery Virtual Instance. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the SAP Discovery Virtual Instance should exist. Changing this forces a new resource to be created.
    sapProduct String
    The SAP Product type for the SAP Discovery Virtual Instance. Possible values are ECC, Other and S4HANA. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the SAP Discovery Virtual Instance.

    Supporting Types

    DiscoveryVirtualInstanceIdentity, DiscoveryVirtualInstanceIdentityArgs

    IdentityIds List<string>
    A list of User Assigned Managed Identity IDs to be assigned to this SAP Discovery Virtual Instance.
    Type string
    The type of Managed Service Identity that should be configured on this SAP Discovery Virtual Instance. The only possible value is UserAssigned.
    IdentityIds []string
    A list of User Assigned Managed Identity IDs to be assigned to this SAP Discovery Virtual Instance.
    Type string
    The type of Managed Service Identity that should be configured on this SAP Discovery Virtual Instance. The only possible value is UserAssigned.
    identityIds List<String>
    A list of User Assigned Managed Identity IDs to be assigned to this SAP Discovery Virtual Instance.
    type String
    The type of Managed Service Identity that should be configured on this SAP Discovery Virtual Instance. The only possible value is UserAssigned.
    identityIds string[]
    A list of User Assigned Managed Identity IDs to be assigned to this SAP Discovery Virtual Instance.
    type string
    The type of Managed Service Identity that should be configured on this SAP Discovery Virtual Instance. The only possible value is UserAssigned.
    identity_ids Sequence[str]
    A list of User Assigned Managed Identity IDs to be assigned to this SAP Discovery Virtual Instance.
    type str
    The type of Managed Service Identity that should be configured on this SAP Discovery Virtual Instance. The only possible value is UserAssigned.
    identityIds List<String>
    A list of User Assigned Managed Identity IDs to be assigned to this SAP Discovery Virtual Instance.
    type String
    The type of Managed Service Identity that should be configured on this SAP Discovery Virtual Instance. The only possible value is UserAssigned.

    Import

    SAP Discovery Virtual Instances can be imported using the resource id, e.g.

    $ pulumi import azure:workloadssap/discoveryVirtualInstance:DiscoveryVirtualInstance example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Workloads/sapVirtualInstances/vis1
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.77.1 published on Monday, May 13, 2024 by Pulumi