azure-native.servicefabric.ApplicationTypeVersion
Explore with Pulumi AI
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:
- App
Package stringUrl - The URL to the application package
- Application
Type stringName - The name of the application type name resource.
- Cluster
Name string - The name of the cluster resource.
- Resource
Group stringName - The name of the resource group.
- Location string
- It will be deprecated in New API, resource location depends on the parent resource.
- Dictionary<string, string>
- Azure resource tags.
- Version string
- The application type version.
- App
Package stringUrl - The URL to the application package
- Application
Type stringName - The name of the application type name resource.
- Cluster
Name string - The name of the cluster resource.
- Resource
Group stringName - The name of the resource group.
- Location string
- It will be deprecated in New API, resource location depends on the parent resource.
- map[string]string
- Azure resource tags.
- Version string
- The application type version.
- app
Package StringUrl - The URL to the application package
- application
Type StringName - The name of the application type name resource.
- cluster
Name String - The name of the cluster resource.
- resource
Group StringName - The name of the resource group.
- location String
- It will be deprecated in New API, resource location depends on the parent resource.
- Map<String,String>
- Azure resource tags.
- version String
- The application type version.
- app
Package stringUrl - The URL to the application package
- application
Type stringName - The name of the application type name resource.
- cluster
Name string - The name of the cluster resource.
- resource
Group stringName - The name of the resource group.
- location string
- It will be deprecated in New API, resource location depends on the parent resource.
- {[key: string]: string}
- Azure resource tags.
- version string
- The application type version.
- app_
package_ strurl - The URL to the application package
- application_
type_ strname - The name of the application type name resource.
- cluster_
name str - The name of the cluster resource.
- resource_
group_ strname - The name of the resource group.
- location str
- It will be deprecated in New API, resource location depends on the parent resource.
- Mapping[str, str]
- Azure resource tags.
- version str
- The application type version.
- app
Package StringUrl - The URL to the application package
- application
Type StringName - The name of the application type name resource.
- cluster
Name String - The name of the cluster resource.
- resource
Group StringName - The name of the resource group.
- location String
- It will be deprecated in New API, resource location depends on the parent resource.
- 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:
- Default
Parameter Dictionary<string, string>List - 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.
- Provisioning
State string - The current deployment or provisioning state, which only appears in the response
- Type string
- Azure resource type.
- Default
Parameter map[string]stringList - 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.
- Provisioning
State string - The current deployment or provisioning state, which only appears in the response
- Type string
- Azure resource type.
- default
Parameter Map<String,String>List - 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.
- provisioning
State String - The current deployment or provisioning state, which only appears in the response
- type String
- Azure resource type.
- default
Parameter {[key: string]: string}List - 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.
- provisioning
State string - The current deployment or provisioning state, which only appears in the response
- type string
- Azure resource type.
- default_
parameter_ Mapping[str, str]list - 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.
- default
Parameter Map<String>List - 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.
- provisioning
State 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