published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Import
-> Note Importing this resource is not currently supported.
Create MwsNetworks Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MwsNetworks(name: string, args: MwsNetworksArgs, opts?: CustomResourceOptions);@overload
def MwsNetworks(resource_name: str,
args: MwsNetworksArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MwsNetworks(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
network_name: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
subnet_ids: Optional[Sequence[str]] = None,
vpc_id: Optional[str] = None,
creation_time: Optional[int] = None,
error_messages: Optional[Sequence[MwsNetworksErrorMessageArgs]] = None,
network_id: Optional[str] = None,
vpc_endpoints: Optional[MwsNetworksVpcEndpointsArgs] = None,
vpc_status: Optional[str] = None,
workspace_id: Optional[int] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var mwsNetworksResource = new Databricks.MwsNetworks("mwsNetworksResource", new()
{
AccountId = "string",
NetworkName = "string",
SecurityGroupIds = new[]
{
"string",
},
SubnetIds = new[]
{
"string",
},
VpcId = "string",
CreationTime = 0,
ErrorMessages = new[]
{
new Databricks.Inputs.MwsNetworksErrorMessageArgs
{
ErrorMessage = "string",
ErrorType = "string",
},
},
NetworkId = "string",
VpcEndpoints = new Databricks.Inputs.MwsNetworksVpcEndpointsArgs
{
DataplaneRelays = new[]
{
"string",
},
RestApis = new[]
{
"string",
},
},
VpcStatus = "string",
WorkspaceId = 0,
});
example, err := databricks.NewMwsNetworks(ctx, "mwsNetworksResource", &databricks.MwsNetworksArgs{
AccountId: pulumi.String("string"),
NetworkName: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
VpcId: pulumi.String("string"),
CreationTime: pulumi.Int(0),
ErrorMessages: databricks.MwsNetworksErrorMessageArray{
&databricks.MwsNetworksErrorMessageArgs{
ErrorMessage: pulumi.String("string"),
ErrorType: pulumi.String("string"),
},
},
NetworkId: pulumi.String("string"),
VpcEndpoints: &databricks.MwsNetworksVpcEndpointsArgs{
DataplaneRelays: pulumi.StringArray{
pulumi.String("string"),
},
RestApis: pulumi.StringArray{
pulumi.String("string"),
},
},
VpcStatus: pulumi.String("string"),
WorkspaceId: pulumi.Int(0),
})
var mwsNetworksResource = new MwsNetworks("mwsNetworksResource", MwsNetworksArgs.builder()
.accountId("string")
.networkName("string")
.securityGroupIds("string")
.subnetIds("string")
.vpcId("string")
.creationTime(0)
.errorMessages(MwsNetworksErrorMessageArgs.builder()
.errorMessage("string")
.errorType("string")
.build())
.networkId("string")
.vpcEndpoints(MwsNetworksVpcEndpointsArgs.builder()
.dataplaneRelays("string")
.restApis("string")
.build())
.vpcStatus("string")
.workspaceId(0)
.build());
mws_networks_resource = databricks.MwsNetworks("mwsNetworksResource",
account_id="string",
network_name="string",
security_group_ids=["string"],
subnet_ids=["string"],
vpc_id="string",
creation_time=0,
error_messages=[{
"error_message": "string",
"error_type": "string",
}],
network_id="string",
vpc_endpoints={
"dataplane_relays": ["string"],
"rest_apis": ["string"],
},
vpc_status="string",
workspace_id=0)
const mwsNetworksResource = new databricks.MwsNetworks("mwsNetworksResource", {
accountId: "string",
networkName: "string",
securityGroupIds: ["string"],
subnetIds: ["string"],
vpcId: "string",
creationTime: 0,
errorMessages: [{
errorMessage: "string",
errorType: "string",
}],
networkId: "string",
vpcEndpoints: {
dataplaneRelays: ["string"],
restApis: ["string"],
},
vpcStatus: "string",
workspaceId: 0,
});
type: databricks:MwsNetworks
properties:
accountId: string
creationTime: 0
errorMessages:
- errorMessage: string
errorType: string
networkId: string
networkName: string
securityGroupIds:
- string
subnetIds:
- string
vpcEndpoints:
dataplaneRelays:
- string
restApis:
- string
vpcId: string
vpcStatus: string
workspaceId: 0
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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 regisstered
- Security
Group List<string>Ids - Subnet
Ids List<string> - Vpc
Id string - Creation
Time int - Error
Messages List<MwsNetworks Error Message> - Network
Id string - (String) id of network to be used for databricks_mws_workspace resource.
- Vpc
Endpoints MwsNetworks Vpc Endpoints - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- 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 regisstered
- Security
Group []stringIds - Subnet
Ids []string - Vpc
Id string - Creation
Time int - Error
Messages []MwsNetworks Error Message Args - Network
Id string - (String) id of network to be used for databricks_mws_workspace resource.
- Vpc
Endpoints MwsNetworks Vpc Endpoints Args - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- 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 regisstered
- security
Group List<String>Ids - subnet
Ids List<String> - vpc
Id String - creation
Time Integer - error
Messages List<MwsNetworks Error Message> - network
Id String - (String) id of network to be used for databricks_mws_workspace resource.
- vpc
Endpoints MwsNetworks Vpc Endpoints - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- 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 regisstered
- security
Group string[]Ids - subnet
Ids string[] - vpc
Id string - creation
Time number - error
Messages MwsNetworks Error Message[] - network
Id string - (String) id of network to be used for databricks_mws_workspace resource.
- vpc
Endpoints MwsNetworks Vpc Endpoints - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- 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 regisstered
- security_
group_ Sequence[str]ids - subnet_
ids Sequence[str] - vpc_
id str - creation_
time int - error_
messages Sequence[MwsNetworks Error Message Args] - network_
id str - (String) id of network to be used for databricks_mws_workspace resource.
- vpc_
endpoints MwsNetworks Vpc Endpoints Args - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- 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 regisstered
- security
Group List<String>Ids - subnet
Ids List<String> - vpc
Id String - creation
Time Number - error
Messages List<Property Map> - network
Id String - (String) id of network to be used for databricks_mws_workspace resource.
- vpc
Endpoints Property Map - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- 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,
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) -> MwsNetworksfunc 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)resources: _: type: databricks:MwsNetworks get: id: ${id}- 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> - Network
Id string - (String) id of network to be used for databricks_mws_workspace resource.
- Network
Name string - name under which this network is regisstered
- Security
Group List<string>Ids - Subnet
Ids List<string> - Vpc
Endpoints MwsNetworks Vpc Endpoints - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- Vpc
Id string - 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 - Network
Id string - (String) id of network to be used for databricks_mws_workspace resource.
- Network
Name string - name under which this network is regisstered
- Security
Group []stringIds - Subnet
Ids []string - Vpc
Endpoints MwsNetworks Vpc Endpoints Args - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- Vpc
Id string - 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> - network
Id String - (String) id of network to be used for databricks_mws_workspace resource.
- network
Name String - name under which this network is regisstered
- security
Group List<String>Ids - subnet
Ids List<String> - vpc
Endpoints MwsNetworks Vpc Endpoints - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- vpc
Id String - 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[] - network
Id string - (String) id of network to be used for databricks_mws_workspace resource.
- network
Name string - name under which this network is regisstered
- security
Group string[]Ids - subnet
Ids string[] - vpc
Endpoints MwsNetworks Vpc Endpoints - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- vpc
Id string - 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] - network_
id str - (String) id of network to be used for databricks_mws_workspace resource.
- network_
name str - name under which this network is regisstered
- security_
group_ Sequence[str]ids - subnet_
ids Sequence[str] - vpc_
endpoints MwsNetworks Vpc Endpoints Args - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- vpc_
id str - 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> - network
Id String - (String) id of network to be used for databricks_mws_workspace resource.
- network
Name String - name under which this network is regisstered
- security
Group List<String>Ids - subnet
Ids List<String> - vpc
Endpoints Property Map - mapping of databricks.MwsVpcEndpoint for PrivateLink connections
- vpc
Id String - vpc
Status String - (String) VPC attachment status
- workspace
Id Number - (Integer) id of associated workspace
Supporting Types
MwsNetworksErrorMessage, MwsNetworksErrorMessageArgs
- 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
MwsNetworksVpcEndpoints, MwsNetworksVpcEndpointsArgs
- 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>
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricksTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi
