databricks

package
v0.0.0-...-37ff63d Latest Latest
Warning

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

Go to latest
Published: Mar 30, 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`, `premium`, or `trial`. 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`, `premium`, or `trial`. 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

func (WorkspaceArgs) ElementType() reflect.Type

type WorkspaceCustomParameters

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

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

func (WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersOutput

func (i WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersOutput() WorkspaceCustomParametersOutput

func (WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersOutputWithContext

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

func (WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersPtrOutput

func (i WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersPtrOutput() WorkspaceCustomParametersPtrOutput

func (WorkspaceCustomParametersArgs) ToWorkspaceCustomParametersPtrOutputWithContext

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

type WorkspaceCustomParametersInput

type WorkspaceCustomParametersInput interface {
	pulumi.Input

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

type WorkspaceCustomParametersOutput

type WorkspaceCustomParametersOutput struct{ *pulumi.OutputState }

func (WorkspaceCustomParametersOutput) ElementType

func (WorkspaceCustomParametersOutput) NoPublicIp

Are public IP Addresses not allowed?

func (WorkspaceCustomParametersOutput) PrivateSubnetName

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

func (WorkspaceCustomParametersOutput) PublicSubnetName

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

func (WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersOutput

func (o WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersOutput() WorkspaceCustomParametersOutput

func (WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersOutputWithContext

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

func (WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersPtrOutput

func (o WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersPtrOutput() WorkspaceCustomParametersPtrOutput

func (WorkspaceCustomParametersOutput) ToWorkspaceCustomParametersPtrOutputWithContext

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

func (WorkspaceCustomParametersOutput) VirtualNetworkId

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

type WorkspaceCustomParametersPtrInput

type WorkspaceCustomParametersPtrInput interface {
	pulumi.Input

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

type WorkspaceCustomParametersPtrOutput

type WorkspaceCustomParametersPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceCustomParametersPtrOutput) Elem

func (WorkspaceCustomParametersPtrOutput) ElementType

func (WorkspaceCustomParametersPtrOutput) NoPublicIp

Are public IP Addresses not allowed?

func (WorkspaceCustomParametersPtrOutput) PrivateSubnetName

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

func (WorkspaceCustomParametersPtrOutput) PublicSubnetName

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

func (WorkspaceCustomParametersPtrOutput) ToWorkspaceCustomParametersPtrOutput

func (o WorkspaceCustomParametersPtrOutput) ToWorkspaceCustomParametersPtrOutput() WorkspaceCustomParametersPtrOutput

func (WorkspaceCustomParametersPtrOutput) ToWorkspaceCustomParametersPtrOutputWithContext

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

func (WorkspaceCustomParametersPtrOutput) VirtualNetworkId

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`, `premium`, or `trial`. 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

func (WorkspaceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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