Azure Native v1.102.0, May 2 23
Azure Native v1.102.0, May 2 23
azure-native.servicefabric.ApplicationType
Explore with Pulumi AI
The application type name resource API Version: 2020-03-01.
Example Usage
Put an application type
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var applicationType = new AzureNative.ServiceFabric.ApplicationType("applicationType", new()
{
ApplicationTypeName = "myAppType",
ClusterName = "myCluster",
ResourceGroupName = "resRg",
});
});
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.NewApplicationType(ctx, "applicationType", &servicefabric.ApplicationTypeArgs{
ApplicationTypeName: pulumi.String("myAppType"),
ClusterName: pulumi.String("myCluster"),
ResourceGroupName: pulumi.String("resRg"),
})
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.ApplicationType;
import com.pulumi.azurenative.servicefabric.ApplicationTypeArgs;
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 applicationType = new ApplicationType("applicationType", ApplicationTypeArgs.builder()
.applicationTypeName("myAppType")
.clusterName("myCluster")
.resourceGroupName("resRg")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
application_type = azure_native.servicefabric.ApplicationType("applicationType",
application_type_name="myAppType",
cluster_name="myCluster",
resource_group_name="resRg")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const applicationType = new azure_native.servicefabric.ApplicationType("applicationType", {
applicationTypeName: "myAppType",
clusterName: "myCluster",
resourceGroupName: "resRg",
});
resources:
applicationType:
type: azure-native:servicefabric:ApplicationType
properties:
applicationTypeName: myAppType
clusterName: myCluster
resourceGroupName: resRg
Create ApplicationType Resource
new ApplicationType(name: string, args: ApplicationTypeArgs, opts?: CustomResourceOptions);
@overload
def ApplicationType(resource_name: str,
opts: Optional[ResourceOptions] = 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)
@overload
def ApplicationType(resource_name: str,
args: ApplicationTypeArgs,
opts: Optional[ResourceOptions] = None)
func NewApplicationType(ctx *Context, name string, args ApplicationTypeArgs, opts ...ResourceOption) (*ApplicationType, error)
public ApplicationType(string name, ApplicationTypeArgs args, CustomResourceOptions? opts = null)
public ApplicationType(String name, ApplicationTypeArgs args)
public ApplicationType(String name, ApplicationTypeArgs args, CustomResourceOptions options)
type: azure-native:servicefabric:ApplicationType
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationTypeArgs
- 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 ApplicationTypeArgs
- 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 ApplicationTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationTypeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ApplicationType 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 ApplicationType resource accepts the following input properties:
- Cluster
Name string The name of the cluster resource.
- Resource
Group stringName The name of the resource group.
- Application
Type stringName The name of the application type name resource.
- Location string
It will be deprecated in New API, resource location depends on the parent resource.
- Dictionary<string, string>
Azure resource tags.
- Cluster
Name string The name of the cluster resource.
- Resource
Group stringName The name of the resource group.
- Application
Type stringName The name of the application type name resource.
- Location string
It will be deprecated in New API, resource location depends on the parent resource.
- map[string]string
Azure resource tags.
- cluster
Name String The name of the cluster resource.
- resource
Group StringName The name of the resource group.
- application
Type StringName The name of the application type name resource.
- location String
It will be deprecated in New API, resource location depends on the parent resource.
- Map<String,String>
Azure resource tags.
- cluster
Name string The name of the cluster resource.
- resource
Group stringName The name of the resource group.
- application
Type stringName The name of the application type name resource.
- location string
It will be deprecated in New API, resource location depends on the parent resource.
- {[key: string]: string}
Azure resource tags.
- cluster_
name str The name of the cluster resource.
- resource_
group_ strname The name of the resource group.
- application_
type_ strname The name of the application type name resource.
- location str
It will be deprecated in New API, resource location depends on the parent resource.
- Mapping[str, str]
Azure resource tags.
- cluster
Name String The name of the cluster resource.
- resource
Group StringName The name of the resource group.
- application
Type StringName The name of the application type name resource.
- location String
It will be deprecated in New API, resource location depends on the parent resource.
- Map<String>
Azure resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationType resource produces the following output properties:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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:ApplicationType myCluster /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0