azure-native.documentdb.NotebookWorkspace
Explore with Pulumi AI
A notebook workspace resource API Version: 2021-03-15.
Example Usage
CosmosDBNotebookWorkspaceCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var notebookWorkspace = new AzureNative.DocumentDB.NotebookWorkspace("notebookWorkspace", new()
{
AccountName = "ddb1",
NotebookWorkspaceName = "default",
ResourceGroupName = "rg1",
});
});
package main
import (
documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := documentdb.NewNotebookWorkspace(ctx, "notebookWorkspace", &documentdb.NotebookWorkspaceArgs{
AccountName: pulumi.String("ddb1"),
NotebookWorkspaceName: pulumi.String("default"),
ResourceGroupName: pulumi.String("rg1"),
})
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.documentdb.NotebookWorkspace;
import com.pulumi.azurenative.documentdb.NotebookWorkspaceArgs;
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 notebookWorkspace = new NotebookWorkspace("notebookWorkspace", NotebookWorkspaceArgs.builder()
.accountName("ddb1")
.notebookWorkspaceName("default")
.resourceGroupName("rg1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
notebook_workspace = azure_native.documentdb.NotebookWorkspace("notebookWorkspace",
account_name="ddb1",
notebook_workspace_name="default",
resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const notebookWorkspace = new azure_native.documentdb.NotebookWorkspace("notebookWorkspace", {
accountName: "ddb1",
notebookWorkspaceName: "default",
resourceGroupName: "rg1",
});
resources:
notebookWorkspace:
type: azure-native:documentdb:NotebookWorkspace
properties:
accountName: ddb1
notebookWorkspaceName: default
resourceGroupName: rg1
Create NotebookWorkspace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NotebookWorkspace(name: string, args: NotebookWorkspaceArgs, opts?: CustomResourceOptions);
@overload
def NotebookWorkspace(resource_name: str,
args: NotebookWorkspaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NotebookWorkspace(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
notebook_workspace_name: Optional[str] = None)
func NewNotebookWorkspace(ctx *Context, name string, args NotebookWorkspaceArgs, opts ...ResourceOption) (*NotebookWorkspace, error)
public NotebookWorkspace(string name, NotebookWorkspaceArgs args, CustomResourceOptions? opts = null)
public NotebookWorkspace(String name, NotebookWorkspaceArgs args)
public NotebookWorkspace(String name, NotebookWorkspaceArgs args, CustomResourceOptions options)
type: azure-native:documentdb:NotebookWorkspace
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 NotebookWorkspaceArgs
- 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 NotebookWorkspaceArgs
- 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 NotebookWorkspaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NotebookWorkspaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NotebookWorkspaceArgs
- 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 notebookWorkspaceResource = new AzureNative.Documentdb.NotebookWorkspace("notebookWorkspaceResource", new()
{
AccountName = "string",
ResourceGroupName = "string",
NotebookWorkspaceName = "string",
});
example, err := documentdb.NewNotebookWorkspace(ctx, "notebookWorkspaceResource", &documentdb.NotebookWorkspaceArgs{
AccountName: "string",
ResourceGroupName: "string",
NotebookWorkspaceName: "string",
})
var notebookWorkspaceResource = new NotebookWorkspace("notebookWorkspaceResource", NotebookWorkspaceArgs.builder()
.accountName("string")
.resourceGroupName("string")
.notebookWorkspaceName("string")
.build());
notebook_workspace_resource = azure_native.documentdb.NotebookWorkspace("notebookWorkspaceResource",
account_name=string,
resource_group_name=string,
notebook_workspace_name=string)
const notebookWorkspaceResource = new azure_native.documentdb.NotebookWorkspace("notebookWorkspaceResource", {
accountName: "string",
resourceGroupName: "string",
notebookWorkspaceName: "string",
});
type: azure-native:documentdb:NotebookWorkspace
properties:
accountName: string
notebookWorkspaceName: string
resourceGroupName: string
NotebookWorkspace 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 NotebookWorkspace resource accepts the following input properties:
- Account
Name string - Cosmos DB database account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Notebook
Workspace stringName - The name of the notebook workspace resource.
- Account
Name string - Cosmos DB database account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Notebook
Workspace stringName - The name of the notebook workspace resource.
- account
Name String - Cosmos DB database account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- notebook
Workspace StringName - The name of the notebook workspace resource.
- account
Name string - Cosmos DB database account name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- notebook
Workspace stringName - The name of the notebook workspace resource.
- account_
name str - Cosmos DB database account name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- notebook_
workspace_ strname - The name of the notebook workspace resource.
- account
Name String - Cosmos DB database account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- notebook
Workspace StringName - The name of the notebook workspace resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the NotebookWorkspace resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the database account.
- Notebook
Server stringEndpoint - Specifies the endpoint of Notebook server.
- Status string
- Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating.
- Type string
- The type of Azure resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the database account.
- Notebook
Server stringEndpoint - Specifies the endpoint of Notebook server.
- Status string
- Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating.
- Type string
- The type of Azure resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the database account.
- notebook
Server StringEndpoint - Specifies the endpoint of Notebook server.
- status String
- Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating.
- type String
- The type of Azure resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the database account.
- notebook
Server stringEndpoint - Specifies the endpoint of Notebook server.
- status string
- Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating.
- type string
- The type of Azure resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the database account.
- notebook_
server_ strendpoint - Specifies the endpoint of Notebook server.
- status str
- Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating.
- type str
- The type of Azure resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the database account.
- notebook
Server StringEndpoint - Specifies the endpoint of Notebook server.
- status String
- Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating.
- type String
- The type of Azure resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:documentdb:NotebookWorkspace default /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/notebookWorkspaces/default
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0