azure-native-v2.iotcentral.App
Explore with Pulumi AI
The IoT Central application. Azure REST API version: 2021-06-01. Prior API version in Azure Native 1.x: 2021-06-01.
Other available API versions: 2021-11-01-preview.
Create App Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new App(name: string, args: AppArgs, opts?: CustomResourceOptions);
@overload
def App(resource_name: str,
args: AppArgs,
opts: Optional[ResourceOptions] = None)
@overload
def App(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
sku: Optional[AppSkuInfoArgs] = None,
display_name: Optional[str] = None,
identity: Optional[SystemAssignedServiceIdentityArgs] = None,
location: Optional[str] = None,
resource_name_: Optional[str] = None,
subdomain: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template: Optional[str] = None)
func NewApp(ctx *Context, name string, args AppArgs, opts ...ResourceOption) (*App, error)
public App(string name, AppArgs args, CustomResourceOptions? opts = null)
type: azure-native:iotcentral:App
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. AppArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. AppArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. AppArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. AppArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. AppArgs - 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 azure_nativeAppResource = new AzureNative.Iotcentral.App("azure-nativeAppResource", new()
{
ResourceGroupName = "string",
Sku =
{
{ "name", "string" },
},
DisplayName = "string",
Identity =
{
{ "type", "string" },
},
Location = "string",
ResourceName = "string",
Subdomain = "string",
Tags =
{
{ "string", "string" },
},
Template = "string",
});
example, err := iotcentral.NewApp(ctx, "azure-nativeAppResource", &iotcentral.AppArgs{
ResourceGroupName: "string",
Sku: map[string]interface{}{
"name": "string",
},
DisplayName: "string",
Identity: map[string]interface{}{
"type": "string",
},
Location: "string",
ResourceName: "string",
Subdomain: "string",
Tags: map[string]interface{}{
"string": "string",
},
Template: "string",
})
var azure_nativeAppResource = new App("azure-nativeAppResource", AppArgs.builder()
.resourceGroupName("string")
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.displayName("string")
.identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.resourceName("string")
.subdomain("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.template("string")
.build());
azure_native_app_resource = azure_native.iotcentral.App("azure-nativeAppResource",
resource_group_name=string,
sku={
name: string,
},
display_name=string,
identity={
type: string,
},
location=string,
resource_name_=string,
subdomain=string,
tags={
string: string,
},
template=string)
const azure_nativeAppResource = new azure_native.iotcentral.App("azure-nativeAppResource", {
resourceGroupName: "string",
sku: {
name: "string",
},
displayName: "string",
identity: {
type: "string",
},
location: "string",
resourceName: "string",
subdomain: "string",
tags: {
string: "string",
},
template: "string",
});
type: azure-native:iotcentral:App
properties:
displayName: string
identity:
type: string
location: string
resourceGroupName: string
resourceName: string
sku:
name: string
subdomain: string
tags:
string: string
template: string
App 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 App resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT Central application.
- Sku
This property is required. Pulumi.Azure Native. Io TCentral. Inputs. App Sku Info - A valid instance SKU.
- Display
Name string - The display name of the application.
- Identity
Pulumi.
Azure Native. Io TCentral. Inputs. System Assigned Service Identity - The managed identities for the IoT Central application.
- Location
Changes to this property will trigger replacement.
- The resource location.
- Resource
Name Changes to this property will trigger replacement.
- The ARM resource name of the IoT Central application.
- Subdomain string
- The subdomain of the application.
- Dictionary<string, string>
- The resource tags.
- Template
Changes to this property will trigger replacement.
- The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT Central application.
- Sku
This property is required. AppSku Info Args - A valid instance SKU.
- Display
Name string - The display name of the application.
- Identity
System
Assigned Service Identity Args - The managed identities for the IoT Central application.
- Location
Changes to this property will trigger replacement.
- The resource location.
- Resource
Name Changes to this property will trigger replacement.
- The ARM resource name of the IoT Central application.
- Subdomain string
- The subdomain of the application.
- map[string]string
- The resource tags.
- Template
Changes to this property will trigger replacement.
- The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT Central application.
- sku
This property is required. AppSku Info - A valid instance SKU.
- display
Name String - The display name of the application.
- identity
System
Assigned Service Identity - The managed identities for the IoT Central application.
- location
Changes to this property will trigger replacement.
- The resource location.
- resource
Name Changes to this property will trigger replacement.
- The ARM resource name of the IoT Central application.
- subdomain String
- The subdomain of the application.
- Map<String,String>
- The resource tags.
- template
Changes to this property will trigger replacement.
- The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT Central application.
- sku
This property is required. AppSku Info - A valid instance SKU.
- display
Name string - The display name of the application.
- identity
System
Assigned Service Identity - The managed identities for the IoT Central application.
- location
Changes to this property will trigger replacement.
- The resource location.
- resource
Name Changes to this property will trigger replacement.
- The ARM resource name of the IoT Central application.
- subdomain string
- The subdomain of the application.
- {[key: string]: string}
- The resource tags.
- template
Changes to this property will trigger replacement.
- The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT Central application.
- sku
This property is required. AppSku Info Args - A valid instance SKU.
- display_
name str - The display name of the application.
- identity
System
Assigned Service Identity Args - The managed identities for the IoT Central application.
- location
Changes to this property will trigger replacement.
- The resource location.
- resource_
name Changes to this property will trigger replacement.
- The ARM resource name of the IoT Central application.
- subdomain str
- The subdomain of the application.
- Mapping[str, str]
- The resource tags.
- template
Changes to this property will trigger replacement.
- The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT Central application.
- sku
This property is required. Property Map - A valid instance SKU.
- display
Name String - The display name of the application.
- identity Property Map
- The managed identities for the IoT Central application.
- location
Changes to this property will trigger replacement.
- The resource location.
- resource
Name Changes to this property will trigger replacement.
- The ARM resource name of the IoT Central application.
- subdomain String
- The subdomain of the application.
- Map<String>
- The resource tags.
- template
Changes to this property will trigger replacement.
- The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.
Outputs
All input properties are implicitly available as output properties. Additionally, the App resource produces the following output properties:
- Application
Id string - The ID of the application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The ARM resource name.
- State string
- The current state of the application.
- Type string
- The resource type.
- Application
Id string - The ID of the application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The ARM resource name.
- State string
- The current state of the application.
- Type string
- The resource type.
- application
Id String - The ID of the application.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The ARM resource name.
- state String
- The current state of the application.
- type String
- The resource type.
- application
Id string - The ID of the application.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The ARM resource name.
- state string
- The current state of the application.
- type string
- The resource type.
- application_
id str - The ID of the application.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The ARM resource name.
- state str
- The current state of the application.
- type str
- The resource type.
- application
Id String - The ID of the application.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The ARM resource name.
- state String
- The current state of the application.
- type String
- The resource type.
Supporting Types
AppSku, AppSkuArgs
- ST0
- ST0
- ST1
- ST1
- ST2
- ST2
- App
Sku ST0 - ST0
- App
Sku ST1 - ST1
- App
Sku ST2 - ST2
- ST0
- ST0
- ST1
- ST1
- ST2
- ST2
- ST0
- ST0
- ST1
- ST1
- ST2
- ST2
- ST0
- ST0
- ST1
- ST1
- ST2
- ST2
- "ST0"
- ST0
- "ST1"
- ST1
- "ST2"
- ST2
AppSkuInfo, AppSkuInfoArgs
- Name
This property is required. string | Pulumi.Azure Native. Io TCentral. App Sku - The name of the SKU.
- name
This property is required. String | "ST0" | "ST1" | "ST2" - The name of the SKU.
AppSkuInfoResponse, AppSkuInfoResponseArgs
- Name
This property is required. string - The name of the SKU.
- Name
This property is required. string - The name of the SKU.
- name
This property is required. String - The name of the SKU.
- name
This property is required. string - The name of the SKU.
- name
This property is required. str - The name of the SKU.
- name
This property is required. String - The name of the SKU.
SystemAssignedServiceIdentity, SystemAssignedServiceIdentityArgs
- Type
This property is required. string | Pulumi.Azure Native. Io TCentral. System Assigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- Type
This property is required. string | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. String | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. string | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. str | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. String | "None" | "SystemAssigned" - Type of managed service identity (either system assigned, or none).
SystemAssignedServiceIdentityResponse, SystemAssignedServiceIdentityResponseArgs
- Principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type
This property is required. string - Type of managed service identity (either system assigned, or none).
- Principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type
This property is required. string - Type of managed service identity (either system assigned, or none).
- principal
Id This property is required. String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. String - Type of managed service identity (either system assigned, or none).
- principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. string - Type of managed service identity (either system assigned, or none).
- principal_
id This property is required. str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id This property is required. str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. str - Type of managed service identity (either system assigned, or none).
- principal
Id This property is required. String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. String - Type of managed service identity (either system assigned, or none).
SystemAssignedServiceIdentityType, SystemAssignedServiceIdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- System
Assigned Service Identity Type None - None
- System
Assigned Service Identity Type System Assigned - SystemAssigned
- None
- None
- System
Assigned - SystemAssigned
- None
- None
- System
Assigned - SystemAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:iotcentral:App myIoTCentralApp /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0