ApplicationResourceArgs

data class ApplicationResourceArgs(val applicationName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val resourceId: Output<String>? = null, val resourceKind: Output<String>? = null, val resourceName: Output<String>? = null, val resourceType: Output<String>? = null, val spaceName: Output<String>? = null) : ConvertibleToJava<ApplicationResourceArgs>

A resource under application. Uses Azure REST API version 2023-11-14-preview. In version 2.x of the Azure Native provider, it used 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/v3"
"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

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}

Constructors

Link copied to clipboard
constructor(applicationName: Output<String>? = null, resourceGroupName: Output<String>? = null, resourceId: Output<String>? = null, resourceKind: Output<String>? = null, resourceName: Output<String>? = null, resourceType: Output<String>? = null, spaceName: Output<String>? = null)

Properties

Link copied to clipboard
val applicationName: Output<String>? = null

The name of the Application

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val resourceId: Output<String>? = null

The Arm id of the application resource.

Link copied to clipboard
val resourceKind: Output<String>? = null

The kind of the application resource.

Link copied to clipboard
val resourceName: Output<String>? = null

The name of the application resource.

Link copied to clipboard
val resourceType: Output<String>? = null

The type of the application resource.

Link copied to clipboard
val spaceName: Output<String>? = null

The name of the space

Functions

Link copied to clipboard
open override fun toJava(): ApplicationResourceArgs