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 System.Linq;
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/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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApplicationType(name: string, args: ApplicationTypeArgs, opts?: CustomResourceOptions);
@overload
def ApplicationType(resource_name: str,
args: ApplicationTypeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApplicationType(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
application_type_name: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var applicationTypeResource = new AzureNative.Servicefabric.ApplicationType("applicationTypeResource", new()
{
ClusterName = "string",
ResourceGroupName = "string",
ApplicationTypeName = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := servicefabric.NewApplicationType(ctx, "applicationTypeResource", &servicefabric.ApplicationTypeArgs{
ClusterName: "string",
ResourceGroupName: "string",
ApplicationTypeName: "string",
Location: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var applicationTypeResource = new ApplicationType("applicationTypeResource", ApplicationTypeArgs.builder()
.clusterName("string")
.resourceGroupName("string")
.applicationTypeName("string")
.location("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
application_type_resource = azure_native.servicefabric.ApplicationType("applicationTypeResource",
cluster_name=string,
resource_group_name=string,
application_type_name=string,
location=string,
tags={
string: string,
})
const applicationTypeResource = new azure_native.servicefabric.ApplicationType("applicationTypeResource", {
clusterName: "string",
resourceGroupName: "string",
applicationTypeName: "string",
location: "string",
tags: {
string: "string",
},
});
type: azure-native:servicefabric:ApplicationType
properties:
applicationTypeName: string
clusterName: string
location: string
resourceGroupName: string
tags:
string: string
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
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