1. Packages
  2. Databricks Provider
  3. API Docs
  4. getMwsNetworkConnectivityConfigs
Databricks v1.63.0 published on Thursday, Mar 13, 2025 by Pulumi

databricks.getMwsNetworkConnectivityConfigs

Explore with Pulumi AI

databricks logo
Databricks v1.63.0 published on Thursday, Mar 13, 2025 by Pulumi

    Note This data source can only be used with an account-level provider!

    Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account.

    Example Usage

    List all network connectivity configurations in Databricks Account

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    
    const _this = databricks.getMwsNetworkConnectivityConfigs({});
    export const all = _this;
    
    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.get_mws_network_connectivity_configs()
    pulumi.export("all", this)
    
    package main
    
    import (
    	"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 {
    		this, err := databricks.GetMwsNetworkConnectivityConfigs(ctx, &databricks.GetMwsNetworkConnectivityConfigsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("all", this)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = Databricks.GetMwsNetworkConnectivityConfigs.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["all"] = @this,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.DatabricksFunctions;
    import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
    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 this = DatabricksFunctions.getMwsNetworkConnectivityConfigs();
    
            ctx.export("all", this_);
        }
    }
    
    variables:
      this:
        fn::invoke:
          function: databricks:getMwsNetworkConnectivityConfigs
          arguments: {}
    outputs:
      all: ${this}
    

    List network connectivity configurations from a specific region in Databricks Account

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    
    const _this = databricks.getMwsNetworkConnectivityConfigs({
        region: "us-east-1",
    });
    export const filtered = _this;
    
    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.get_mws_network_connectivity_configs(region="us-east-1")
    pulumi.export("filtered", this)
    
    package main
    
    import (
    	"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 {
    		this, err := databricks.GetMwsNetworkConnectivityConfigs(ctx, &databricks.GetMwsNetworkConnectivityConfigsArgs{
    			Region: pulumi.StringRef("us-east-1"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("filtered", this)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = Databricks.GetMwsNetworkConnectivityConfigs.Invoke(new()
        {
            Region = "us-east-1",
        });
    
        return new Dictionary<string, object?>
        {
            ["filtered"] = @this,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.DatabricksFunctions;
    import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
    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 this = DatabricksFunctions.getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs.builder()
                .region("us-east-1")
                .build());
    
            ctx.export("filtered", this_);
        }
    }
    
    variables:
      this:
        fn::invoke:
          function: databricks:getMwsNetworkConnectivityConfigs
          arguments:
            region: us-east-1
    outputs:
      filtered: ${this}
    

    The following resources are used in the same context:

    • databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration.
    • databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration.

    Using getMwsNetworkConnectivityConfigs

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMwsNetworkConnectivityConfigs(args: GetMwsNetworkConnectivityConfigsArgs, opts?: InvokeOptions): Promise<GetMwsNetworkConnectivityConfigsResult>
    function getMwsNetworkConnectivityConfigsOutput(args: GetMwsNetworkConnectivityConfigsOutputArgs, opts?: InvokeOptions): Output<GetMwsNetworkConnectivityConfigsResult>
    def get_mws_network_connectivity_configs(names: Optional[Sequence[str]] = None,
                                             region: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetMwsNetworkConnectivityConfigsResult
    def get_mws_network_connectivity_configs_output(names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                             region: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetMwsNetworkConnectivityConfigsResult]
    func GetMwsNetworkConnectivityConfigs(ctx *Context, args *GetMwsNetworkConnectivityConfigsArgs, opts ...InvokeOption) (*GetMwsNetworkConnectivityConfigsResult, error)
    func GetMwsNetworkConnectivityConfigsOutput(ctx *Context, args *GetMwsNetworkConnectivityConfigsOutputArgs, opts ...InvokeOption) GetMwsNetworkConnectivityConfigsResultOutput

    > Note: This function is named GetMwsNetworkConnectivityConfigs in the Go SDK.

    public static class GetMwsNetworkConnectivityConfigs 
    {
        public static Task<GetMwsNetworkConnectivityConfigsResult> InvokeAsync(GetMwsNetworkConnectivityConfigsArgs args, InvokeOptions? opts = null)
        public static Output<GetMwsNetworkConnectivityConfigsResult> Invoke(GetMwsNetworkConnectivityConfigsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMwsNetworkConnectivityConfigsResult> getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs args, InvokeOptions options)
    public static Output<GetMwsNetworkConnectivityConfigsResult> getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Names List<string>
    List of names of databricks_mws_network_connectivity_config
    Region string
    Filter network connectivity configurations by region.
    Names []string
    List of names of databricks_mws_network_connectivity_config
    Region string
    Filter network connectivity configurations by region.
    names List<String>
    List of names of databricks_mws_network_connectivity_config
    region String
    Filter network connectivity configurations by region.
    names string[]
    List of names of databricks_mws_network_connectivity_config
    region string
    Filter network connectivity configurations by region.
    names Sequence[str]
    List of names of databricks_mws_network_connectivity_config
    region str
    Filter network connectivity configurations by region.
    names List<String>
    List of names of databricks_mws_network_connectivity_config
    region String
    Filter network connectivity configurations by region.

    getMwsNetworkConnectivityConfigs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Names List<string>
    List of names of databricks_mws_network_connectivity_config
    Region string
    Id string
    The provider-assigned unique ID for this managed resource.
    Names []string
    List of names of databricks_mws_network_connectivity_config
    Region string
    id String
    The provider-assigned unique ID for this managed resource.
    names List<String>
    List of names of databricks_mws_network_connectivity_config
    region String
    id string
    The provider-assigned unique ID for this managed resource.
    names string[]
    List of names of databricks_mws_network_connectivity_config
    region string
    id str
    The provider-assigned unique ID for this managed resource.
    names Sequence[str]
    List of names of databricks_mws_network_connectivity_config
    region str
    id String
    The provider-assigned unique ID for this managed resource.
    names List<String>
    List of names of databricks_mws_network_connectivity_config
    region 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
    Databricks v1.63.0 published on Thursday, Mar 13, 2025 by Pulumi