Class Application
Manages an IoT Central Application
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleApplication = new Azure.IotCentral.Application("exampleApplication", new Azure.IotCentral.ApplicationArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
SubDomain = "example-iotcentral-app-subdomain",
DisplayName = "example-iotcentral-app-display-name",
Sku = "S1",
Template = "iotc-default@1.0.0",
Tags =
{
{ "Foo", "Bar" },
},
});
}
}
Inherited Members
Namespace: Pulumi.Azure.IotCentral
Assembly: Pulumi.Azure.dll
Syntax
public class Application : CustomResource
Constructors
View SourceApplication(String, ApplicationArgs, CustomResourceOptions)
Create a Application resource with the given unique name, arguments, and options.
Declaration
public Application(string name, ApplicationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ApplicationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDisplayName
A display_name name. Custom display name for the IoT Central application. Default is resource name.
Declaration
public Output<string> DisplayName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Location
Specifies the supported Azure location where the resource has to be create. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Sku
A sku name. Possible values is ST1, ST2, Default value is ST1
Declaration
public Output<string> Sku { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SubDomain
A sub_domain name. Subdomain for the IoT Central URL. Each application must have a unique subdomain.
Declaration
public Output<string> SubDomain { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Template
A template name. IoT Central application template name. Default is a custom application.
Declaration
public Output<string> Template { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ApplicationState, CustomResourceOptions)
Get an existing Application resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Application Get(string name, Input<string> id, ApplicationState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ApplicationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Application |