databricks.MwsNetworks
Explore with Pulumi AI
Modifying networks on running workspaces (AWS only)
Due to specifics of platform APIs, changing any attribute of network configuration would cause databricks.MwsNetworks
to be re-created - deleted & added again with special case for running workspaces. Once network configuration is attached to a running databricks_mws_workspaces, you cannot delete it and pulumi up
would result in INVALID_STATE: Unable to delete, Network is being used by active workspace X
error. In order to modify any attributes of a network, you have to perform three different pulumi up
steps:
- Create a new
databricks.MwsNetworks
resource. - Update the
databricks.MwsWorkspaces
to point to the newnetwork_id
. - Delete the old
databricks.MwsNetworks
resource.
Related Resources
The following resources are used in the same context:
- Provisioning Databricks on AWS guide.
- Provisioning Databricks on AWS with PrivateLink guide.
- Provisioning AWS Databricks E2 with a Hub & Spoke firewall for data exfiltration protection guide.
- Provisioning Databricks on GCP guide.
- Provisioning Databricks workspaces on GCP with Private Service Connect guide.
- databricks.MwsVpcEndpoint resources with Databricks such that they can be used as part of a databricks.MwsNetworks configuration.
- databricks.MwsPrivateAccessSettings to create a Private Access Setting that can be used as part of a databricks.MwsWorkspaces resource to create a Databricks Workspace that leverages AWS PrivateLink or [GCP Private Service Connect] (https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html).
- databricks.MwsWorkspaces to set up workspaces in E2 architecture on AWS.
Example Usage
Creating a Databricks on AWS workspace
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var databricksAccountId = config.RequireObject<dynamic>("databricksAccountId");
var available = Aws.GetAvailabilityZones.Invoke();
var @this = new Databricks.MwsNetworks("this", new()
{
AccountId = databricksAccountId,
NetworkName = $"{local.Prefix}-network",
SecurityGroupIds = new[]
{
module.Vpc.Default_security_group_id,
},
SubnetIds = module.Vpc.Private_subnets,
VpcId = module.Vpc.Vpc_id,
}, new CustomResourceOptions
{
Provider = databricks.Mws,
});
});
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws"
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
databricksAccountId := cfg.RequireObject("databricksAccountId")
_, err := aws.GetAvailabilityZones(ctx, nil, nil)
if err != nil {
return err
}
_, err = databricks.NewMwsNetworks(ctx, "this", &databricks.MwsNetworksArgs{
AccountId: pulumi.Any(databricksAccountId),
NetworkName: pulumi.String(fmt.Sprintf("%v-network", local.Prefix)),
SecurityGroupIds: pulumi.StringArray{
module.Vpc.Default_security_group_id,
},
SubnetIds: pulumi.Any(module.Vpc.Private_subnets),
VpcId: pulumi.Any(module.Vpc.Vpc_id),
}, pulumi.Provider(databricks.Mws))
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.aws.AwsFunctions;
import com.pulumi.aws.inputs.GetAvailabilityZonesArgs;
import com.pulumi.databricks.MwsNetworks;
import com.pulumi.databricks.MwsNetworksArgs;
import com.pulumi.resources.CustomResourceOptions;
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) {
final var config = ctx.config();
final var databricksAccountId = config.get("databricksAccountId");
final var available = AwsFunctions.getAvailabilityZones();
var this_ = new MwsNetworks("this", MwsNetworksArgs.builder()
.accountId(databricksAccountId)
.networkName(String.format("%s-network", local.prefix()))
.securityGroupIds(module.vpc().default_security_group_id())
.subnetIds(module.vpc().private_subnets())
.vpcId(module.vpc().vpc_id())
.build(), CustomResourceOptions.builder()
.provider(databricks.mws())
.build());
}
}
import pulumi
import pulumi_aws as aws
import pulumi_databricks as databricks
config = pulumi.Config()
databricks_account_id = config.require_object("databricksAccountId")
available = aws.get_availability_zones()
this = databricks.MwsNetworks("this",
account_id=databricks_account_id,
network_name=f"{local['prefix']}-network",
security_group_ids=[module["vpc"]["default_security_group_id"]],
subnet_ids=module["vpc"]["private_subnets"],
vpc_id=module["vpc"]["vpc_id"],
opts=pulumi.ResourceOptions(provider=databricks["mws"]))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as databricks from "@pulumi/databricks";
const config = new pulumi.Config();
const databricksAccountId = config.requireObject("databricksAccountId");
const available = aws.getAvailabilityZones({});
const _this = new databricks.MwsNetworks("this", {
accountId: databricksAccountId,
networkName: `${local.prefix}-network`,
securityGroupIds: [module.vpc.default_security_group_id],
subnetIds: module.vpc.private_subnets,
vpcId: module.vpc.vpc_id,
}, {
provider: databricks.mws,
});
configuration:
databricksAccountId:
type: dynamic
resources:
this:
type: databricks:MwsNetworks
properties:
accountId: ${databricksAccountId}
networkName: ${local.prefix}-network
securityGroupIds:
- ${module.vpc.default_security_group_id}
subnetIds: ${module.vpc.private_subnets}
vpcId: ${module.vpc.vpc_id}
options:
provider: ${databricks.mws}
variables:
available:
fn::invoke:
Function: aws:getAvailabilityZones
Arguments: {}
endpoint resources into the databricks.MwsNetworks resource. For example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var @this = new Databricks.MwsNetworks("this", new()
{
AccountId = @var.Databricks_account_id,
NetworkName = $"{local.Prefix}-network",
SecurityGroupIds = new[]
{
module.Vpc.Default_security_group_id,
},
SubnetIds = module.Vpc.Private_subnets,
VpcId = module.Vpc.Vpc_id,
VpcEndpoints = new Databricks.Inputs.MwsNetworksVpcEndpointsArgs
{
DataplaneRelays = new[]
{
databricks_mws_vpc_endpoint.Relay.Vpc_endpoint_id,
},
RestApis = new[]
{
databricks_mws_vpc_endpoint.Workspace.Vpc_endpoint_id,
},
},
}, new CustomResourceOptions
{
Provider = databricks.Mws,
DependsOn = new[]
{
aws_vpc_endpoint.Workspace,
aws_vpc_endpoint.Relay,
},
});
});
package main
import (
"fmt"
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databricks.NewMwsNetworks(ctx, "this", &databricks.MwsNetworksArgs{
AccountId: pulumi.Any(_var.Databricks_account_id),
NetworkName: pulumi.String(fmt.Sprintf("%v-network", local.Prefix)),
SecurityGroupIds: pulumi.StringArray{
module.Vpc.Default_security_group_id,
},
SubnetIds: pulumi.Any(module.Vpc.Private_subnets),
VpcId: pulumi.Any(module.Vpc.Vpc_id),
VpcEndpoints: &databricks.MwsNetworksVpcEndpointsArgs{
DataplaneRelays: pulumi.StringArray{
databricks_mws_vpc_endpoint.Relay.Vpc_endpoint_id,
},
RestApis: pulumi.StringArray{
databricks_mws_vpc_endpoint.Workspace.Vpc_endpoint_id,
},
},
}, pulumi.Provider(databricks.Mws), pulumi.DependsOn([]pulumi.Resource{
aws_vpc_endpoint.Workspace,
aws_vpc_endpoint.Relay,
}))
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.databricks.MwsNetworks;
import com.pulumi.databricks.MwsNetworksArgs;
import com.pulumi.databricks.inputs.MwsNetworksVpcEndpointsArgs;
import com.pulumi.resources.CustomResourceOptions;
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 this_ = new MwsNetworks("this", MwsNetworksArgs.builder()
.accountId(var_.databricks_account_id())
.networkName(String.format("%s-network", local.prefix()))
.securityGroupIds(module.vpc().default_security_group_id())
.subnetIds(module.vpc().private_subnets())
.vpcId(module.vpc().vpc_id())
.vpcEndpoints(MwsNetworksVpcEndpointsArgs.builder()
.dataplaneRelays(databricks_mws_vpc_endpoint.relay().vpc_endpoint_id())
.restApis(databricks_mws_vpc_endpoint.workspace().vpc_endpoint_id())
.build())
.build(), CustomResourceOptions.builder()
.provider(databricks.mws())
.dependsOn(
aws_vpc_endpoint.workspace(),
aws_vpc_endpoint.relay())
.build());
}
}
import pulumi
import pulumi_databricks as databricks
this = databricks.MwsNetworks("this",
account_id=var["databricks_account_id"],
network_name=f"{local['prefix']}-network",
security_group_ids=[module["vpc"]["default_security_group_id"]],
subnet_ids=module["vpc"]["private_subnets"],
vpc_id=module["vpc"]["vpc_id"],
vpc_endpoints=databricks.MwsNetworksVpcEndpointsArgs(
dataplane_relays=[databricks_mws_vpc_endpoint["relay"]["vpc_endpoint_id"]],
rest_apis=[databricks_mws_vpc_endpoint["workspace"]["vpc_endpoint_id"]],
),
opts=pulumi.ResourceOptions(provider=databricks["mws"],
depends_on=[
aws_vpc_endpoint["workspace"],
aws_vpc_endpoint["relay"],
]))
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = new databricks.MwsNetworks("this", {
accountId: _var.databricks_account_id,
networkName: `${local.prefix}-network`,
securityGroupIds: [module.vpc.default_security_group_id],
subnetIds: module.vpc.private_subnets,
vpcId: module.vpc.vpc_id,
vpcEndpoints: {
dataplaneRelays: [databricks_mws_vpc_endpoint.relay.vpc_endpoint_id],
restApis: [databricks_mws_vpc_endpoint.workspace.vpc_endpoint_id],
},
}, {
provider: databricks.mws,
dependsOn: [
aws_vpc_endpoint.workspace,
aws_vpc_endpoint.relay,
],
});
resources:
this:
type: databricks:MwsNetworks
properties:
accountId: ${var.databricks_account_id}
networkName: ${local.prefix}-network
securityGroupIds:
- ${module.vpc.default_security_group_id}
subnetIds: ${module.vpc.private_subnets}
vpcId: ${module.vpc.vpc_id}
vpcEndpoints:
dataplaneRelays:
- ${databricks_mws_vpc_endpoint.relay.vpc_endpoint_id}
restApis:
- ${databricks_mws_vpc_endpoint.workspace.vpc_endpoint_id}
options:
provider: ${databricks.mws}
dependson:
- ${aws_vpc_endpoint.workspace}
- ${aws_vpc_endpoint.relay}
Create MwsNetworks Resource
new MwsNetworks(name: string, args: MwsNetworksArgs, opts?: CustomResourceOptions);
@overload
def MwsNetworks(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
creation_time: Optional[int] = None,
error_messages: Optional[Sequence[MwsNetworksErrorMessageArgs]] = None,
gcp_network_info: Optional[MwsNetworksGcpNetworkInfoArgs] = None,
network_id: Optional[str] = None,
network_name: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
subnet_ids: Optional[Sequence[str]] = None,
vpc_endpoints: Optional[MwsNetworksVpcEndpointsArgs] = None,
vpc_id: Optional[str] = None,
vpc_status: Optional[str] = None,
workspace_id: Optional[int] = None)
@overload
def MwsNetworks(resource_name: str,
args: MwsNetworksArgs,
opts: Optional[ResourceOptions] = None)
func NewMwsNetworks(ctx *Context, name string, args MwsNetworksArgs, opts ...ResourceOption) (*MwsNetworks, error)
public MwsNetworks(string name, MwsNetworksArgs args, CustomResourceOptions? opts = null)
public MwsNetworks(String name, MwsNetworksArgs args)
public MwsNetworks(String name, MwsNetworksArgs args, CustomResourceOptions options)
type: databricks:MwsNetworks
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MwsNetworksArgs
- 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 MwsNetworksArgs
- 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 MwsNetworksArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MwsNetworksArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MwsNetworksArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MwsNetworks 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 MwsNetworks resource accepts the following input properties:
- Account
Id string Account Id that could be found in the bottom left corner of Accounts Console
- Network
Name string name under which this network is registered
- Creation
Time int - Error
Messages List<MwsNetworks Error Message Args> - Gcp
Network MwsInfo Networks Gcp Network Info Args a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- Network
Id string (String) id of network to be used for databricks.MwsWorkspaces resource.
- Security
Group List<string>Ids ids of aws_security_group
- Subnet
Ids List<string> ids of aws_subnet
- Vpc
Endpoints MwsNetworks Vpc Endpoints Args mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- Vpc
Id string The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- Vpc
Status string (String) VPC attachment status
- Workspace
Id int (Integer) id of associated workspace
- Account
Id string Account Id that could be found in the bottom left corner of Accounts Console
- Network
Name string name under which this network is registered
- Creation
Time int - Error
Messages []MwsNetworks Error Message Args - Gcp
Network MwsInfo Networks Gcp Network Info Args a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- Network
Id string (String) id of network to be used for databricks.MwsWorkspaces resource.
- Security
Group []stringIds ids of aws_security_group
- Subnet
Ids []string ids of aws_subnet
- Vpc
Endpoints MwsNetworks Vpc Endpoints Args mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- Vpc
Id string The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- Vpc
Status string (String) VPC attachment status
- Workspace
Id int (Integer) id of associated workspace
- account
Id String Account Id that could be found in the bottom left corner of Accounts Console
- network
Name String name under which this network is registered
- creation
Time Integer - error
Messages List<MwsNetworks Error Message Args> - gcp
Network MwsInfo Networks Gcp Network Info Args a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- network
Id String (String) id of network to be used for databricks.MwsWorkspaces resource.
- security
Group List<String>Ids ids of aws_security_group
- subnet
Ids List<String> ids of aws_subnet
- vpc
Endpoints MwsNetworks Vpc Endpoints Args mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- vpc
Id String The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- vpc
Status String (String) VPC attachment status
- workspace
Id Integer (Integer) id of associated workspace
- account
Id string Account Id that could be found in the bottom left corner of Accounts Console
- network
Name string name under which this network is registered
- creation
Time number - error
Messages MwsNetworks Error Message Args[] - gcp
Network MwsInfo Networks Gcp Network Info Args a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- network
Id string (String) id of network to be used for databricks.MwsWorkspaces resource.
- security
Group string[]Ids ids of aws_security_group
- subnet
Ids string[] ids of aws_subnet
- vpc
Endpoints MwsNetworks Vpc Endpoints Args mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- vpc
Id string The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- vpc
Status string (String) VPC attachment status
- workspace
Id number (Integer) id of associated workspace
- account_
id str Account Id that could be found in the bottom left corner of Accounts Console
- network_
name str name under which this network is registered
- creation_
time int - error_
messages Sequence[MwsNetworks Error Message Args] - gcp_
network_ Mwsinfo Networks Gcp Network Info Args a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- network_
id str (String) id of network to be used for databricks.MwsWorkspaces resource.
- security_
group_ Sequence[str]ids ids of aws_security_group
- subnet_
ids Sequence[str] ids of aws_subnet
- vpc_
endpoints MwsNetworks Vpc Endpoints Args mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- vpc_
id str The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- vpc_
status str (String) VPC attachment status
- workspace_
id int (Integer) id of associated workspace
- account
Id String Account Id that could be found in the bottom left corner of Accounts Console
- network
Name String name under which this network is registered
- creation
Time Number - error
Messages List<Property Map> - gcp
Network Property MapInfo a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- network
Id String (String) id of network to be used for databricks.MwsWorkspaces resource.
- security
Group List<String>Ids ids of aws_security_group
- subnet
Ids List<String> ids of aws_subnet
- vpc
Endpoints Property Map mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- vpc
Id String The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- vpc
Status String (String) VPC attachment status
- workspace
Id Number (Integer) id of associated workspace
Outputs
All input properties are implicitly available as output properties. Additionally, the MwsNetworks resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing MwsNetworks Resource
Get an existing MwsNetworks resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MwsNetworksState, opts?: CustomResourceOptions): MwsNetworks
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
creation_time: Optional[int] = None,
error_messages: Optional[Sequence[MwsNetworksErrorMessageArgs]] = None,
gcp_network_info: Optional[MwsNetworksGcpNetworkInfoArgs] = None,
network_id: Optional[str] = None,
network_name: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
subnet_ids: Optional[Sequence[str]] = None,
vpc_endpoints: Optional[MwsNetworksVpcEndpointsArgs] = None,
vpc_id: Optional[str] = None,
vpc_status: Optional[str] = None,
workspace_id: Optional[int] = None) -> MwsNetworks
func GetMwsNetworks(ctx *Context, name string, id IDInput, state *MwsNetworksState, opts ...ResourceOption) (*MwsNetworks, error)
public static MwsNetworks Get(string name, Input<string> id, MwsNetworksState? state, CustomResourceOptions? opts = null)
public static MwsNetworks get(String name, Output<String> id, MwsNetworksState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string Account Id that could be found in the bottom left corner of Accounts Console
- Creation
Time int - Error
Messages List<MwsNetworks Error Message Args> - Gcp
Network MwsInfo Networks Gcp Network Info Args a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- Network
Id string (String) id of network to be used for databricks.MwsWorkspaces resource.
- Network
Name string name under which this network is registered
- Security
Group List<string>Ids ids of aws_security_group
- Subnet
Ids List<string> ids of aws_subnet
- Vpc
Endpoints MwsNetworks Vpc Endpoints Args mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- Vpc
Id string The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- Vpc
Status string (String) VPC attachment status
- Workspace
Id int (Integer) id of associated workspace
- Account
Id string Account Id that could be found in the bottom left corner of Accounts Console
- Creation
Time int - Error
Messages []MwsNetworks Error Message Args - Gcp
Network MwsInfo Networks Gcp Network Info Args a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- Network
Id string (String) id of network to be used for databricks.MwsWorkspaces resource.
- Network
Name string name under which this network is registered
- Security
Group []stringIds ids of aws_security_group
- Subnet
Ids []string ids of aws_subnet
- Vpc
Endpoints MwsNetworks Vpc Endpoints Args mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- Vpc
Id string The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- Vpc
Status string (String) VPC attachment status
- Workspace
Id int (Integer) id of associated workspace
- account
Id String Account Id that could be found in the bottom left corner of Accounts Console
- creation
Time Integer - error
Messages List<MwsNetworks Error Message Args> - gcp
Network MwsInfo Networks Gcp Network Info Args a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- network
Id String (String) id of network to be used for databricks.MwsWorkspaces resource.
- network
Name String name under which this network is registered
- security
Group List<String>Ids ids of aws_security_group
- subnet
Ids List<String> ids of aws_subnet
- vpc
Endpoints MwsNetworks Vpc Endpoints Args mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- vpc
Id String The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- vpc
Status String (String) VPC attachment status
- workspace
Id Integer (Integer) id of associated workspace
- account
Id string Account Id that could be found in the bottom left corner of Accounts Console
- creation
Time number - error
Messages MwsNetworks Error Message Args[] - gcp
Network MwsInfo Networks Gcp Network Info Args a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- network
Id string (String) id of network to be used for databricks.MwsWorkspaces resource.
- network
Name string name under which this network is registered
- security
Group string[]Ids ids of aws_security_group
- subnet
Ids string[] ids of aws_subnet
- vpc
Endpoints MwsNetworks Vpc Endpoints Args mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- vpc
Id string The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- vpc
Status string (String) VPC attachment status
- workspace
Id number (Integer) id of associated workspace
- account_
id str Account Id that could be found in the bottom left corner of Accounts Console
- creation_
time int - error_
messages Sequence[MwsNetworks Error Message Args] - gcp_
network_ Mwsinfo Networks Gcp Network Info Args a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- network_
id str (String) id of network to be used for databricks.MwsWorkspaces resource.
- network_
name str name under which this network is registered
- security_
group_ Sequence[str]ids ids of aws_security_group
- subnet_
ids Sequence[str] ids of aws_subnet
- vpc_
endpoints MwsNetworks Vpc Endpoints Args mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- vpc_
id str The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- vpc_
status str (String) VPC attachment status
- workspace_
id int (Integer) id of associated workspace
- account
Id String Account Id that could be found in the bottom left corner of Accounts Console
- creation
Time Number - error
Messages List<Property Map> - gcp
Network Property MapInfo a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:
- network
Id String (String) id of network to be used for databricks.MwsWorkspaces resource.
- network
Name String name under which this network is registered
- security
Group List<String>Ids ids of aws_security_group
- subnet
Ids List<String> ids of aws_subnet
- vpc
Endpoints Property Map mapping of databricks.MwsVpcEndpoint for PrivateLink or Private Service Connect connections
- vpc
Id String The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- vpc
Status String (String) VPC attachment status
- workspace
Id Number (Integer) id of associated workspace
Supporting Types
MwsNetworksErrorMessage
- Error
Message string - Error
Type string
- Error
Message string - Error
Type string
- error
Message String - error
Type String
- error
Message string - error
Type string
- error_
message str - error_
type str
- error
Message String - error
Type String
MwsNetworksGcpNetworkInfo
- Network
Project stringId The Google Cloud project ID of the VPC network.
- Pod
Ip stringRange Name The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace.
- Service
Ip stringRange Name The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace.
- Subnet
Id string The ID of the subnet associated with this network.
- Subnet
Region string The Google Cloud region of the workspace data plane. For example,
us-east4
.- Vpc
Id string The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- Network
Project stringId The Google Cloud project ID of the VPC network.
- Pod
Ip stringRange Name The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace.
- Service
Ip stringRange Name The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace.
- Subnet
Id string The ID of the subnet associated with this network.
- Subnet
Region string The Google Cloud region of the workspace data plane. For example,
us-east4
.- Vpc
Id string The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- network
Project StringId The Google Cloud project ID of the VPC network.
- pod
Ip StringRange Name The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace.
- service
Ip StringRange Name The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace.
- subnet
Id String The ID of the subnet associated with this network.
- subnet
Region String The Google Cloud region of the workspace data plane. For example,
us-east4
.- vpc
Id String The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- network
Project stringId The Google Cloud project ID of the VPC network.
- pod
Ip stringRange Name The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace.
- service
Ip stringRange Name The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace.
- subnet
Id string The ID of the subnet associated with this network.
- subnet
Region string The Google Cloud region of the workspace data plane. For example,
us-east4
.- vpc
Id string The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- network_
project_ strid The Google Cloud project ID of the VPC network.
- pod_
ip_ strrange_ name The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace.
- service_
ip_ strrange_ name The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace.
- subnet_
id str The ID of the subnet associated with this network.
- subnet_
region str The Google Cloud region of the workspace data plane. For example,
us-east4
.- vpc_
id str The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
- network
Project StringId The Google Cloud project ID of the VPC network.
- pod
Ip StringRange Name The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace.
- service
Ip StringRange Name The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace.
- subnet
Id String The ID of the subnet associated with this network.
- subnet
Region String The Google Cloud region of the workspace data plane. For example,
us-east4
.- vpc
Id String The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations.
MwsNetworksVpcEndpoints
- Dataplane
Relays List<string> - Rest
Apis List<string>
- Dataplane
Relays []string - Rest
Apis []string
- dataplane
Relays List<String> - rest
Apis List<String>
- dataplane
Relays string[] - rest
Apis string[]
- dataplane_
relays Sequence[str] - rest_
apis Sequence[str]
- dataplane
Relays List<String> - rest
Apis List<String>
Import
-> Note Importing this resource is not currently supported.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
databricks
Terraform Provider.