databricks

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Workspace

type Workspace struct {
	pulumi.CustomResourceState

	// A `customParameters` block as documented below.
	CustomParameters WorkspaceCustomParametersOutput `pulumi:"customParameters"`
	// Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The ID of the Managed Resource Group created by the Databricks Workspace.
	ManagedResourceGroupId pulumi.StringOutput `pulumi:"managedResourceGroupId"`
	// The name of the resource group where Azure should place the managed Databricks resources. Changing this forces a new resource to be created.
	ManagedResourceGroupName pulumi.StringOutput `pulumi:"managedResourceGroupName"`
	// Specifies the name of the Databricks Workspace resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group in which the Databricks Workspace should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The `sku` to use for the Databricks Workspace. Possible values are `standard` or `premium`. Changing this forces a new resource to be created.
	Sku pulumi.StringOutput `pulumi:"sku"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Databricks Workspace

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/databricks_workspace.html.markdown.

func GetWorkspace

func GetWorkspace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkspaceState, opts ...pulumi.ResourceOption) (*Workspace, error)

GetWorkspace gets an existing Workspace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWorkspace

func NewWorkspace(ctx *pulumi.Context,
	name string, args *WorkspaceArgs, opts ...pulumi.ResourceOption) (*Workspace, error)

NewWorkspace registers a new resource with the given unique name, arguments, and options.

type WorkspaceArgs

type WorkspaceArgs struct {
	// A `customParameters` block as documented below.
	CustomParameters WorkspaceCustomParametersPtrInput
	// Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the resource group where Azure should place the managed Databricks resources. Changing this forces a new resource to be created.
	ManagedResourceGroupName pulumi.StringPtrInput
	// Specifies the name of the Databricks Workspace resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group in which the Databricks Workspace should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The `sku` to use for the Databricks Workspace. Possible values are `standard` or `premium`. Changing this forces a new resource to be created.
	Sku pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Workspace resource.

func (WorkspaceArgs) ElementType added in v1.12.0

func (WorkspaceArgs) ElementType() reflect.Type

type WorkspaceCustomParameters added in v1.12.0

type WorkspaceCustomParameters struct {
	// Are public IP Addresses not allowed?
	NoPublicIp *bool `pulumi:"noPublicIp"`
	// The name of the Private Subnet within the Virtual Network. Required if `virtualNetworkId` is set.
	PrivateSubnetName *string `pulumi:"privateSubnetName"`
	// The name of the Public Subnet within the Virtual Network. Required if `virtualNetworkId` is set.
	PublicSubnetName *string `pulumi:"publicSubnetName"`
	// The ID of a Virtual Network where this Databricks Cluster should be created.
	VirtualNetworkId *string `pulumi:"virtualNetworkId"`
}

type WorkspaceCustomParametersArgs added in v1.12.0

type WorkspaceCustomParametersArgs struct {
	// Are public IP Addresses not allowed?
	NoPublicIp pulumi.BoolPtrInput `pulumi:"noPublicIp"`
	// The name of the Private Subnet within the Virtual Network. Required if `virtualNetworkId` is set.
	PrivateSubnetName pulumi.StringPtrInput `pulumi:"privateSubnetName"`
	// The name of the Public Subnet within the Virtual Network. Required if `virtualNetworkId` is set.
	PublicSubnetName pulumi.StringPtrInput `pulumi:"publicSubnetName"`
	// The ID of a Virtual Network where this Databricks Cluster should be created.
	VirtualNetworkId pulumi.StringPtrInput `pulumi:"virtualNetworkId"`
}

func (WorkspaceCustomParametersArgs) ElementType added in v1.12.0

func (WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersOutput added in v1.12.0

func (i WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersOutput() WorkspaceCustomParametersOutput

func (WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersOutputWithContext added in v1.12.0

func (i WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersOutputWithContext(ctx context.Context) WorkspaceCustomParametersOutput

func (WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersPtrOutput added in v1.12.0

func (i WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersPtrOutput() WorkspaceCustomParametersPtrOutput

func (WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersPtrOutputWithContext added in v1.12.0

func (i WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersPtrOutputWithContext(ctx context.Context) WorkspaceCustomParametersPtrOutput

type WorkspaceCustomParametersInput added in v1.12.0

type WorkspaceCustomParametersInput interface {
	pulumi.Input

	ToWorkspaceCustomParametersOutput() WorkspaceCustomParametersOutput
	ToWorkspaceCustomParametersOutputWithContext(context.Context) WorkspaceCustomParametersOutput
}

type WorkspaceCustomParametersOutput added in v1.12.0

type WorkspaceCustomParametersOutput struct{ *pulumi.OutputState }

func (WorkspaceCustomParametersOutput) ElementType added in v1.12.0

func (WorkspaceCustomParametersOutput) NoPublicIp added in v1.12.0

Are public IP Addresses not allowed?

func (WorkspaceCustomParametersOutput) PrivateSubnetName added in v1.12.0

The name of the Private Subnet within the Virtual Network. Required if `virtualNetworkId` is set.

func (WorkspaceCustomParametersOutput) PublicSubnetName added in v1.12.0

The name of the Public Subnet within the Virtual Network. Required if `virtualNetworkId` is set.

func (WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersOutput added in v1.12.0

func (o WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersOutput() WorkspaceCustomParametersOutput

func (WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersOutputWithContext added in v1.12.0

func (o WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersOutputWithContext(ctx context.Context) WorkspaceCustomParametersOutput

func (WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersPtrOutput added in v1.12.0

func (o WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersPtrOutput() WorkspaceCustomParametersPtrOutput

func (WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersPtrOutputWithContext added in v1.12.0

func (o WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersPtrOutputWithContext(ctx context.Context) WorkspaceCustomParametersPtrOutput

func (WorkspaceCustomParametersOutput) VirtualNetworkId added in v1.12.0

The ID of a Virtual Network where this Databricks Cluster should be created.

type WorkspaceCustomParametersPtrInput added in v1.12.0

type WorkspaceCustomParametersPtrInput interface {
	pulumi.Input

	ToWorkspaceCustomParametersPtrOutput() WorkspaceCustomParametersPtrOutput
	ToWorkspaceCustomParametersPtrOutputWithContext(context.Context) WorkspaceCustomParametersPtrOutput
}

func WorkspaceCustomParametersPtr added in v1.12.0

type WorkspaceCustomParametersPtrOutput added in v1.12.0

type WorkspaceCustomParametersPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceCustomParametersPtrOutput) Elem added in v1.12.0

func (WorkspaceCustomParametersPtrOutput) ElementType added in v1.12.0

func (WorkspaceCustomParametersPtrOutput) NoPublicIp added in v1.12.0

Are public IP Addresses not allowed?

func (WorkspaceCustomParametersPtrOutput) PrivateSubnetName added in v1.12.0

The name of the Private Subnet within the Virtual Network. Required if `virtualNetworkId` is set.

func (WorkspaceCustomParametersPtrOutput) PublicSubnetName added in v1.12.0

The name of the Public Subnet within the Virtual Network. Required if `virtualNetworkId` is set.

func (WorkspaceCustomParametersPtrOutput) ToWorkspaceCustomParametersPtrOutput added in v1.12.0

func (o WorkspaceCustomParametersPtrOutput) ToWorkspaceCustomParametersPtrOutput() WorkspaceCustomParametersPtrOutput

func (WorkspaceCustomParametersPtrOutput) ToWorkspaceCustomParametersPtrOutputWithContext added in v1.12.0

func (o WorkspaceCustomParametersPtrOutput) ToWorkspaceCustomParametersPtrOutputWithContext(ctx context.Context) WorkspaceCustomParametersPtrOutput

func (WorkspaceCustomParametersPtrOutput) VirtualNetworkId added in v1.12.0

The ID of a Virtual Network where this Databricks Cluster should be created.

type WorkspaceState

type WorkspaceState struct {
	// A `customParameters` block as documented below.
	CustomParameters WorkspaceCustomParametersPtrInput
	// Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The ID of the Managed Resource Group created by the Databricks Workspace.
	ManagedResourceGroupId pulumi.StringPtrInput
	// The name of the resource group where Azure should place the managed Databricks resources. Changing this forces a new resource to be created.
	ManagedResourceGroupName pulumi.StringPtrInput
	// Specifies the name of the Databricks Workspace resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group in which the Databricks Workspace should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The `sku` to use for the Databricks Workspace. Possible values are `standard` or `premium`. Changing this forces a new resource to be created.
	Sku pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (WorkspaceState) ElementType added in v1.12.0

func (WorkspaceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL