azure-native.servicefabric.ApplicationTypeVersion

An application type version resource for the specified application type name resource. API Version: 2020-03-01.

Example Usage

Put an application type version

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

return await Deployment.RunAsync(() => 
{
    var applicationTypeVersion = new AzureNative.ServiceFabric.ApplicationTypeVersion("applicationTypeVersion", new()
    {
        AppPackageUrl = "http://fakelink.test.com/MyAppType",
        ApplicationTypeName = "myAppType",
        ClusterName = "myCluster",
        ResourceGroupName = "resRg",
        Version = "1.0",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicefabric.NewApplicationTypeVersion(ctx, "applicationTypeVersion", &servicefabric.ApplicationTypeVersionArgs{
			AppPackageUrl:       pulumi.String("http://fakelink.test.com/MyAppType"),
			ApplicationTypeName: pulumi.String("myAppType"),
			ClusterName:         pulumi.String("myCluster"),
			ResourceGroupName:   pulumi.String("resRg"),
			Version:             pulumi.String("1.0"),
		})
		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.servicefabric.ApplicationTypeVersion;
import com.pulumi.azurenative.servicefabric.ApplicationTypeVersionArgs;
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 applicationTypeVersion = new ApplicationTypeVersion("applicationTypeVersion", ApplicationTypeVersionArgs.builder()        
            .appPackageUrl("http://fakelink.test.com/MyAppType")
            .applicationTypeName("myAppType")
            .clusterName("myCluster")
            .resourceGroupName("resRg")
            .version("1.0")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

application_type_version = azure_native.servicefabric.ApplicationTypeVersion("applicationTypeVersion",
    app_package_url="http://fakelink.test.com/MyAppType",
    application_type_name="myAppType",
    cluster_name="myCluster",
    resource_group_name="resRg",
    version="1.0")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const applicationTypeVersion = new azure_native.servicefabric.ApplicationTypeVersion("applicationTypeVersion", {
    appPackageUrl: "http://fakelink.test.com/MyAppType",
    applicationTypeName: "myAppType",
    clusterName: "myCluster",
    resourceGroupName: "resRg",
    version: "1.0",
});
resources:
  applicationTypeVersion:
    type: azure-native:servicefabric:ApplicationTypeVersion
    properties:
      appPackageUrl: http://fakelink.test.com/MyAppType
      applicationTypeName: myAppType
      clusterName: myCluster
      resourceGroupName: resRg
      version: '1.0'

Create ApplicationTypeVersion Resource

new ApplicationTypeVersion(name: string, args: ApplicationTypeVersionArgs, opts?: CustomResourceOptions);
@overload
def ApplicationTypeVersion(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           app_package_url: Optional[str] = None,
                           application_type_name: Optional[str] = None,
                           cluster_name: Optional[str] = None,
                           location: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None,
                           version: Optional[str] = None)
@overload
def ApplicationTypeVersion(resource_name: str,
                           args: ApplicationTypeVersionArgs,
                           opts: Optional[ResourceOptions] = None)
func NewApplicationTypeVersion(ctx *Context, name string, args ApplicationTypeVersionArgs, opts ...ResourceOption) (*ApplicationTypeVersion, error)
public ApplicationTypeVersion(string name, ApplicationTypeVersionArgs args, CustomResourceOptions? opts = null)
public ApplicationTypeVersion(String name, ApplicationTypeVersionArgs args)
public ApplicationTypeVersion(String name, ApplicationTypeVersionArgs args, CustomResourceOptions options)
type: azure-native:servicefabric:ApplicationTypeVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

AppPackageUrl string

The URL to the application package

ApplicationTypeName string

The name of the application type name resource.

ClusterName string

The name of the cluster resource.

ResourceGroupName string

The name of the resource group.

Location string

It will be deprecated in New API, resource location depends on the parent resource.

Tags Dictionary<string, string>

Azure resource tags.

Version string

The application type version.

AppPackageUrl string

The URL to the application package

ApplicationTypeName string

The name of the application type name resource.

ClusterName string

The name of the cluster resource.

ResourceGroupName string

The name of the resource group.

Location string

It will be deprecated in New API, resource location depends on the parent resource.

Tags map[string]string

Azure resource tags.

Version string

The application type version.

appPackageUrl String

The URL to the application package

applicationTypeName String

The name of the application type name resource.

clusterName String

The name of the cluster resource.

resourceGroupName String

The name of the resource group.

location String

It will be deprecated in New API, resource location depends on the parent resource.

tags Map<String,String>

Azure resource tags.

version String

The application type version.

appPackageUrl string

The URL to the application package

applicationTypeName string

The name of the application type name resource.

clusterName string

The name of the cluster resource.

resourceGroupName string

The name of the resource group.

location string

It will be deprecated in New API, resource location depends on the parent resource.

tags {[key: string]: string}

Azure resource tags.

version string

The application type version.

app_package_url str

The URL to the application package

application_type_name str

The name of the application type name resource.

cluster_name str

The name of the cluster resource.

resource_group_name str

The name of the resource group.

location str

It will be deprecated in New API, resource location depends on the parent resource.

tags Mapping[str, str]

Azure resource tags.

version str

The application type version.

appPackageUrl String

The URL to the application package

applicationTypeName String

The name of the application type name resource.

clusterName String

The name of the cluster resource.

resourceGroupName String

The name of the resource group.

location String

It will be deprecated in New API, resource location depends on the parent resource.

tags Map<String>

Azure resource tags.

version String

The application type version.

Outputs

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

DefaultParameterList Dictionary<string, string>

List of application type parameters that can be overridden when creating or updating the application.

Etag string

Azure resource etag.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Azure resource name.

ProvisioningState string

The current deployment or provisioning state, which only appears in the response

Type string

Azure resource type.

DefaultParameterList map[string]string

List of application type parameters that can be overridden when creating or updating the application.

Etag string

Azure resource etag.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Azure resource name.

ProvisioningState string

The current deployment or provisioning state, which only appears in the response

Type string

Azure resource type.

defaultParameterList Map<String,String>

List of application type parameters that can be overridden when creating or updating the application.

etag String

Azure resource etag.

id String

The provider-assigned unique ID for this managed resource.

name String

Azure resource name.

provisioningState String

The current deployment or provisioning state, which only appears in the response

type String

Azure resource type.

defaultParameterList {[key: string]: string}

List of application type parameters that can be overridden when creating or updating the application.

etag string

Azure resource etag.

id string

The provider-assigned unique ID for this managed resource.

name string

Azure resource name.

provisioningState string

The current deployment or provisioning state, which only appears in the response

type string

Azure resource type.

default_parameter_list Mapping[str, str]

List of application type parameters that can be overridden when creating or updating the application.

etag str

Azure resource etag.

id str

The provider-assigned unique ID for this managed resource.

name str

Azure resource name.

provisioning_state str

The current deployment or provisioning state, which only appears in the response

type str

Azure resource type.

defaultParameterList Map<String>

List of application type parameters that can be overridden when creating or updating the application.

etag String

Azure resource etag.

id String

The provider-assigned unique ID for this managed resource.

name String

Azure resource name.

provisioningState String

The current deployment or provisioning state, which only appears in the response

type String

Azure resource type.

Import

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

$ pulumi import azure-native:servicefabric:ApplicationTypeVersion myCluster /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType/versions/1.0 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0