azure-native.integrationspaces.ApplicationResource
Explore with Pulumi AI
A resource under application. Azure REST API version: 2023-11-14-preview.
Example Usage
CreateOrUpdateApplicationResource
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var applicationResource = new AzureNative.IntegrationSpaces.ApplicationResource("applicationResource", new()
{
ApplicationName = "Application1",
ResourceGroupName = "testrg",
ResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1",
ResourceKind = "LogicApp",
ResourceName = "Resource1",
ResourceType = "Microsoft.Web/sites",
SpaceName = "Space1",
});
});
package main
import (
integrationspaces "github.com/pulumi/pulumi-azure-native-sdk/integrationspaces/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := integrationspaces.NewApplicationResource(ctx, "applicationResource", &integrationspaces.ApplicationResourceArgs{
ApplicationName: pulumi.String("Application1"),
ResourceGroupName: pulumi.String("testrg"),
ResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1"),
ResourceKind: pulumi.String("LogicApp"),
ResourceName: pulumi.String("Resource1"),
ResourceType: pulumi.String("Microsoft.Web/sites"),
SpaceName: pulumi.String("Space1"),
})
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.integrationspaces.ApplicationResource;
import com.pulumi.azurenative.integrationspaces.ApplicationResourceArgs;
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 applicationResource = new ApplicationResource("applicationResource", ApplicationResourceArgs.builder()
.applicationName("Application1")
.resourceGroupName("testrg")
.resourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1")
.resourceKind("LogicApp")
.resourceName("Resource1")
.resourceType("Microsoft.Web/sites")
.spaceName("Space1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
application_resource = azure_native.integrationspaces.ApplicationResource("applicationResource",
application_name="Application1",
resource_group_name="testrg",
resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1",
resource_kind="LogicApp",
resource_name_="Resource1",
resource_type="Microsoft.Web/sites",
space_name="Space1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const applicationResource = new azure_native.integrationspaces.ApplicationResource("applicationResource", {
applicationName: "Application1",
resourceGroupName: "testrg",
resourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1",
resourceKind: "LogicApp",
resourceName: "Resource1",
resourceType: "Microsoft.Web/sites",
spaceName: "Space1",
});
resources:
applicationResource:
type: azure-native:integrationspaces:ApplicationResource
properties:
applicationName: Application1
resourceGroupName: testrg
resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1
resourceKind: LogicApp
resourceName: Resource1
resourceType: Microsoft.Web/sites
spaceName: Space1
Create ApplicationResource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApplicationResource(name: string, args: ApplicationResourceArgs, opts?: CustomResourceOptions);
@overload
def ApplicationResource(resource_name: str,
args: ApplicationResourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApplicationResource(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_id: Optional[str] = None,
resource_type: Optional[str] = None,
space_name: Optional[str] = None,
resource_kind: Optional[str] = None,
resource_name_: Optional[str] = None)
func NewApplicationResource(ctx *Context, name string, args ApplicationResourceArgs, opts ...ResourceOption) (*ApplicationResource, error)
public ApplicationResource(string name, ApplicationResourceArgs args, CustomResourceOptions? opts = null)
public ApplicationResource(String name, ApplicationResourceArgs args)
public ApplicationResource(String name, ApplicationResourceArgs args, CustomResourceOptions options)
type: azure-native:integrationspaces:ApplicationResource
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 ApplicationResourceArgs
- 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 ApplicationResourceArgs
- 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 ApplicationResourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationResourceArgs
- 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 applicationResourceResource = new AzureNative.IntegrationSpaces.ApplicationResource("applicationResourceResource", new()
{
ApplicationName = "string",
ResourceGroupName = "string",
ResourceId = "string",
ResourceType = "string",
SpaceName = "string",
ResourceKind = "string",
ResourceName = "string",
});
example, err := integrationspaces.NewApplicationResource(ctx, "applicationResourceResource", &integrationspaces.ApplicationResourceArgs{
ApplicationName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ResourceId: pulumi.String("string"),
ResourceType: pulumi.String("string"),
SpaceName: pulumi.String("string"),
ResourceKind: pulumi.String("string"),
ResourceName: pulumi.String("string"),
})
var applicationResourceResource = new ApplicationResource("applicationResourceResource", ApplicationResourceArgs.builder()
.applicationName("string")
.resourceGroupName("string")
.resourceId("string")
.resourceType("string")
.spaceName("string")
.resourceKind("string")
.resourceName("string")
.build());
application_resource_resource = azure_native.integrationspaces.ApplicationResource("applicationResourceResource",
application_name="string",
resource_group_name="string",
resource_id="string",
resource_type="string",
space_name="string",
resource_kind="string",
resource_name_="string")
const applicationResourceResource = new azure_native.integrationspaces.ApplicationResource("applicationResourceResource", {
applicationName: "string",
resourceGroupName: "string",
resourceId: "string",
resourceType: "string",
spaceName: "string",
resourceKind: "string",
resourceName: "string",
});
type: azure-native:integrationspaces:ApplicationResource
properties:
applicationName: string
resourceGroupName: string
resourceId: string
resourceKind: string
resourceName: string
resourceType: string
spaceName: string
ApplicationResource 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 ApplicationResource resource accepts the following input properties:
- Application
Name string - The name of the Application
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Id string - The Arm id of the application resource.
- Resource
Type string - The type of the application resource.
- Space
Name string - The name of the space
- Resource
Kind string - The kind of the application resource.
- Resource
Name string - The name of the application resource.
- Application
Name string - The name of the Application
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Id string - The Arm id of the application resource.
- Resource
Type string - The type of the application resource.
- Space
Name string - The name of the space
- Resource
Kind string - The kind of the application resource.
- Resource
Name string - The name of the application resource.
- application
Name String - The name of the Application
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Id String - The Arm id of the application resource.
- resource
Type String - The type of the application resource.
- space
Name String - The name of the space
- resource
Kind String - The kind of the application resource.
- resource
Name String - The name of the application resource.
- application
Name string - The name of the Application
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Id string - The Arm id of the application resource.
- resource
Type string - The type of the application resource.
- space
Name string - The name of the space
- resource
Kind string - The kind of the application resource.
- resource
Name string - The name of the application resource.
- application_
name str - The name of the Application
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- resource_
id str - The Arm id of the application resource.
- resource_
type str - The type of the application resource.
- space_
name str - The name of the space
- resource_
kind str - The kind of the application resource.
- resource_
name str - The name of the application resource.
- application
Name String - The name of the Application
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Id String - The Arm id of the application resource.
- resource
Type String - The type of the application resource.
- space
Name String - The name of the space
- resource
Kind String - The kind of the application resource.
- resource
Name String - The name of the application resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationResource resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The status of the last operation.
- System
Data Pulumi.Azure Native. Integration Spaces. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The status of the last operation.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The status of the last operation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - The status of the last operation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - The status of the last operation.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The status of the last operation.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
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:integrationspaces:ApplicationResource Resource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/resources/{resourceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0