1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dataform
  5. dataform/v1beta1
  6. Workspace

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.dataform/v1beta1.Workspace

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new Workspace in a given Repository. Auto-naming is currently not supported for this resource.

    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,
                  repository_id: Optional[str] = None,
                  workspace_id: Optional[str] = None,
                  location: Optional[str] = None,
                  project: Optional[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: google-native:dataform/v1beta1: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 workspaceResource = new GoogleNative.Dataform.V1Beta1.Workspace("workspaceResource", new()
    {
        RepositoryId = "string",
        WorkspaceId = "string",
        Location = "string",
        Project = "string",
    });
    
    example, err := dataform.NewWorkspace(ctx, "workspaceResource", &dataform.WorkspaceArgs{
    RepositoryId: pulumi.String("string"),
    WorkspaceId: pulumi.String("string"),
    Location: pulumi.String("string"),
    Project: pulumi.String("string"),
    })
    
    var workspaceResource = new Workspace("workspaceResource", WorkspaceArgs.builder()
        .repositoryId("string")
        .workspaceId("string")
        .location("string")
        .project("string")
        .build());
    
    workspace_resource = google_native.dataform.v1beta1.Workspace("workspaceResource",
        repository_id="string",
        workspace_id="string",
        location="string",
        project="string")
    
    const workspaceResource = new google_native.dataform.v1beta1.Workspace("workspaceResource", {
        repositoryId: "string",
        workspaceId: "string",
        location: "string",
        project: "string",
    });
    
    type: google-native:dataform/v1beta1:Workspace
    properties:
        location: string
        project: string
        repositoryId: string
        workspaceId: 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:

    RepositoryId string
    WorkspaceId string
    Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.
    Location string
    Project string
    RepositoryId string
    WorkspaceId string
    Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.
    Location string
    Project string
    repositoryId String
    workspaceId String
    Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.
    location String
    project String
    repositoryId string
    workspaceId string
    Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.
    location string
    project string
    repository_id str
    workspace_id str
    Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.
    location str
    project str
    repositoryId String
    workspaceId String
    Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.
    location String
    project String

    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.
    Name string
    The workspace's name.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The workspace's name.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The workspace's name.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The workspace's name.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The workspace's name.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The workspace's name.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi