1. Packages
  2. Packages
  3. Databricks Provider
  4. API Docs
  5. MwsNetworks
Viewing docs for Databricks v0.4.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
databricks logo
Viewing docs for Databricks v0.4.0 (Older version)
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:

    AccountId string
    Account Id that could be found in the bottom left corner of Accounts Console
    NetworkName string
    name under which this network is regisstered
    SecurityGroupIds List<string>
    SubnetIds List<string>
    VpcId string
    CreationTime int
    ErrorMessages List<MwsNetworksErrorMessage>
    NetworkId string
    (String) id of network to be used for databricks_mws_workspace resource.
    VpcEndpoints MwsNetworksVpcEndpoints
    mapping of databricks.MwsVpcEndpoint for PrivateLink connections
    VpcStatus string
    (String) VPC attachment status
    WorkspaceId int
    (Integer) id of associated workspace
    AccountId string
    Account Id that could be found in the bottom left corner of Accounts Console
    NetworkName string
    name under which this network is regisstered
    SecurityGroupIds []string
    SubnetIds []string
    VpcId string
    CreationTime int
    ErrorMessages []MwsNetworksErrorMessageArgs
    NetworkId string
    (String) id of network to be used for databricks_mws_workspace resource.
    VpcEndpoints MwsNetworksVpcEndpointsArgs
    mapping of databricks.MwsVpcEndpoint for PrivateLink connections
    VpcStatus string
    (String) VPC attachment status
    WorkspaceId int
    (Integer) id of associated workspace
    accountId String
    Account Id that could be found in the bottom left corner of Accounts Console
    networkName String
    name under which this network is regisstered
    securityGroupIds List<String>
    subnetIds List<String>
    vpcId String
    creationTime Integer
    errorMessages List<MwsNetworksErrorMessage>
    networkId String
    (String) id of network to be used for databricks_mws_workspace resource.
    vpcEndpoints MwsNetworksVpcEndpoints
    mapping of databricks.MwsVpcEndpoint for PrivateLink connections
    vpcStatus String
    (String) VPC attachment status
    workspaceId Integer
    (Integer) id of associated workspace
    accountId string
    Account Id that could be found in the bottom left corner of Accounts Console
    networkName string
    name under which this network is regisstered
    securityGroupIds string[]
    subnetIds string[]
    vpcId string
    creationTime number
    errorMessages MwsNetworksErrorMessage[]
    networkId string
    (String) id of network to be used for databricks_mws_workspace resource.
    vpcEndpoints MwsNetworksVpcEndpoints
    mapping of databricks.MwsVpcEndpoint for PrivateLink connections
    vpcStatus string
    (String) VPC attachment status
    workspaceId 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_ids Sequence[str]
    subnet_ids Sequence[str]
    vpc_id str
    creation_time int
    error_messages Sequence[MwsNetworksErrorMessageArgs]
    network_id str
    (String) id of network to be used for databricks_mws_workspace resource.
    vpc_endpoints MwsNetworksVpcEndpointsArgs
    mapping of databricks.MwsVpcEndpoint for PrivateLink connections
    vpc_status str
    (String) VPC attachment status
    workspace_id int
    (Integer) id of associated workspace
    accountId String
    Account Id that could be found in the bottom left corner of Accounts Console
    networkName String
    name under which this network is regisstered
    securityGroupIds List<String>
    subnetIds List<String>
    vpcId String
    creationTime Number
    errorMessages List<Property Map>
    networkId String
    (String) id of network to be used for databricks_mws_workspace resource.
    vpcEndpoints Property Map
    mapping of databricks.MwsVpcEndpoint for PrivateLink connections
    vpcStatus String
    (String) VPC attachment status
    workspaceId 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) -> 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)
    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.
    The following state arguments are supported:
    AccountId string
    Account Id that could be found in the bottom left corner of Accounts Console
    CreationTime int
    ErrorMessages List<MwsNetworksErrorMessage>
    NetworkId string
    (String) id of network to be used for databricks_mws_workspace resource.
    NetworkName string
    name under which this network is regisstered
    SecurityGroupIds List<string>
    SubnetIds List<string>
    VpcEndpoints MwsNetworksVpcEndpoints
    mapping of databricks.MwsVpcEndpoint for PrivateLink connections
    VpcId string
    VpcStatus string
    (String) VPC attachment status
    WorkspaceId int
    (Integer) id of associated workspace
    AccountId string
    Account Id that could be found in the bottom left corner of Accounts Console
    CreationTime int
    ErrorMessages []MwsNetworksErrorMessageArgs
    NetworkId string
    (String) id of network to be used for databricks_mws_workspace resource.
    NetworkName string
    name under which this network is regisstered
    SecurityGroupIds []string
    SubnetIds []string
    VpcEndpoints MwsNetworksVpcEndpointsArgs
    mapping of databricks.MwsVpcEndpoint for PrivateLink connections
    VpcId string
    VpcStatus string
    (String) VPC attachment status
    WorkspaceId int
    (Integer) id of associated workspace
    accountId String
    Account Id that could be found in the bottom left corner of Accounts Console
    creationTime Integer
    errorMessages List<MwsNetworksErrorMessage>
    networkId String
    (String) id of network to be used for databricks_mws_workspace resource.
    networkName String
    name under which this network is regisstered
    securityGroupIds List<String>
    subnetIds List<String>
    vpcEndpoints MwsNetworksVpcEndpoints
    mapping of databricks.MwsVpcEndpoint for PrivateLink connections
    vpcId String
    vpcStatus String
    (String) VPC attachment status
    workspaceId Integer
    (Integer) id of associated workspace
    accountId string
    Account Id that could be found in the bottom left corner of Accounts Console
    creationTime number
    errorMessages MwsNetworksErrorMessage[]
    networkId string
    (String) id of network to be used for databricks_mws_workspace resource.
    networkName string
    name under which this network is regisstered
    securityGroupIds string[]
    subnetIds string[]
    vpcEndpoints MwsNetworksVpcEndpoints
    mapping of databricks.MwsVpcEndpoint for PrivateLink connections
    vpcId string
    vpcStatus string
    (String) VPC attachment status
    workspaceId 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[MwsNetworksErrorMessageArgs]
    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_ids Sequence[str]
    subnet_ids Sequence[str]
    vpc_endpoints MwsNetworksVpcEndpointsArgs
    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
    accountId String
    Account Id that could be found in the bottom left corner of Accounts Console
    creationTime Number
    errorMessages List<Property Map>
    networkId String
    (String) id of network to be used for databricks_mws_workspace resource.
    networkName String
    name under which this network is regisstered
    securityGroupIds List<String>
    subnetIds List<String>
    vpcEndpoints Property Map
    mapping of databricks.MwsVpcEndpoint for PrivateLink connections
    vpcId String
    vpcStatus String
    (String) VPC attachment status
    workspaceId Number
    (Integer) id of associated workspace

    Supporting Types

    MwsNetworksErrorMessage, MwsNetworksErrorMessageArgs

    ErrorMessage string
    ErrorType string
    ErrorMessage string
    ErrorType string
    errorMessage String
    errorType String
    errorMessage string
    errorType string
    errorMessage String
    errorType String

    MwsNetworksVpcEndpoints, MwsNetworksVpcEndpointsArgs

    DataplaneRelays List<string>
    RestApis List<string>
    DataplaneRelays []string
    RestApis []string
    dataplaneRelays List<String>
    restApis List<String>
    dataplaneRelays string[]
    restApis string[]
    dataplane_relays Sequence[str]
    rest_apis Sequence[str]
    dataplaneRelays List<String>
    restApis List<String>

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo
    Viewing docs for Databricks v0.4.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.