Service Topology
    The resource representation of a service topology. Azure REST API version: 2019-11-01-preview. Prior API version in Azure Native 1.x: 2019-11-01-preview.
Example Usage
Create a topology with Artifact Source
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
    var serviceTopology = new AzureNative.DeploymentManager.ServiceTopology("serviceTopology", new()
    {
        ArtifactSourceId = "Microsoft.DeploymentManager/artifactSources/myArtifactSource",
        Location = "centralus",
        ResourceGroupName = "myResourceGroup",
        ServiceTopologyName = "myTopology",
        Tags = null,
    });
});Content copied to clipboard
package main
import (
	"github.com/pulumi/pulumi-azure-native-sdk/deploymentmanager/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := deploymentmanager.NewServiceTopology(ctx, "serviceTopology", &deploymentmanager.ServiceTopologyArgs{
			ArtifactSourceId:    pulumi.String("Microsoft.DeploymentManager/artifactSources/myArtifactSource"),
			Location:            pulumi.String("centralus"),
			ResourceGroupName:   pulumi.String("myResourceGroup"),
			ServiceTopologyName: pulumi.String("myTopology"),
			Tags:                nil,
		})
		if err != nil {
			return err
		}
		return nil
	})
}Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.deploymentmanager.ServiceTopology;
import com.pulumi.azurenative.deploymentmanager.ServiceTopologyArgs;
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 serviceTopology = new ServiceTopology("serviceTopology", ServiceTopologyArgs.builder()
            .artifactSourceId("Microsoft.DeploymentManager/artifactSources/myArtifactSource")
            .location("centralus")
            .resourceGroupName("myResourceGroup")
            .serviceTopologyName("myTopology")
            .tags()
            .build());
    }
}Content copied to clipboard
Create a topology without Artifact Source
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
    var serviceTopology = new AzureNative.DeploymentManager.ServiceTopology("serviceTopology", new()
    {
        Location = "centralus",
        ResourceGroupName = "myResourceGroup",
        ServiceTopologyName = "myTopology",
        Tags = null,
    });
});Content copied to clipboard
package main
import (
	"github.com/pulumi/pulumi-azure-native-sdk/deploymentmanager/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := deploymentmanager.NewServiceTopology(ctx, "serviceTopology", &deploymentmanager.ServiceTopologyArgs{
			Location:            pulumi.String("centralus"),
			ResourceGroupName:   pulumi.String("myResourceGroup"),
			ServiceTopologyName: pulumi.String("myTopology"),
			Tags:                nil,
		})
		if err != nil {
			return err
		}
		return nil
	})
}Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.deploymentmanager.ServiceTopology;
import com.pulumi.azurenative.deploymentmanager.ServiceTopologyArgs;
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 serviceTopology = new ServiceTopology("serviceTopology", ServiceTopologyArgs.builder()
            .location("centralus")
            .resourceGroupName("myResourceGroup")
            .serviceTopologyName("myTopology")
            .tags()
            .build());
    }
}Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:deploymentmanager:ServiceTopology myTopology /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}Content copied to clipboard