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

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

    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 System.Linq;
    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/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

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

    Constructor syntax

    new ApplicationTypeVersion(name: string, args: ApplicationTypeVersionArgs, opts?: CustomResourceOptions);
    @overload
    def ApplicationTypeVersion(resource_name: str,
                               args: ApplicationTypeVersionArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @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,
                               resource_group_name: Optional[str] = None,
                               location: Optional[str] = None,
                               tags: Optional[Mapping[str, str]] = None,
                               version: Optional[str] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var applicationTypeVersionResource = new AzureNative.Servicefabric.ApplicationTypeVersion("applicationTypeVersionResource", new()
    {
        AppPackageUrl = "string",
        ApplicationTypeName = "string",
        ClusterName = "string",
        ResourceGroupName = "string",
        Location = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Version = "string",
    });
    
    example, err := servicefabric.NewApplicationTypeVersion(ctx, "applicationTypeVersionResource", &servicefabric.ApplicationTypeVersionArgs{
    	AppPackageUrl:       "string",
    	ApplicationTypeName: "string",
    	ClusterName:         "string",
    	ResourceGroupName:   "string",
    	Location:            "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    	Version: "string",
    })
    
    var applicationTypeVersionResource = new ApplicationTypeVersion("applicationTypeVersionResource", ApplicationTypeVersionArgs.builder()
        .appPackageUrl("string")
        .applicationTypeName("string")
        .clusterName("string")
        .resourceGroupName("string")
        .location("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .version("string")
        .build());
    
    application_type_version_resource = azure_native.servicefabric.ApplicationTypeVersion("applicationTypeVersionResource",
        app_package_url=string,
        application_type_name=string,
        cluster_name=string,
        resource_group_name=string,
        location=string,
        tags={
            string: string,
        },
        version=string)
    
    const applicationTypeVersionResource = new azure_native.servicefabric.ApplicationTypeVersion("applicationTypeVersionResource", {
        appPackageUrl: "string",
        applicationTypeName: "string",
        clusterName: "string",
        resourceGroupName: "string",
        location: "string",
        tags: {
            string: "string",
        },
        version: "string",
    });
    
    type: azure-native:servicefabric:ApplicationTypeVersion
    properties:
        appPackageUrl: string
        applicationTypeName: string
        clusterName: string
        location: string
        resourceGroupName: string
        tags:
            string: string
        version: string
    

    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 
    

    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