azure-native.servicefabric.ManagedClusterApplicationTypeVersion
Explore with Pulumi AI
An application type version resource for the specified application type name resource. Azure REST API version: 2023-03-01-preview.
Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2023-11-01-preview, 2023-12-01-preview, 2024-02-01-preview, 2024-04-01, 2024-06-01-preview, 2024-09-01-preview.
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 managedClusterApplicationTypeVersion = new AzureNative.ServiceFabric.ManagedClusterApplicationTypeVersion("managedClusterApplicationTypeVersion", new()
{
AppPackageUrl = "http://fakelink.test.com/MyAppType",
ApplicationTypeName = "myAppType",
ClusterName = "myCluster",
Location = "eastus",
ResourceGroupName = "resRg",
Version = "1.0",
});
});
package main
import (
servicefabric "github.com/pulumi/pulumi-azure-native-sdk/servicefabric/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicefabric.NewManagedClusterApplicationTypeVersion(ctx, "managedClusterApplicationTypeVersion", &servicefabric.ManagedClusterApplicationTypeVersionArgs{
AppPackageUrl: pulumi.String("http://fakelink.test.com/MyAppType"),
ApplicationTypeName: pulumi.String("myAppType"),
ClusterName: pulumi.String("myCluster"),
Location: pulumi.String("eastus"),
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.ManagedClusterApplicationTypeVersion;
import com.pulumi.azurenative.servicefabric.ManagedClusterApplicationTypeVersionArgs;
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 managedClusterApplicationTypeVersion = new ManagedClusterApplicationTypeVersion("managedClusterApplicationTypeVersion", ManagedClusterApplicationTypeVersionArgs.builder()
.appPackageUrl("http://fakelink.test.com/MyAppType")
.applicationTypeName("myAppType")
.clusterName("myCluster")
.location("eastus")
.resourceGroupName("resRg")
.version("1.0")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
managed_cluster_application_type_version = azure_native.servicefabric.ManagedClusterApplicationTypeVersion("managedClusterApplicationTypeVersion",
app_package_url="http://fakelink.test.com/MyAppType",
application_type_name="myAppType",
cluster_name="myCluster",
location="eastus",
resource_group_name="resRg",
version="1.0")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedClusterApplicationTypeVersion = new azure_native.servicefabric.ManagedClusterApplicationTypeVersion("managedClusterApplicationTypeVersion", {
appPackageUrl: "http://fakelink.test.com/MyAppType",
applicationTypeName: "myAppType",
clusterName: "myCluster",
location: "eastus",
resourceGroupName: "resRg",
version: "1.0",
});
resources:
managedClusterApplicationTypeVersion:
type: azure-native:servicefabric:ManagedClusterApplicationTypeVersion
properties:
appPackageUrl: http://fakelink.test.com/MyAppType
applicationTypeName: myAppType
clusterName: myCluster
location: eastus
resourceGroupName: resRg
version: '1.0'
Create ManagedClusterApplicationTypeVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedClusterApplicationTypeVersion(name: string, args: ManagedClusterApplicationTypeVersionArgs, opts?: CustomResourceOptions);
@overload
def ManagedClusterApplicationTypeVersion(resource_name: str,
args: ManagedClusterApplicationTypeVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedClusterApplicationTypeVersion(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 NewManagedClusterApplicationTypeVersion(ctx *Context, name string, args ManagedClusterApplicationTypeVersionArgs, opts ...ResourceOption) (*ManagedClusterApplicationTypeVersion, error)
public ManagedClusterApplicationTypeVersion(string name, ManagedClusterApplicationTypeVersionArgs args, CustomResourceOptions? opts = null)
public ManagedClusterApplicationTypeVersion(String name, ManagedClusterApplicationTypeVersionArgs args)
public ManagedClusterApplicationTypeVersion(String name, ManagedClusterApplicationTypeVersionArgs args, CustomResourceOptions options)
type: azure-native:servicefabric:ManagedClusterApplicationTypeVersion
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 ManagedClusterApplicationTypeVersionArgs
- 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 ManagedClusterApplicationTypeVersionArgs
- 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 ManagedClusterApplicationTypeVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedClusterApplicationTypeVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedClusterApplicationTypeVersionArgs
- 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 managedClusterApplicationTypeVersionResource = new AzureNative.ServiceFabric.ManagedClusterApplicationTypeVersion("managedClusterApplicationTypeVersionResource", new()
{
AppPackageUrl = "string",
ApplicationTypeName = "string",
ClusterName = "string",
ResourceGroupName = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
Version = "string",
});
example, err := servicefabric.NewManagedClusterApplicationTypeVersion(ctx, "managedClusterApplicationTypeVersionResource", &servicefabric.ManagedClusterApplicationTypeVersionArgs{
AppPackageUrl: pulumi.String("string"),
ApplicationTypeName: pulumi.String("string"),
ClusterName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Version: pulumi.String("string"),
})
var managedClusterApplicationTypeVersionResource = new ManagedClusterApplicationTypeVersion("managedClusterApplicationTypeVersionResource", ManagedClusterApplicationTypeVersionArgs.builder()
.appPackageUrl("string")
.applicationTypeName("string")
.clusterName("string")
.resourceGroupName("string")
.location("string")
.tags(Map.of("string", "string"))
.version("string")
.build());
managed_cluster_application_type_version_resource = azure_native.servicefabric.ManagedClusterApplicationTypeVersion("managedClusterApplicationTypeVersionResource",
app_package_url="string",
application_type_name="string",
cluster_name="string",
resource_group_name="string",
location="string",
tags={
"string": "string",
},
version="string")
const managedClusterApplicationTypeVersionResource = new azure_native.servicefabric.ManagedClusterApplicationTypeVersion("managedClusterApplicationTypeVersionResource", {
appPackageUrl: "string",
applicationTypeName: "string",
clusterName: "string",
resourceGroupName: "string",
location: "string",
tags: {
string: "string",
},
version: "string",
});
type: azure-native:servicefabric:ManagedClusterApplicationTypeVersion
properties:
appPackageUrl: string
applicationTypeName: string
clusterName: string
location: string
resourceGroupName: string
tags:
string: string
version: string
ManagedClusterApplicationTypeVersion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ManagedClusterApplicationTypeVersion 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
- 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
- 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
- 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
- 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
- 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
- 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 ManagedClusterApplicationTypeVersion resource produces the following output properties:
- 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
- System
Data Pulumi.Azure Native. Service Fabric. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Azure resource type.
- 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
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Azure resource type.
- 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
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- Azure resource type.
- 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
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- Azure resource type.
- 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
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- Azure resource type.
- 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
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- Azure resource type.
Supporting Types
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC).
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC).
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC).
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC).
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC).
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC).
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:servicefabric:ManagedClusterApplicationTypeVersion 1.0 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0