1. Packages
  2. Azure Classic
  3. API Docs
  4. healthcare
  5. Workspace

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

azure.healthcare.Workspace

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

    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

    new Workspace(name: string, args: WorkspaceArgs, opts?: CustomResourceOptions);
    @overload
    def Workspace(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  location: Optional[str] = None,
                  name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None)
    @overload
    def Workspace(resource_name: str,
                  args: WorkspaceArgs,
                  opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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:

    ResourceGroupName string
    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.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the Healthcare Workspace.
    ResourceGroupName string
    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.
    Tags map[string]string
    A mapping of tags to assign to the Healthcare Workspace.
    resourceGroupName String
    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.
    tags Map<String,String>
    A mapping of tags to assign to the Healthcare Workspace.
    resourceGroupName string
    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.
    tags {[key: string]: string}
    A mapping of tags to assign to the Healthcare Workspace.
    resource_group_name str
    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.
    tags Mapping[str, str]
    A mapping of tags to assign to the Healthcare Workspace.
    resourceGroupName String
    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.
    tags 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.
    PrivateEndpointConnections List<WorkspacePrivateEndpointConnection>
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateEndpointConnections []WorkspacePrivateEndpointConnection
    id String
    The provider-assigned unique ID for this managed resource.
    privateEndpointConnections List<WorkspacePrivateEndpointConnection>
    id string
    The provider-assigned unique ID for this managed resource.
    privateEndpointConnections WorkspacePrivateEndpointConnection[]
    id str
    The provider-assigned unique ID for this managed resource.
    private_endpoint_connections Sequence[WorkspacePrivateEndpointConnection]
    id String
    The provider-assigned unique ID for this managed resource.
    privateEndpointConnections List<Property Map>

    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.
    The following state arguments are supported:
    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.
    PrivateEndpointConnections List<WorkspacePrivateEndpointConnection>
    ResourceGroupName string
    Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
    Tags 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.
    PrivateEndpointConnections []WorkspacePrivateEndpointConnectionArgs
    ResourceGroupName string
    Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
    Tags 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.
    privateEndpointConnections List<WorkspacePrivateEndpointConnection>
    resourceGroupName String
    Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
    tags 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.
    privateEndpointConnections WorkspacePrivateEndpointConnection[]
    resourceGroupName string
    Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
    tags {[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_connections Sequence[WorkspacePrivateEndpointConnectionArgs]
    resource_group_name str
    Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
    tags 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.
    privateEndpointConnections List<Property Map>
    resourceGroupName String
    Specifies the name of the Resource Group where the Healthcare Workspace should exist. Changing this forces a new Healthcare Workspace to be created.
    tags Map<String>
    A mapping of tags to assign to the Healthcare Workspace.

    Supporting Types

    WorkspacePrivateEndpointConnection, WorkspacePrivateEndpointConnectionArgs

    Id string
    The ID of the Healthcare Workspace.
    Name string
    Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
    Id string
    The ID of the Healthcare Workspace.
    Name string
    Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
    id String
    The ID of the Healthcare Workspace.
    name String
    Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
    id string
    The ID of the Healthcare Workspace.
    name string
    Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
    id str
    The ID of the Healthcare Workspace.
    name str
    Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.
    id String
    The ID of the Healthcare Workspace.
    name String
    Specifies the name of the Healthcare Workspace. Changing this forces a new Healthcare Workspace to be created.

    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
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi