Workspace

Workspace resource. API Version: 2022-05-15.

Example Usage

Create or update a workspace

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var workspace = new AzureNative.HealthcareApis.Workspace("workspace", new()
{
Location = "westus",
ResourceGroupName = "testRG",
WorkspaceName = "workspace1",
});
});
package main
import (
healthcareapis "github.com/pulumi/pulumi-azure-native/sdk/go/azure/healthcareapis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := healthcareapis.NewWorkspace(ctx, "workspace", &healthcareapis.WorkspaceArgs{
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("testRG"),
WorkspaceName: pulumi.String("workspace1"),
})
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.healthcareapis.Workspace;
import com.pulumi.azurenative.healthcareapis.WorkspaceArgs;
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 workspace = new Workspace("workspace", WorkspaceArgs.builder()
.location("westus")
.resourceGroupName("testRG")
.workspaceName("workspace1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:healthcareapis:Workspace workspace1 /subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1

Properties

Link copied to clipboard
val etag: Output<String>?

An etag associated with the resource, used for optimistic concurrency when editing it.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>?

The resource location.

Link copied to clipboard
val name: Output<String>

The resource name.

Link copied to clipboard

Workspaces resource specific properties.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Metadata pertaining to creation and last modification of the resource.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The resource type.

Link copied to clipboard
val urn: Output<String>