Azure Native

v1.79.2 published on Thursday, Sep 29, 2022 by Pulumi

Deployment

Deployment resource payload API Version: 2020-07-01.

Example Usage

Deployments_CreateOrUpdate

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var deployment = new AzureNative.AppPlatform.Deployment("deployment", new()
    {
        AppName = "myapp",
        DeploymentName = "mydeployment",
        Properties = new AzureNative.AppPlatform.Inputs.DeploymentResourcePropertiesArgs
        {
            DeploymentSettings = new AzureNative.AppPlatform.Inputs.DeploymentSettingsArgs
            {
                Cpu = 1,
                EnvironmentVariables = 
                {
                    { "env", "test" },
                },
                JvmOptions = "-Xms1G -Xmx3G",
                MemoryInGB = 3,
                RuntimeVersion = "Java_8",
            },
            Source = new AzureNative.AppPlatform.Inputs.UserSourceInfoArgs
            {
                ArtifactSelector = "sub-module-1",
                RelativePath = "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc",
                Type = "Source",
                Version = "1.0",
            },
        },
        ResourceGroupName = "myResourceGroup",
        ServiceName = "myservice",
    });

});
package main

import (
	appplatform "github.com/pulumi/pulumi-azure-native/sdk/go/azure/appplatform"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appplatform.NewDeployment(ctx, "deployment", &appplatform.DeploymentArgs{
			AppName:        pulumi.String("myapp"),
			DeploymentName: pulumi.String("mydeployment"),
			Properties: &appplatform.DeploymentResourcePropertiesArgs{
				DeploymentSettings: &appplatform.DeploymentSettingsArgs{
					Cpu: pulumi.Int(1),
					EnvironmentVariables: pulumi.StringMap{
						"env": pulumi.String("test"),
					},
					JvmOptions:     pulumi.String("-Xms1G -Xmx3G"),
					MemoryInGB:     pulumi.Int(3),
					RuntimeVersion: pulumi.String("Java_8"),
				},
				Source: &appplatform.UserSourceInfoArgs{
					ArtifactSelector: pulumi.String("sub-module-1"),
					RelativePath:     pulumi.String("resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc"),
					Type:             pulumi.String("Source"),
					Version:          pulumi.String("1.0"),
				},
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
			ServiceName:       pulumi.String("myservice"),
		})
		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.appplatform.Deployment;
import com.pulumi.azurenative.appplatform.DeploymentArgs;
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 deployment = new Deployment("deployment", DeploymentArgs.builder()        
            .appName("myapp")
            .deploymentName("mydeployment")
            .properties(Map.ofEntries(
                Map.entry("deploymentSettings", Map.ofEntries(
                    Map.entry("cpu", 1),
                    Map.entry("environmentVariables", Map.of("env", "test")),
                    Map.entry("jvmOptions", "-Xms1G -Xmx3G"),
                    Map.entry("memoryInGB", 3),
                    Map.entry("runtimeVersion", "Java_8")
                )),
                Map.entry("source", Map.ofEntries(
                    Map.entry("artifactSelector", "sub-module-1"),
                    Map.entry("relativePath", "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc"),
                    Map.entry("type", "Source"),
                    Map.entry("version", "1.0")
                ))
            ))
            .resourceGroupName("myResourceGroup")
            .serviceName("myservice")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

deployment = azure_native.appplatform.Deployment("deployment",
    app_name="myapp",
    deployment_name="mydeployment",
    properties=azure_native.appplatform.DeploymentResourcePropertiesArgs(
        deployment_settings=azure_native.appplatform.DeploymentSettingsArgs(
            cpu=1,
            environment_variables={
                "env": "test",
            },
            jvm_options="-Xms1G -Xmx3G",
            memory_in_gb=3,
            runtime_version="Java_8",
        ),
        source=azure_native.appplatform.UserSourceInfoArgs(
            artifact_selector="sub-module-1",
            relative_path="resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc",
            type="Source",
            version="1.0",
        ),
    ),
    resource_group_name="myResourceGroup",
    service_name="myservice")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const deployment = new azure_native.appplatform.Deployment("deployment", {
    appName: "myapp",
    deploymentName: "mydeployment",
    properties: {
        deploymentSettings: {
            cpu: 1,
            environmentVariables: {
                env: "test",
            },
            jvmOptions: "-Xms1G -Xmx3G",
            memoryInGB: 3,
            runtimeVersion: "Java_8",
        },
        source: {
            artifactSelector: "sub-module-1",
            relativePath: "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc",
            type: "Source",
            version: "1.0",
        },
    },
    resourceGroupName: "myResourceGroup",
    serviceName: "myservice",
});
resources:
  deployment:
    type: azure-native:appplatform:Deployment
    properties:
      appName: myapp
      deploymentName: mydeployment
      properties:
        deploymentSettings:
          cpu: 1
          environmentVariables:
            env: test
          jvmOptions: -Xms1G -Xmx3G
          memoryInGB: 3
          runtimeVersion: Java_8
        source:
          artifactSelector: sub-module-1
          relativePath: resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc
          type: Source
          version: 1.0
      resourceGroupName: myResourceGroup
      serviceName: myservice

Create a Deployment Resource

new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
@overload
def Deployment(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               app_name: Optional[str] = None,
               deployment_name: Optional[str] = None,
               properties: Optional[DeploymentResourcePropertiesArgs] = None,
               resource_group_name: Optional[str] = None,
               service_name: Optional[str] = None,
               sku: Optional[SkuArgs] = None)
@overload
def Deployment(resource_name: str,
               args: DeploymentArgs,
               opts: Optional[ResourceOptions] = None)
func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)
public Deployment(string name, DeploymentArgs args, CustomResourceOptions? opts = null)
public Deployment(String name, DeploymentArgs args)
public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
type: azure-native:appplatform:Deployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DeploymentArgs
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 DeploymentArgs
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 DeploymentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DeploymentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DeploymentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

AppName string

The name of the App resource.

ResourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

ServiceName string

The name of the Service resource.

DeploymentName string

The name of the Deployment resource.

Properties Pulumi.AzureNative.AppPlatform.Inputs.DeploymentResourcePropertiesArgs

Properties of the Deployment resource

Sku Pulumi.AzureNative.AppPlatform.Inputs.SkuArgs

Sku of the Deployment resource

AppName string

The name of the App resource.

ResourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

ServiceName string

The name of the Service resource.

DeploymentName string

The name of the Deployment resource.

Properties DeploymentResourcePropertiesArgs

Properties of the Deployment resource

Sku SkuArgs

Sku of the Deployment resource

appName String

The name of the App resource.

resourceGroupName String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName String

The name of the Service resource.

deploymentName String

The name of the Deployment resource.

properties DeploymentResourcePropertiesArgs

Properties of the Deployment resource

sku SkuArgs

Sku of the Deployment resource

appName string

The name of the App resource.

resourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName string

The name of the Service resource.

deploymentName string

The name of the Deployment resource.

properties DeploymentResourcePropertiesArgs

Properties of the Deployment resource

sku SkuArgs

Sku of the Deployment resource

app_name str

The name of the App resource.

resource_group_name str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

service_name str

The name of the Service resource.

deployment_name str

The name of the Deployment resource.

properties DeploymentResourcePropertiesArgs

Properties of the Deployment resource

sku SkuArgs

Sku of the Deployment resource

appName String

The name of the App resource.

resourceGroupName String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName String

The name of the Service resource.

deploymentName String

The name of the Deployment resource.

properties Property Map

Properties of the Deployment resource

sku Property Map

Sku of the Deployment resource

Outputs

All input properties are implicitly available as output properties. Additionally, the Deployment 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.

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.

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.

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.

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.

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.

Supporting Types

DeploymentInstanceResponse

DiscoveryStatus string

Discovery status of the deployment instance

Name string

Name of the deployment instance

Reason string

Failed reason of the deployment instance

StartTime string

Start time of the deployment instance

Status string

Status of the deployment instance

DiscoveryStatus string

Discovery status of the deployment instance

Name string

Name of the deployment instance

Reason string

Failed reason of the deployment instance

StartTime string

Start time of the deployment instance

Status string

Status of the deployment instance

discoveryStatus String

Discovery status of the deployment instance

name String

Name of the deployment instance

reason String

Failed reason of the deployment instance

startTime String

Start time of the deployment instance

status String

Status of the deployment instance

discoveryStatus string

Discovery status of the deployment instance

name string

Name of the deployment instance

reason string

Failed reason of the deployment instance

startTime string

Start time of the deployment instance

status string

Status of the deployment instance

discovery_status str

Discovery status of the deployment instance

name str

Name of the deployment instance

reason str

Failed reason of the deployment instance

start_time str

Start time of the deployment instance

status str

Status of the deployment instance

discoveryStatus String

Discovery status of the deployment instance

name String

Name of the deployment instance

reason String

Failed reason of the deployment instance

startTime String

Start time of the deployment instance

status String

Status of the deployment instance

DeploymentResourceProperties

DeploymentSettings DeploymentSettings

Deployment settings of the Deployment

Source UserSourceInfo

Uploaded source information of the deployment.

deploymentSettings DeploymentSettings

Deployment settings of the Deployment

source UserSourceInfo

Uploaded source information of the deployment.

deploymentSettings DeploymentSettings

Deployment settings of the Deployment

source UserSourceInfo

Uploaded source information of the deployment.

deployment_settings DeploymentSettings

Deployment settings of the Deployment

source UserSourceInfo

Uploaded source information of the deployment.

deploymentSettings Property Map

Deployment settings of the Deployment

source Property Map

Uploaded source information of the deployment.

DeploymentResourcePropertiesResponse

Active bool

Indicates whether the Deployment is active

AppName string

App name of the deployment

CreatedTime string

Date time when the resource is created

Instances List<Pulumi.AzureNative.AppPlatform.Inputs.DeploymentInstanceResponse>

Collection of instances belong to the Deployment

ProvisioningState string

Provisioning state of the Deployment

Status string

Status of the Deployment

DeploymentSettings Pulumi.AzureNative.AppPlatform.Inputs.DeploymentSettingsResponse

Deployment settings of the Deployment

Source Pulumi.AzureNative.AppPlatform.Inputs.UserSourceInfoResponse

Uploaded source information of the deployment.

Active bool

Indicates whether the Deployment is active

AppName string

App name of the deployment

CreatedTime string

Date time when the resource is created

Instances []DeploymentInstanceResponse

Collection of instances belong to the Deployment

ProvisioningState string

Provisioning state of the Deployment

Status string

Status of the Deployment

DeploymentSettings DeploymentSettingsResponse

Deployment settings of the Deployment

Source UserSourceInfoResponse

Uploaded source information of the deployment.

active Boolean

Indicates whether the Deployment is active

appName String

App name of the deployment

createdTime String

Date time when the resource is created

instances List<DeploymentInstanceResponse>

Collection of instances belong to the Deployment

provisioningState String

Provisioning state of the Deployment

status String

Status of the Deployment

deploymentSettings DeploymentSettingsResponse

Deployment settings of the Deployment

source UserSourceInfoResponse

Uploaded source information of the deployment.

active boolean

Indicates whether the Deployment is active

appName string

App name of the deployment

createdTime string

Date time when the resource is created

instances DeploymentInstanceResponse[]

Collection of instances belong to the Deployment

provisioningState string

Provisioning state of the Deployment

status string

Status of the Deployment

deploymentSettings DeploymentSettingsResponse

Deployment settings of the Deployment

source UserSourceInfoResponse

Uploaded source information of the deployment.

active bool

Indicates whether the Deployment is active

app_name str

App name of the deployment

created_time str

Date time when the resource is created

instances Sequence[DeploymentInstanceResponse]

Collection of instances belong to the Deployment

provisioning_state str

Provisioning state of the Deployment

status str

Status of the Deployment

deployment_settings DeploymentSettingsResponse

Deployment settings of the Deployment

source UserSourceInfoResponse

Uploaded source information of the deployment.

active Boolean

Indicates whether the Deployment is active

appName String

App name of the deployment

createdTime String

Date time when the resource is created

instances List<Property Map>

Collection of instances belong to the Deployment

provisioningState String

Provisioning state of the Deployment

status String

Status of the Deployment

deploymentSettings Property Map

Deployment settings of the Deployment

source Property Map

Uploaded source information of the deployment.

DeploymentSettings

Cpu int

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

EnvironmentVariables Dictionary<string, string>

Collection of environment variables

JvmOptions string

JVM parameter

MemoryInGB int

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

NetCoreMainEntryPath string

The path to the .NET executable relative to zip root

RuntimeVersion string | Pulumi.AzureNative.AppPlatform.RuntimeVersion

Runtime version

Cpu int

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

EnvironmentVariables map[string]string

Collection of environment variables

JvmOptions string

JVM parameter

MemoryInGB int

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

NetCoreMainEntryPath string

The path to the .NET executable relative to zip root

RuntimeVersion string | RuntimeVersion

Runtime version

cpu Integer

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

environmentVariables Map<String,String>

Collection of environment variables

jvmOptions String

JVM parameter

memoryInGB Integer

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

netCoreMainEntryPath String

The path to the .NET executable relative to zip root

runtimeVersion String | RuntimeVersion

Runtime version

cpu number

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

environmentVariables {[key: string]: string}

Collection of environment variables

jvmOptions string

JVM parameter

memoryInGB number

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

netCoreMainEntryPath string

The path to the .NET executable relative to zip root

runtimeVersion string | RuntimeVersion

Runtime version

cpu int

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

environment_variables Mapping[str, str]

Collection of environment variables

jvm_options str

JVM parameter

memory_in_gb int

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

net_core_main_entry_path str

The path to the .NET executable relative to zip root

runtime_version str | RuntimeVersion

Runtime version

cpu Number

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

environmentVariables Map<String>

Collection of environment variables

jvmOptions String

JVM parameter

memoryInGB Number

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

netCoreMainEntryPath String

The path to the .NET executable relative to zip root

runtimeVersion String | "Java_8" | "Java_11" | "NetCore_31"

Runtime version

DeploymentSettingsResponse

Cpu int

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

EnvironmentVariables Dictionary<string, string>

Collection of environment variables

JvmOptions string

JVM parameter

MemoryInGB int

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

NetCoreMainEntryPath string

The path to the .NET executable relative to zip root

RuntimeVersion string

Runtime version

Cpu int

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

EnvironmentVariables map[string]string

Collection of environment variables

JvmOptions string

JVM parameter

MemoryInGB int

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

NetCoreMainEntryPath string

The path to the .NET executable relative to zip root

RuntimeVersion string

Runtime version

cpu Integer

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

environmentVariables Map<String,String>

Collection of environment variables

jvmOptions String

JVM parameter

memoryInGB Integer

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

netCoreMainEntryPath String

The path to the .NET executable relative to zip root

runtimeVersion String

Runtime version

cpu number

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

environmentVariables {[key: string]: string}

Collection of environment variables

jvmOptions string

JVM parameter

memoryInGB number

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

netCoreMainEntryPath string

The path to the .NET executable relative to zip root

runtimeVersion string

Runtime version

cpu int

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

environment_variables Mapping[str, str]

Collection of environment variables

jvm_options str

JVM parameter

memory_in_gb int

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

net_core_main_entry_path str

The path to the .NET executable relative to zip root

runtime_version str

Runtime version

cpu Number

Required CPU, basic tier should be 1, standard tier should be in range (1, 4)

environmentVariables Map<String>

Collection of environment variables

jvmOptions String

JVM parameter

memoryInGB Number

Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)

netCoreMainEntryPath String

The path to the .NET executable relative to zip root

runtimeVersion String

Runtime version

RuntimeVersion

Java_8
Java_8
Java_11
Java_11
NetCore_31
NetCore_31
RuntimeVersion_Java_8
Java_8
RuntimeVersion_Java_11
Java_11
RuntimeVersion_NetCore_31
NetCore_31
Java_8
Java_8
Java_11
Java_11
NetCore_31
NetCore_31
Java_8
Java_8
Java_11
Java_11
NetCore_31
NetCore_31
JAVA_8
Java_8
JAVA_11
Java_11
NET_CORE_31
NetCore_31
"Java_8"
Java_8
"Java_11"
Java_11
"NetCore_31"
NetCore_31

Sku

Capacity int

Current capacity of the target resource

Name string

Name of the Sku

Tier string

Tier of the Sku

Capacity int

Current capacity of the target resource

Name string

Name of the Sku

Tier string

Tier of the Sku

capacity Integer

Current capacity of the target resource

name String

Name of the Sku

tier String

Tier of the Sku

capacity number

Current capacity of the target resource

name string

Name of the Sku

tier string

Tier of the Sku

capacity int

Current capacity of the target resource

name str

Name of the Sku

tier str

Tier of the Sku

capacity Number

Current capacity of the target resource

name String

Name of the Sku

tier String

Tier of the Sku

SkuResponse

Capacity int

Current capacity of the target resource

Name string

Name of the Sku

Tier string

Tier of the Sku

Capacity int

Current capacity of the target resource

Name string

Name of the Sku

Tier string

Tier of the Sku

capacity Integer

Current capacity of the target resource

name String

Name of the Sku

tier String

Tier of the Sku

capacity number

Current capacity of the target resource

name string

Name of the Sku

tier string

Tier of the Sku

capacity int

Current capacity of the target resource

name str

Name of the Sku

tier str

Tier of the Sku

capacity Number

Current capacity of the target resource

name String

Name of the Sku

tier String

Tier of the Sku

UserSourceInfo

ArtifactSelector string

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

RelativePath string

Relative path of the storage which stores the source

Type string | Pulumi.AzureNative.AppPlatform.UserSourceType

Type of the source uploaded

Version string

Version of the source

ArtifactSelector string

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

RelativePath string

Relative path of the storage which stores the source

Type string | UserSourceType

Type of the source uploaded

Version string

Version of the source

artifactSelector String

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

relativePath String

Relative path of the storage which stores the source

type String | UserSourceType

Type of the source uploaded

version String

Version of the source

artifactSelector string

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

relativePath string

Relative path of the storage which stores the source

type string | UserSourceType

Type of the source uploaded

version string

Version of the source

artifact_selector str

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

relative_path str

Relative path of the storage which stores the source

type str | UserSourceType

Type of the source uploaded

version str

Version of the source

artifactSelector String

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

relativePath String

Relative path of the storage which stores the source

type String | "Jar" | "NetCoreZip" | "Source"

Type of the source uploaded

version String

Version of the source

UserSourceInfoResponse

ArtifactSelector string

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

RelativePath string

Relative path of the storage which stores the source

Type string

Type of the source uploaded

Version string

Version of the source

ArtifactSelector string

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

RelativePath string

Relative path of the storage which stores the source

Type string

Type of the source uploaded

Version string

Version of the source

artifactSelector String

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

relativePath String

Relative path of the storage which stores the source

type String

Type of the source uploaded

version String

Version of the source

artifactSelector string

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

relativePath string

Relative path of the storage which stores the source

type string

Type of the source uploaded

version string

Version of the source

artifact_selector str

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

relative_path str

Relative path of the storage which stores the source

type str

Type of the source uploaded

version str

Version of the source

artifactSelector String

Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.

relativePath String

Relative path of the storage which stores the source

type String

Type of the source uploaded

version String

Version of the source

UserSourceType

Jar
Jar
NetCoreZip
NetCoreZip
Source
Source
UserSourceTypeJar
Jar
UserSourceTypeNetCoreZip
NetCoreZip
UserSourceTypeSource
Source
Jar
Jar
NetCoreZip
NetCoreZip
Source
Source
Jar
Jar
NetCoreZip
NetCoreZip
Source
Source
JAR
Jar
NET_CORE_ZIP
NetCoreZip
SOURCE
Source
"Jar"
Jar
"NetCoreZip"
NetCoreZip
"Source"
Source

Import

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

$ pulumi import azure-native:appplatform:Deployment mydeployment /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0