azure-native.appplatform.Deployment
Explore with Pulumi AI
Deployment resource payload API Version: 2020-07-01.
Example Usage
Deployments_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
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/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.DeploymentResourcePropertiesResponse{
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.DeploymentResourcePropertiesResponseArgs(
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 Deployment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
@overload
def Deployment(resource_name: str,
args: DeploymentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Deployment(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
deployment_name: Optional[str] = None,
properties: Optional[DeploymentResourcePropertiesArgs] = None,
sku: Optional[SkuArgs] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var deploymentResource = new AzureNative.Appplatform.Deployment("deploymentResource", new()
{
AppName = "string",
ResourceGroupName = "string",
ServiceName = "string",
DeploymentName = "string",
Properties =
{
{ "deploymentSettings",
{
{ "cpu", 0 },
{ "environmentVariables",
{
{ "string", "string" },
} },
{ "jvmOptions", "string" },
{ "memoryInGB", 0 },
{ "netCoreMainEntryPath", "string" },
{ "runtimeVersion", "string" },
} },
{ "source",
{
{ "artifactSelector", "string" },
{ "relativePath", "string" },
{ "type", "string" },
{ "version", "string" },
} },
},
Sku =
{
{ "capacity", 0 },
{ "name", "string" },
{ "tier", "string" },
},
});
example, err := appplatform.NewDeployment(ctx, "deploymentResource", &appplatform.DeploymentArgs{
AppName: "string",
ResourceGroupName: "string",
ServiceName: "string",
DeploymentName: "string",
Properties: map[string]interface{}{
"deploymentSettings": map[string]interface{}{
"cpu": 0,
"environmentVariables": map[string]interface{}{
"string": "string",
},
"jvmOptions": "string",
"memoryInGB": 0,
"netCoreMainEntryPath": "string",
"runtimeVersion": "string",
},
"source": map[string]interface{}{
"artifactSelector": "string",
"relativePath": "string",
"type": "string",
"version": "string",
},
},
Sku: map[string]interface{}{
"capacity": 0,
"name": "string",
"tier": "string",
},
})
var deploymentResource = new Deployment("deploymentResource", DeploymentArgs.builder()
.appName("string")
.resourceGroupName("string")
.serviceName("string")
.deploymentName("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
deployment_resource = azure_native.appplatform.Deployment("deploymentResource",
app_name=string,
resource_group_name=string,
service_name=string,
deployment_name=string,
properties={
deploymentSettings: {
cpu: 0,
environmentVariables: {
string: string,
},
jvmOptions: string,
memoryInGB: 0,
netCoreMainEntryPath: string,
runtimeVersion: string,
},
source: {
artifactSelector: string,
relativePath: string,
type: string,
version: string,
},
},
sku={
capacity: 0,
name: string,
tier: string,
})
const deploymentResource = new azure_native.appplatform.Deployment("deploymentResource", {
appName: "string",
resourceGroupName: "string",
serviceName: "string",
deploymentName: "string",
properties: {
deploymentSettings: {
cpu: 0,
environmentVariables: {
string: "string",
},
jvmOptions: "string",
memoryInGB: 0,
netCoreMainEntryPath: "string",
runtimeVersion: "string",
},
source: {
artifactSelector: "string",
relativePath: "string",
type: "string",
version: "string",
},
},
sku: {
capacity: 0,
name: "string",
tier: "string",
},
});
type: azure-native:appplatform:Deployment
properties:
appName: string
deploymentName: string
properties:
deploymentSettings:
cpu: 0
environmentVariables:
string: string
jvmOptions: string
memoryInGB: 0
netCoreMainEntryPath: string
runtimeVersion: string
source:
artifactSelector: string
relativePath: string
type: string
version: string
resourceGroupName: string
serviceName: string
sku:
capacity: 0
name: string
tier: string
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:
- App
Name string - The name of the App resource.
- Resource
Group stringName - 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 string - The name of the Service resource.
- Deployment
Name string - The name of the Deployment resource.
- Properties
Pulumi.
Azure Native. App Platform. Inputs. Deployment Resource Properties - Properties of the Deployment resource
- Sku
Pulumi.
Azure Native. App Platform. Inputs. Sku - Sku of the Deployment resource
- App
Name string - The name of the App resource.
- Resource
Group stringName - 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 string - The name of the Service resource.
- Deployment
Name string - The name of the Deployment resource.
- Properties
Deployment
Resource Properties Args - Properties of the Deployment resource
- Sku
Sku
Args - Sku of the Deployment resource
- app
Name String - The name of the App resource.
- resource
Group StringName - 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 String - The name of the Service resource.
- deployment
Name String - The name of the Deployment resource.
- properties
Deployment
Resource Properties - Properties of the Deployment resource
- sku Sku
- Sku of the Deployment resource
- app
Name string - The name of the App resource.
- resource
Group stringName - 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 string - The name of the Service resource.
- deployment
Name string - The name of the Deployment resource.
- properties
Deployment
Resource Properties - Properties of the Deployment resource
- sku Sku
- Sku of the Deployment resource
- app_
name str - The name of the App resource.
- resource_
group_ strname - 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
Deployment
Resource Properties Args - Properties of the Deployment resource
- sku
Sku
Args - Sku of the Deployment resource
- app
Name String - The name of the App resource.
- resource
Group StringName - 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 String - The name of the Service resource.
- deployment
Name 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:
Supporting Types
DeploymentInstanceResponse, DeploymentInstanceResponseArgs
- Discovery
Status string - Discovery status of the deployment instance
- Name string
- Name of the deployment instance
- Reason string
- Failed reason of the deployment instance
- Start
Time string - Start time of the deployment instance
- Status string
- Status of the deployment instance
- Discovery
Status string - Discovery status of the deployment instance
- Name string
- Name of the deployment instance
- Reason string
- Failed reason of the deployment instance
- Start
Time string - Start time of the deployment instance
- Status string
- Status of the deployment instance
- discovery
Status String - Discovery status of the deployment instance
- name String
- Name of the deployment instance
- reason String
- Failed reason of the deployment instance
- start
Time String - Start time of the deployment instance
- status String
- Status of the deployment instance
- discovery
Status string - Discovery status of the deployment instance
- name string
- Name of the deployment instance
- reason string
- Failed reason of the deployment instance
- start
Time 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
- discovery
Status String - Discovery status of the deployment instance
- name String
- Name of the deployment instance
- reason String
- Failed reason of the deployment instance
- start
Time String - Start time of the deployment instance
- status String
- Status of the deployment instance
DeploymentResourceProperties, DeploymentResourcePropertiesArgs
- Deployment
Settings Pulumi.Azure Native. App Platform. Inputs. Deployment Settings - Deployment settings of the Deployment
- Source
Pulumi.
Azure Native. App Platform. Inputs. User Source Info - Uploaded source information of the deployment.
- Deployment
Settings DeploymentSettings - Deployment settings of the Deployment
- Source
User
Source Info - Uploaded source information of the deployment.
- deployment
Settings DeploymentSettings - Deployment settings of the Deployment
- source
User
Source Info - Uploaded source information of the deployment.
- deployment
Settings DeploymentSettings - Deployment settings of the Deployment
- source
User
Source Info - Uploaded source information of the deployment.
- deployment_
settings DeploymentSettings - Deployment settings of the Deployment
- source
User
Source Info - Uploaded source information of the deployment.
- deployment
Settings Property Map - Deployment settings of the Deployment
- source Property Map
- Uploaded source information of the deployment.
DeploymentResourcePropertiesResponse, DeploymentResourcePropertiesResponseArgs
- Active bool
- Indicates whether the Deployment is active
- App
Name string - App name of the deployment
- Created
Time string - Date time when the resource is created
- Instances
List<Pulumi.
Azure Native. App Platform. Inputs. Deployment Instance Response> - Collection of instances belong to the Deployment
- Provisioning
State string - Provisioning state of the Deployment
- Status string
- Status of the Deployment
- Deployment
Settings Pulumi.Azure Native. App Platform. Inputs. Deployment Settings Response - Deployment settings of the Deployment
- Source
Pulumi.
Azure Native. App Platform. Inputs. User Source Info Response - Uploaded source information of the deployment.
- Active bool
- Indicates whether the Deployment is active
- App
Name string - App name of the deployment
- Created
Time string - Date time when the resource is created
- Instances
[]Deployment
Instance Response - Collection of instances belong to the Deployment
- Provisioning
State string - Provisioning state of the Deployment
- Status string
- Status of the Deployment
- Deployment
Settings DeploymentSettings Response - Deployment settings of the Deployment
- Source
User
Source Info Response - Uploaded source information of the deployment.
- active Boolean
- Indicates whether the Deployment is active
- app
Name String - App name of the deployment
- created
Time String - Date time when the resource is created
- instances
List<Deployment
Instance Response> - Collection of instances belong to the Deployment
- provisioning
State String - Provisioning state of the Deployment
- status String
- Status of the Deployment
- deployment
Settings DeploymentSettings Response - Deployment settings of the Deployment
- source
User
Source Info Response - Uploaded source information of the deployment.
- active boolean
- Indicates whether the Deployment is active
- app
Name string - App name of the deployment
- created
Time string - Date time when the resource is created
- instances
Deployment
Instance Response[] - Collection of instances belong to the Deployment
- provisioning
State string - Provisioning state of the Deployment
- status string
- Status of the Deployment
- deployment
Settings DeploymentSettings Response - Deployment settings of the Deployment
- source
User
Source Info Response - 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[Deployment
Instance Response] - Collection of instances belong to the Deployment
- provisioning_
state str - Provisioning state of the Deployment
- status str
- Status of the Deployment
- deployment_
settings DeploymentSettings Response - Deployment settings of the Deployment
- source
User
Source Info Response - Uploaded source information of the deployment.
- active Boolean
- Indicates whether the Deployment is active
- app
Name String - App name of the deployment
- created
Time String - Date time when the resource is created
- instances List<Property Map>
- Collection of instances belong to the Deployment
- provisioning
State String - Provisioning state of the Deployment
- status String
- Status of the Deployment
- deployment
Settings Property Map - Deployment settings of the Deployment
- source Property Map
- Uploaded source information of the deployment.
DeploymentSettings, DeploymentSettingsArgs
- Cpu int
- Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
- Environment
Variables Dictionary<string, string> - Collection of environment variables
- Jvm
Options string - JVM parameter
- Memory
In intGB - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- Net
Core stringMain Entry Path - The path to the .NET executable relative to zip root
- Runtime
Version string | Pulumi.Azure Native. App Platform. Runtime Version - Runtime version
- Cpu int
- Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
- Environment
Variables map[string]string - Collection of environment variables
- Jvm
Options string - JVM parameter
- Memory
In intGB - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- Net
Core stringMain Entry Path - The path to the .NET executable relative to zip root
- Runtime
Version string | RuntimeVersion - Runtime version
- cpu Integer
- Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
- environment
Variables Map<String,String> - Collection of environment variables
- jvm
Options String - JVM parameter
- memory
In IntegerGB - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net
Core StringMain Entry Path - The path to the .NET executable relative to zip root
- runtime
Version String | RuntimeVersion - Runtime version
- cpu number
- Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
- environment
Variables {[key: string]: string} - Collection of environment variables
- jvm
Options string - JVM parameter
- memory
In numberGB - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net
Core stringMain Entry Path - The path to the .NET executable relative to zip root
- runtime
Version 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_ intgb - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net_
core_ strmain_ entry_ path - 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)
- environment
Variables Map<String> - Collection of environment variables
- jvm
Options String - JVM parameter
- memory
In NumberGB - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net
Core StringMain Entry Path - The path to the .NET executable relative to zip root
- runtime
Version String | "Java_8" | "Java_11" | "NetCore_31" - Runtime version
DeploymentSettingsResponse, DeploymentSettingsResponseArgs
- Cpu int
- Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
- Environment
Variables Dictionary<string, string> - Collection of environment variables
- Jvm
Options string - JVM parameter
- Memory
In intGB - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- Net
Core stringMain Entry Path - The path to the .NET executable relative to zip root
- Runtime
Version string - Runtime version
- Cpu int
- Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
- Environment
Variables map[string]string - Collection of environment variables
- Jvm
Options string - JVM parameter
- Memory
In intGB - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- Net
Core stringMain Entry Path - The path to the .NET executable relative to zip root
- Runtime
Version string - Runtime version
- cpu Integer
- Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
- environment
Variables Map<String,String> - Collection of environment variables
- jvm
Options String - JVM parameter
- memory
In IntegerGB - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net
Core StringMain Entry Path - The path to the .NET executable relative to zip root
- runtime
Version String - Runtime version
- cpu number
- Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
- environment
Variables {[key: string]: string} - Collection of environment variables
- jvm
Options string - JVM parameter
- memory
In numberGB - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net
Core stringMain Entry Path - The path to the .NET executable relative to zip root
- runtime
Version 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_ intgb - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net_
core_ strmain_ entry_ path - 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)
- environment
Variables Map<String> - Collection of environment variables
- jvm
Options String - JVM parameter
- memory
In NumberGB - Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net
Core StringMain Entry Path - The path to the .NET executable relative to zip root
- runtime
Version String - Runtime version
RuntimeVersion, RuntimeVersionArgs
- Java_8
- Java_8
- Java_11
- Java_11
- Net
Core_31 - NetCore_31
- Runtime
Version_Java_8 - Java_8
- Runtime
Version_Java_11 - Java_11
- Runtime
Version_Net Core_31 - NetCore_31
- Java_8
- Java_8
- Java_11
- Java_11
- Net
Core_31 - NetCore_31
- Java_8
- Java_8
- Java_11
- Java_11
- Net
Core_31 - NetCore_31
- JAVA_8
- Java_8
- JAVA_11
- Java_11
- NET_CORE_31
- NetCore_31
- "Java_8"
- Java_8
- "Java_11"
- Java_11
- "Net
Core_31" - NetCore_31
Sku, SkuArgs
SkuResponse, SkuResponseArgs
UserSourceInfo, UserSourceInfoArgs
- Artifact
Selector 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.
- Relative
Path string - Relative path of the storage which stores the source
- Type
string | Pulumi.
Azure Native. App Platform. User Source Type - Type of the source uploaded
- Version string
- Version of the source
- Artifact
Selector 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.
- Relative
Path string - Relative path of the storage which stores the source
- Type
string | User
Source Type - Type of the source uploaded
- Version string
- Version of the source
- artifact
Selector 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.
- relative
Path String - Relative path of the storage which stores the source
- type
String | User
Source Type - Type of the source uploaded
- version String
- Version of the source
- artifact
Selector 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.
- relative
Path string - Relative path of the storage which stores the source
- type
string | User
Source Type - 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 | User
Source Type - Type of the source uploaded
- version str
- Version of the source
- artifact
Selector 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.
- relative
Path String - Relative path of the storage which stores the source
- type
String | "Jar" | "Net
Core Zip" | "Source" - Type of the source uploaded
- version String
- Version of the source
UserSourceInfoResponse, UserSourceInfoResponseArgs
- Artifact
Selector 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.
- Relative
Path 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 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.
- Relative
Path 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 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.
- relative
Path 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 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.
- relative
Path 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
- artifact
Selector 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.
- relative
Path String - Relative path of the storage which stores the source
- type String
- Type of the source uploaded
- version String
- Version of the source
UserSourceType, UserSourceTypeArgs
- Jar
- Jar
- Net
Core Zip - NetCoreZip
- Source
- Source
- User
Source Type Jar - Jar
- User
Source Type Net Core Zip - NetCoreZip
- User
Source Type Source - Source
- Jar
- Jar
- Net
Core Zip - NetCoreZip
- Source
- Source
- Jar
- Jar
- Net
Core Zip - NetCoreZip
- Source
- Source
- JAR
- Jar
- NET_CORE_ZIP
- NetCoreZip
- SOURCE
- Source
- "Jar"
- Jar
- "Net
Core Zip" - 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
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