1. Packages
  2. Azure Native v1
  3. API Docs
  4. deploymentmanager
  5. ServiceUnit
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.deploymentmanager.ServiceUnit

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

    Represents the response of a service unit resource. API Version: 2019-11-01-preview.

    Example Usage

    Create service unit using SAS URIs

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var serviceUnit = new AzureNative.DeploymentManager.ServiceUnit("serviceUnit", new()
        {
            Artifacts = new AzureNative.DeploymentManager.Inputs.ServiceUnitArtifactsArgs
            {
                ParametersUri = "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
                TemplateUri = "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
            },
            DeploymentMode = AzureNative.DeploymentManager.DeploymentMode.Incremental,
            Location = "centralus",
            ResourceGroupName = "myResourceGroup",
            ServiceName = "myService",
            ServiceTopologyName = "myTopology",
            ServiceUnitName = "myServiceUnit",
            Tags = null,
            TargetResourceGroup = "myDeploymentResourceGroup",
        });
    
    });
    
    package main
    
    import (
    	deploymentmanager "github.com/pulumi/pulumi-azure-native-sdk/deploymentmanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := deploymentmanager.NewServiceUnit(ctx, "serviceUnit", &deploymentmanager.ServiceUnitArgs{
    			Artifacts: &deploymentmanager.ServiceUnitArtifactsArgs{
    				ParametersUri: pulumi.String("https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"),
    				TemplateUri:   pulumi.String("https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"),
    			},
    			DeploymentMode:      deploymentmanager.DeploymentModeIncremental,
    			Location:            pulumi.String("centralus"),
    			ResourceGroupName:   pulumi.String("myResourceGroup"),
    			ServiceName:         pulumi.String("myService"),
    			ServiceTopologyName: pulumi.String("myTopology"),
    			ServiceUnitName:     pulumi.String("myServiceUnit"),
    			Tags:                nil,
    			TargetResourceGroup: pulumi.String("myDeploymentResourceGroup"),
    		})
    		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.deploymentmanager.ServiceUnit;
    import com.pulumi.azurenative.deploymentmanager.ServiceUnitArgs;
    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 serviceUnit = new ServiceUnit("serviceUnit", ServiceUnitArgs.builder()        
                .artifacts(Map.ofEntries(
                    Map.entry("parametersUri", "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"),
                    Map.entry("templateUri", "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D")
                ))
                .deploymentMode("Incremental")
                .location("centralus")
                .resourceGroupName("myResourceGroup")
                .serviceName("myService")
                .serviceTopologyName("myTopology")
                .serviceUnitName("myServiceUnit")
                .tags()
                .targetResourceGroup("myDeploymentResourceGroup")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service_unit = azure_native.deploymentmanager.ServiceUnit("serviceUnit",
        artifacts=azure_native.deploymentmanager.ServiceUnitArtifactsArgs(
            parameters_uri="https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
            template_uri="https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
        ),
        deployment_mode=azure_native.deploymentmanager.DeploymentMode.INCREMENTAL,
        location="centralus",
        resource_group_name="myResourceGroup",
        service_name="myService",
        service_topology_name="myTopology",
        service_unit_name="myServiceUnit",
        tags={},
        target_resource_group="myDeploymentResourceGroup")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const serviceUnit = new azure_native.deploymentmanager.ServiceUnit("serviceUnit", {
        artifacts: {
            parametersUri: "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
            templateUri: "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
        },
        deploymentMode: azure_native.deploymentmanager.DeploymentMode.Incremental,
        location: "centralus",
        resourceGroupName: "myResourceGroup",
        serviceName: "myService",
        serviceTopologyName: "myTopology",
        serviceUnitName: "myServiceUnit",
        tags: {},
        targetResourceGroup: "myDeploymentResourceGroup",
    });
    
    resources:
      serviceUnit:
        type: azure-native:deploymentmanager:ServiceUnit
        properties:
          artifacts:
            parametersUri: https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D
            templateUri: https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D
          deploymentMode: Incremental
          location: centralus
          resourceGroupName: myResourceGroup
          serviceName: myService
          serviceTopologyName: myTopology
          serviceUnitName: myServiceUnit
          tags: {}
          targetResourceGroup: myDeploymentResourceGroup
    

    Create service unit using relative paths into the artifact source

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var serviceUnit = new AzureNative.DeploymentManager.ServiceUnit("serviceUnit", new()
        {
            Artifacts = new AzureNative.DeploymentManager.Inputs.ServiceUnitArtifactsArgs
            {
                ParametersArtifactSourceRelativePath = "parameter/myTopologyUnit.parameters.json",
                TemplateArtifactSourceRelativePath = "templates/myTopologyUnit.template.json",
            },
            DeploymentMode = AzureNative.DeploymentManager.DeploymentMode.Incremental,
            Location = "centralus",
            ResourceGroupName = "myResourceGroup",
            ServiceName = "myService",
            ServiceTopologyName = "myTopology",
            ServiceUnitName = "myServiceUnit",
            Tags = null,
            TargetResourceGroup = "myDeploymentResourceGroup",
        });
    
    });
    
    package main
    
    import (
    	deploymentmanager "github.com/pulumi/pulumi-azure-native-sdk/deploymentmanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := deploymentmanager.NewServiceUnit(ctx, "serviceUnit", &deploymentmanager.ServiceUnitArgs{
    			Artifacts: &deploymentmanager.ServiceUnitArtifactsArgs{
    				ParametersArtifactSourceRelativePath: pulumi.String("parameter/myTopologyUnit.parameters.json"),
    				TemplateArtifactSourceRelativePath:   pulumi.String("templates/myTopologyUnit.template.json"),
    			},
    			DeploymentMode:      deploymentmanager.DeploymentModeIncremental,
    			Location:            pulumi.String("centralus"),
    			ResourceGroupName:   pulumi.String("myResourceGroup"),
    			ServiceName:         pulumi.String("myService"),
    			ServiceTopologyName: pulumi.String("myTopology"),
    			ServiceUnitName:     pulumi.String("myServiceUnit"),
    			Tags:                nil,
    			TargetResourceGroup: pulumi.String("myDeploymentResourceGroup"),
    		})
    		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.deploymentmanager.ServiceUnit;
    import com.pulumi.azurenative.deploymentmanager.ServiceUnitArgs;
    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 serviceUnit = new ServiceUnit("serviceUnit", ServiceUnitArgs.builder()        
                .artifacts(Map.ofEntries(
                    Map.entry("parametersArtifactSourceRelativePath", "parameter/myTopologyUnit.parameters.json"),
                    Map.entry("templateArtifactSourceRelativePath", "templates/myTopologyUnit.template.json")
                ))
                .deploymentMode("Incremental")
                .location("centralus")
                .resourceGroupName("myResourceGroup")
                .serviceName("myService")
                .serviceTopologyName("myTopology")
                .serviceUnitName("myServiceUnit")
                .tags()
                .targetResourceGroup("myDeploymentResourceGroup")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service_unit = azure_native.deploymentmanager.ServiceUnit("serviceUnit",
        artifacts=azure_native.deploymentmanager.ServiceUnitArtifactsArgs(
            parameters_artifact_source_relative_path="parameter/myTopologyUnit.parameters.json",
            template_artifact_source_relative_path="templates/myTopologyUnit.template.json",
        ),
        deployment_mode=azure_native.deploymentmanager.DeploymentMode.INCREMENTAL,
        location="centralus",
        resource_group_name="myResourceGroup",
        service_name="myService",
        service_topology_name="myTopology",
        service_unit_name="myServiceUnit",
        tags={},
        target_resource_group="myDeploymentResourceGroup")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const serviceUnit = new azure_native.deploymentmanager.ServiceUnit("serviceUnit", {
        artifacts: {
            parametersArtifactSourceRelativePath: "parameter/myTopologyUnit.parameters.json",
            templateArtifactSourceRelativePath: "templates/myTopologyUnit.template.json",
        },
        deploymentMode: azure_native.deploymentmanager.DeploymentMode.Incremental,
        location: "centralus",
        resourceGroupName: "myResourceGroup",
        serviceName: "myService",
        serviceTopologyName: "myTopology",
        serviceUnitName: "myServiceUnit",
        tags: {},
        targetResourceGroup: "myDeploymentResourceGroup",
    });
    
    resources:
      serviceUnit:
        type: azure-native:deploymentmanager:ServiceUnit
        properties:
          artifacts:
            parametersArtifactSourceRelativePath: parameter/myTopologyUnit.parameters.json
            templateArtifactSourceRelativePath: templates/myTopologyUnit.template.json
          deploymentMode: Incremental
          location: centralus
          resourceGroupName: myResourceGroup
          serviceName: myService
          serviceTopologyName: myTopology
          serviceUnitName: myServiceUnit
          tags: {}
          targetResourceGroup: myDeploymentResourceGroup
    

    Create ServiceUnit Resource

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

    Constructor syntax

    new ServiceUnit(name: string, args: ServiceUnitArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceUnit(resource_name: str,
                    args: ServiceUnitArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceUnit(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    deployment_mode: Optional[DeploymentMode] = None,
                    resource_group_name: Optional[str] = None,
                    service_name: Optional[str] = None,
                    service_topology_name: Optional[str] = None,
                    target_resource_group: Optional[str] = None,
                    artifacts: Optional[ServiceUnitArtifactsArgs] = None,
                    location: Optional[str] = None,
                    service_unit_name: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None)
    func NewServiceUnit(ctx *Context, name string, args ServiceUnitArgs, opts ...ResourceOption) (*ServiceUnit, error)
    public ServiceUnit(string name, ServiceUnitArgs args, CustomResourceOptions? opts = null)
    public ServiceUnit(String name, ServiceUnitArgs args)
    public ServiceUnit(String name, ServiceUnitArgs args, CustomResourceOptions options)
    
    type: azure-native:deploymentmanager:ServiceUnit
    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 ServiceUnitArgs
    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 ServiceUnitArgs
    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 ServiceUnitArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceUnitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceUnitArgs
    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 serviceUnitResource = new AzureNative.Deploymentmanager.ServiceUnit("serviceUnitResource", new()
    {
        DeploymentMode = "Incremental",
        ResourceGroupName = "string",
        ServiceName = "string",
        ServiceTopologyName = "string",
        TargetResourceGroup = "string",
        Artifacts = 
        {
            { "parametersArtifactSourceRelativePath", "string" },
            { "parametersUri", "string" },
            { "templateArtifactSourceRelativePath", "string" },
            { "templateUri", "string" },
        },
        Location = "string",
        ServiceUnitName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := deploymentmanager.NewServiceUnit(ctx, "serviceUnitResource", &deploymentmanager.ServiceUnitArgs{
    	DeploymentMode:      "Incremental",
    	ResourceGroupName:   "string",
    	ServiceName:         "string",
    	ServiceTopologyName: "string",
    	TargetResourceGroup: "string",
    	Artifacts: map[string]interface{}{
    		"parametersArtifactSourceRelativePath": "string",
    		"parametersUri":                        "string",
    		"templateArtifactSourceRelativePath":   "string",
    		"templateUri":                          "string",
    	},
    	Location:        "string",
    	ServiceUnitName: "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var serviceUnitResource = new ServiceUnit("serviceUnitResource", ServiceUnitArgs.builder()
        .deploymentMode("Incremental")
        .resourceGroupName("string")
        .serviceName("string")
        .serviceTopologyName("string")
        .targetResourceGroup("string")
        .artifacts(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .location("string")
        .serviceUnitName("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    service_unit_resource = azure_native.deploymentmanager.ServiceUnit("serviceUnitResource",
        deployment_mode=Incremental,
        resource_group_name=string,
        service_name=string,
        service_topology_name=string,
        target_resource_group=string,
        artifacts={
            parametersArtifactSourceRelativePath: string,
            parametersUri: string,
            templateArtifactSourceRelativePath: string,
            templateUri: string,
        },
        location=string,
        service_unit_name=string,
        tags={
            string: string,
        })
    
    const serviceUnitResource = new azure_native.deploymentmanager.ServiceUnit("serviceUnitResource", {
        deploymentMode: "Incremental",
        resourceGroupName: "string",
        serviceName: "string",
        serviceTopologyName: "string",
        targetResourceGroup: "string",
        artifacts: {
            parametersArtifactSourceRelativePath: "string",
            parametersUri: "string",
            templateArtifactSourceRelativePath: "string",
            templateUri: "string",
        },
        location: "string",
        serviceUnitName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:deploymentmanager:ServiceUnit
    properties:
        artifacts:
            parametersArtifactSourceRelativePath: string
            parametersUri: string
            templateArtifactSourceRelativePath: string
            templateUri: string
        deploymentMode: Incremental
        location: string
        resourceGroupName: string
        serviceName: string
        serviceTopologyName: string
        serviceUnitName: string
        tags:
            string: string
        targetResourceGroup: string
    

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

    DeploymentMode Pulumi.AzureNative.DeploymentManager.DeploymentMode
    Describes the type of ARM deployment to be performed on the resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ServiceName string
    The name of the service resource.
    ServiceTopologyName string
    The name of the service topology .
    TargetResourceGroup string
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    Artifacts Pulumi.AzureNative.DeploymentManager.Inputs.ServiceUnitArtifacts
    The artifacts for the service unit.
    Location string
    The geo-location where the resource lives
    ServiceUnitName string
    The name of the service unit resource.
    Tags Dictionary<string, string>
    Resource tags.
    DeploymentMode DeploymentMode
    Describes the type of ARM deployment to be performed on the resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ServiceName string
    The name of the service resource.
    ServiceTopologyName string
    The name of the service topology .
    TargetResourceGroup string
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    Artifacts ServiceUnitArtifactsArgs
    The artifacts for the service unit.
    Location string
    The geo-location where the resource lives
    ServiceUnitName string
    The name of the service unit resource.
    Tags map[string]string
    Resource tags.
    deploymentMode DeploymentMode
    Describes the type of ARM deployment to be performed on the resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    serviceName String
    The name of the service resource.
    serviceTopologyName String
    The name of the service topology .
    targetResourceGroup String
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    artifacts ServiceUnitArtifacts
    The artifacts for the service unit.
    location String
    The geo-location where the resource lives
    serviceUnitName String
    The name of the service unit resource.
    tags Map<String,String>
    Resource tags.
    deploymentMode DeploymentMode
    Describes the type of ARM deployment to be performed on the resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    serviceName string
    The name of the service resource.
    serviceTopologyName string
    The name of the service topology .
    targetResourceGroup string
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    artifacts ServiceUnitArtifacts
    The artifacts for the service unit.
    location string
    The geo-location where the resource lives
    serviceUnitName string
    The name of the service unit resource.
    tags {[key: string]: string}
    Resource tags.
    deployment_mode DeploymentMode
    Describes the type of ARM deployment to be performed on the resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    service_name str
    The name of the service resource.
    service_topology_name str
    The name of the service topology .
    target_resource_group str
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    artifacts ServiceUnitArtifactsArgs
    The artifacts for the service unit.
    location str
    The geo-location where the resource lives
    service_unit_name str
    The name of the service unit resource.
    tags Mapping[str, str]
    Resource tags.
    deploymentMode "Incremental" | "Complete"
    Describes the type of ARM deployment to be performed on the resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    serviceName String
    The name of the service resource.
    serviceTopologyName String
    The name of the service topology .
    targetResourceGroup String
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    artifacts Property Map
    The artifacts for the service unit.
    location String
    The geo-location where the resource lives
    serviceUnitName String
    The name of the service unit resource.
    tags Map<String>
    Resource tags.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    DeploymentMode, DeploymentModeArgs

    Incremental
    Incremental
    Complete
    Complete
    DeploymentModeIncremental
    Incremental
    DeploymentModeComplete
    Complete
    Incremental
    Incremental
    Complete
    Complete
    Incremental
    Incremental
    Complete
    Complete
    INCREMENTAL
    Incremental
    COMPLETE
    Complete
    "Incremental"
    Incremental
    "Complete"
    Complete

    ServiceUnitArtifacts, ServiceUnitArtifactsArgs

    ParametersArtifactSourceRelativePath string
    The path to the ARM parameters file relative to the artifact source.
    ParametersUri string
    The full URI of the ARM parameters file with the SAS token.
    TemplateArtifactSourceRelativePath string
    The path to the ARM template file relative to the artifact source.
    TemplateUri string
    The full URI of the ARM template file with the SAS token.
    ParametersArtifactSourceRelativePath string
    The path to the ARM parameters file relative to the artifact source.
    ParametersUri string
    The full URI of the ARM parameters file with the SAS token.
    TemplateArtifactSourceRelativePath string
    The path to the ARM template file relative to the artifact source.
    TemplateUri string
    The full URI of the ARM template file with the SAS token.
    parametersArtifactSourceRelativePath String
    The path to the ARM parameters file relative to the artifact source.
    parametersUri String
    The full URI of the ARM parameters file with the SAS token.
    templateArtifactSourceRelativePath String
    The path to the ARM template file relative to the artifact source.
    templateUri String
    The full URI of the ARM template file with the SAS token.
    parametersArtifactSourceRelativePath string
    The path to the ARM parameters file relative to the artifact source.
    parametersUri string
    The full URI of the ARM parameters file with the SAS token.
    templateArtifactSourceRelativePath string
    The path to the ARM template file relative to the artifact source.
    templateUri string
    The full URI of the ARM template file with the SAS token.
    parameters_artifact_source_relative_path str
    The path to the ARM parameters file relative to the artifact source.
    parameters_uri str
    The full URI of the ARM parameters file with the SAS token.
    template_artifact_source_relative_path str
    The path to the ARM template file relative to the artifact source.
    template_uri str
    The full URI of the ARM template file with the SAS token.
    parametersArtifactSourceRelativePath String
    The path to the ARM parameters file relative to the artifact source.
    parametersUri String
    The full URI of the ARM parameters file with the SAS token.
    templateArtifactSourceRelativePath String
    The path to the ARM template file relative to the artifact source.
    templateUri String
    The full URI of the ARM template file with the SAS token.

    ServiceUnitArtifactsResponse, ServiceUnitArtifactsResponseArgs

    ParametersArtifactSourceRelativePath string
    The path to the ARM parameters file relative to the artifact source.
    ParametersUri string
    The full URI of the ARM parameters file with the SAS token.
    TemplateArtifactSourceRelativePath string
    The path to the ARM template file relative to the artifact source.
    TemplateUri string
    The full URI of the ARM template file with the SAS token.
    ParametersArtifactSourceRelativePath string
    The path to the ARM parameters file relative to the artifact source.
    ParametersUri string
    The full URI of the ARM parameters file with the SAS token.
    TemplateArtifactSourceRelativePath string
    The path to the ARM template file relative to the artifact source.
    TemplateUri string
    The full URI of the ARM template file with the SAS token.
    parametersArtifactSourceRelativePath String
    The path to the ARM parameters file relative to the artifact source.
    parametersUri String
    The full URI of the ARM parameters file with the SAS token.
    templateArtifactSourceRelativePath String
    The path to the ARM template file relative to the artifact source.
    templateUri String
    The full URI of the ARM template file with the SAS token.
    parametersArtifactSourceRelativePath string
    The path to the ARM parameters file relative to the artifact source.
    parametersUri string
    The full URI of the ARM parameters file with the SAS token.
    templateArtifactSourceRelativePath string
    The path to the ARM template file relative to the artifact source.
    templateUri string
    The full URI of the ARM template file with the SAS token.
    parameters_artifact_source_relative_path str
    The path to the ARM parameters file relative to the artifact source.
    parameters_uri str
    The full URI of the ARM parameters file with the SAS token.
    template_artifact_source_relative_path str
    The path to the ARM template file relative to the artifact source.
    template_uri str
    The full URI of the ARM template file with the SAS token.
    parametersArtifactSourceRelativePath String
    The path to the ARM parameters file relative to the artifact source.
    parametersUri String
    The full URI of the ARM parameters file with the SAS token.
    templateArtifactSourceRelativePath String
    The path to the ARM template file relative to the artifact source.
    templateUri String
    The full URI of the ARM template file with the SAS token.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:deploymentmanager:ServiceUnit myServiceUnit /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits/{serviceUnitName} 
    

    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