We recommend using Azure Native.
azure.healthcare.Workspace
Explore with Pulumi AI
Manages a Healthcare workspace
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const test = new azure.healthcare.Workspace("test", {
name: "tfexworkspace",
resourceGroupName: "tfex-resource_group",
location: "east us",
});
import pulumi
import pulumi_azure as azure
test = azure.healthcare.Workspace("test",
name="tfexworkspace",
resource_group_name="tfex-resource_group",
location="east us")
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/healthcare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := healthcare.NewWorkspace(ctx, "test", &healthcare.WorkspaceArgs{
Name: pulumi.String("tfexworkspace"),
ResourceGroupName: pulumi.String("tfex-resource_group"),
Location: pulumi.String("east us"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var test = new Azure.Healthcare.Workspace("test", new()
{
Name = "tfexworkspace",
ResourceGroupName = "tfex-resource_group",
Location = "east us",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.healthcare.Workspace;
import com.pulumi.azure.healthcare.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 test = new Workspace("test", WorkspaceArgs.builder()
.name("tfexworkspace")
.resourceGroupName("tfex-resource_group")
.location("east us")
.build());
}
}
resources:
test:
type: azure:healthcare:Workspace
properties:
name: tfexworkspace
resourceGroupName: tfex-resource_group
location: east us
Create Workspace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Workspace(name: string, args: WorkspaceArgs, opts?: CustomResourceOptions);
@overload
def Workspace(resource_name: str,
args: WorkspaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Workspace(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewWorkspace(ctx *Context, name string, args WorkspaceArgs, opts ...ResourceOption) (*Workspace, error)
public Workspace(string name, WorkspaceArgs args, CustomResourceOptions? opts = null)
public Workspace(String name, WorkspaceArgs args)
public Workspace(String name, WorkspaceArgs args, CustomResourceOptions options)
type: azure:healthcare:Workspace
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 WorkspaceArgs
- 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 WorkspaceArgs
- 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 WorkspaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkspaceArgs
- 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 exampleworkspaceResourceResourceFromHealthcareworkspace = new Azure.Healthcare.Workspace("exampleworkspaceResourceResourceFromHealthcareworkspace", new()
{
ResourceGroupName = "string",
Location = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := healthcare.NewWorkspace(ctx, "exampleworkspaceResourceResourceFromHealthcareworkspace", &healthcare.WorkspaceArgs{
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var exampleworkspaceResourceResourceFromHealthcareworkspace = new Workspace("exampleworkspaceResourceResourceFromHealthcareworkspace", WorkspaceArgs.builder()
.resourceGroupName("string")
.location("string")
.name("string")
.tags(Map.of("string", "string"))
.build());
exampleworkspace_resource_resource_from_healthcareworkspace = azure.healthcare.Workspace("exampleworkspaceResourceResourceFromHealthcareworkspace",
resource_group_name="string",
location="string",
name="string",
tags={
"string": "string",
})
const exampleworkspaceResourceResourceFromHealthcareworkspace = new azure.healthcare.Workspace("exampleworkspaceResourceResourceFromHealthcareworkspace", {
resourceGroupName: "string",
location: "string",
name: "string",
tags: {
string: "string",
},
});
type: azure:healthcare:Workspace
properties:
location: string
name: string
resourceGroupName: string
tags:
string: string
Workspace 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 Workspace resource accepts the following input properties:
- Resource
Group stringName - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- Location string
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- Name string
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the Healthcare Workspace.
- Resource
Group stringName - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- Location string
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- Name string
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- map[string]string
- A mapping of tags to assign to the Healthcare Workspace.
- resource
Group StringName - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- location String
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- name String
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- Map<String,String>
- A mapping of tags to assign to the Healthcare Workspace.
- resource
Group stringName - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- location string
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- name string
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- {[key: string]: string}
- A mapping of tags to assign to the Healthcare Workspace.
- resource_
group_ strname - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- location str
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- name str
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- Mapping[str, str]
- A mapping of tags to assign to the Healthcare Workspace.
- resource
Group StringName - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- location String
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- name String
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- Map<String>
- A mapping of tags to assign to the Healthcare Workspace.
Outputs
All input properties are implicitly available as output properties. Additionally, the Workspace resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Endpoint List<WorkspaceConnections Private Endpoint Connection>
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Endpoint []WorkspaceConnections Private Endpoint Connection
- id String
- The provider-assigned unique ID for this managed resource.
- private
Endpoint List<WorkspaceConnections Private Endpoint Connection>
- id string
- The provider-assigned unique ID for this managed resource.
- private
Endpoint WorkspaceConnections Private Endpoint Connection[]
- id str
- The provider-assigned unique ID for this managed resource.
- private_
endpoint_ Sequence[Workspaceconnections Private Endpoint Connection]
- id String
- The provider-assigned unique ID for this managed resource.
- private
Endpoint List<Property Map>Connections
Look up Existing Workspace Resource
Get an existing Workspace resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WorkspaceState, opts?: CustomResourceOptions): Workspace
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
name: Optional[str] = None,
private_endpoint_connections: Optional[Sequence[WorkspacePrivateEndpointConnectionArgs]] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None) -> Workspace
func GetWorkspace(ctx *Context, name string, id IDInput, state *WorkspaceState, opts ...ResourceOption) (*Workspace, error)
public static Workspace Get(string name, Input<string> id, WorkspaceState? state, CustomResourceOptions? opts = null)
public static Workspace get(String name, Output<String> id, WorkspaceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Location string
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- Name string
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- Private
Endpoint List<WorkspaceConnections Private Endpoint Connection> - Resource
Group stringName - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the Healthcare Workspace.
- Location string
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- Name string
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- Private
Endpoint []WorkspaceConnections Private Endpoint Connection Args - Resource
Group stringName - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- map[string]string
- A mapping of tags to assign to the Healthcare Workspace.
- location String
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- name String
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- private
Endpoint List<WorkspaceConnections Private Endpoint Connection> - resource
Group StringName - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- Map<String,String>
- A mapping of tags to assign to the Healthcare Workspace.
- location string
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- name string
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- private
Endpoint WorkspaceConnections Private Endpoint Connection[] - resource
Group stringName - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- {[key: string]: string}
- A mapping of tags to assign to the Healthcare Workspace.
- location str
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- name str
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- private_
endpoint_ Sequence[Workspaceconnections Private Endpoint Connection Args] - resource_
group_ strname - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- Mapping[str, str]
- A mapping of tags to assign to the Healthcare Workspace.
- location String
- Specifies the Azure Region where the Healthcare Workspace should be created. Changing this forces a new Healthcare Workspace to be created.
- name String
- Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
- private
Endpoint List<Property Map>Connections - resource
Group StringName - Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
- Map<String>
- A mapping of tags to assign to the Healthcare Workspace.
Supporting Types
WorkspacePrivateEndpointConnection, WorkspacePrivateEndpointConnectionArgs
Import
Healthcare Workspaces can be imported using the resourceid
, e.g.
$ pulumi import azure:healthcare/workspace:Workspace example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.HealthcareApis/workspaces/workspace1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.