Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dataform/v1beta1.Workspace
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Workspace resource accepts the following input properties:
- Repository
Id string - Workspace
Id 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 string - Workspace
Id 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 String - workspace
Id 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 string - workspace
Id 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
- repository
Id String - workspace
Id 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:
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.